Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (define-module (ddev)
- #:use-module (guix packages)
- #:use-module (guix build-system gnu)
- #:use-module (guix licenses)
- #:use-module (guix git-download)
- #:use-module (gnu packages networking)
- #:use-module (gnu packages golang)
- ;; how to add go as a native dep?
- #:use-module (gnu packages docker)
- )
- ;; Losthope of compiling the ddev package
- ;; This is the try of creating bin version of a package
- (define-public ddev-bin
- (package
- (name "ddev-bin")
- (version "1.10.2")
- (source (origin
- ;; (method git-fetch)
- ;; (uri (git-reference
- ;; (url "https://github.com/drud/ddev.git")
- ;; (commit (string-append "v" version))))
- ;; (file-name (git-file-name name version))
- (method url-fetch)
- (uri (string-append "https://github.com/drud/ddev/releases/tag/v1.10.2/ddev-" version ".x86_64_linux.bottle.tar.gz" )) ;;ddev-1.10.2.x86_64_linux.bottle.tar.gz ;; https://github.com/drud/ddev/releases/tag/v1.10.2
- (sha256
- (base32 "a69f208edf661ad549043a76dbf69eb5a51ce3b849ef80f5e02f746b564f96d4")
- ;; (base32 "19ay7v9lw9x09l8rjd7kp10wiyjkcav5f8h224x7jc6vlli5j9xi")
- )
- )
- )
- (build-system gnu-build-system)
- (arguments
- `(#:tests? #f
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (delete 'check))
- ))
- (inputs
- `(("docker" ,docker)
- ("docker-compose" ,docker-compose)
- )
- )
- (native-inputs
- `(("go" ,go))
- )
- (home-page "https://github.com/drud/ddev")
- (synopsis "ddev is an open source tool that makes it simple to get local PHP development environments up and running in minutes.")
- (description "It's powerful and flexible as a result of its per-project environment configurations, which can be extended, version controlled, and shared. In short, ddev aims to allow development teams to use Docker in their workflow without the complexities of bespoke configuration.")
- (license asl2.0)))
- ddev-bin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement