[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/05: gnu: mypaint-brushes: Fetch source from git.
From: |
Ricardo Wurmus |
Subject: |
05/05: gnu: mypaint-brushes: Fetch source from git. |
Date: |
Tue, 29 May 2018 17:25:07 -0400 (EDT) |
rekado pushed a commit to branch core-updates
in repository guix.
commit e5bbfc7df0a99faa1bb1cf28114363205c166cef
Author: Ricardo Wurmus <address@hidden>
Date: Tue May 29 23:13:25 2018 +0200
gnu: mypaint-brushes: Fetch source from git.
* gnu/packages/gimp.scm (mypaint-brushes)[source]: Fetch source from git.
---
gnu/packages/gimp.scm | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index 15a90e1..628d285 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -23,6 +23,7 @@
(define-module (gnu packages gimp)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system gnu)
@@ -275,13 +276,14 @@ brushstrokes which is used by MyPaint and GIMP.")
(name "mypaint-brushes")
(version "1.3.0")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/Jehan/mypaint-brushes/"
- "archive/v" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Jehan/mypaint-brushes.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "055j2rgkav2024zl6y5hxb2ra0vbx58607d6sz7ml2351r1bcjvh"))))
+ "1iz89z6v2mp8j1lrf942k561s8311i3s34ap36wh4rybb2lq15m0"))))
(build-system gnu-build-system)
(arguments
`(#:phases