diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-11-11 11:21:55 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-11-11 11:21:55 +0100 |
commit | d212ed2f00e6639c95b4185685617285c8cafdfd (patch) | |
tree | b4a1d21607cef257a84671393694263bd3eb37b7 /gnu/packages/rdf.scm | |
parent | 2cabd29323382d72cc3bc5f21a81c293df84ea3f (diff) | |
download | gnu-guix-d212ed2f00e6639c95b4185685617285c8cafdfd.tar gnu-guix-d212ed2f00e6639c95b4185685617285c8cafdfd.tar.gz |
gnu: lrdf: Fetch sources from git.
* gnu/packages/rdf.scm (lrdf)[source]: Fetch from git.
Diffstat (limited to 'gnu/packages/rdf.scm')
-rw-r--r-- | gnu/packages/rdf.scm | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm index 48dc3cddb9..e48a4fb08c 100644 --- a/gnu/packages/rdf.scm +++ b/gnu/packages/rdf.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr> -;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2015, 2016, 2018 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; ;;; This file is part of GNU Guix. @@ -22,6 +22,7 @@ #:use-module ((guix licenses) #:select (non-copyleft isc gpl2 lgpl2.1 lgpl2.1+)) #:use-module (guix packages) + #:use-module (guix git-download) #:use-module (guix download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) @@ -122,13 +123,14 @@ Java Lucene text search engine API to C++.") (name "lrdf") (version "0.6.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/swh/LRDF/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/swh/LRDF.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1vxii4mlcpyi16dizcmnqfl2j9gffgr986yd8ic67hvs8xy42yfm")))) + "00wzkfb8y0aqd519ypz067cq099dpc89w69zw8ln39vl6f9x2pd4")))) (build-system gnu-build-system) (arguments '(#:phases |