gnu: mypaint-brushes: Fetch source from git.

* gnu/packages/gimp.scm (mypaint-brushes)[source]: Fetch source from git.
This commit is contained in:
Ricardo Wurmus 2018-05-29 23:13:25 +02:00
parent 5686be393b
commit e5bbfc7df0
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 7 additions and 5 deletions

View File

@ -23,6 +23,7 @@
(define-module (gnu packages gimp) (define-module (gnu packages gimp)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
@ -275,13 +276,14 @@ brushstrokes which is used by MyPaint and GIMP.")
(name "mypaint-brushes") (name "mypaint-brushes")
(version "1.3.0") (version "1.3.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/Jehan/mypaint-brushes/" (uri (git-reference
"archive/v" version ".tar.gz")) (url "https://github.com/Jehan/mypaint-brushes.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"055j2rgkav2024zl6y5hxb2ra0vbx58607d6sz7ml2351r1bcjvh")))) "1iz89z6v2mp8j1lrf942k561s8311i3s34ap36wh4rybb2lq15m0"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases