gnu: shadow: Take the source from Git.

* gnu/packages/admin.scm (shadow)[source]: Use the git repo.
This commit is contained in:
Ludovic Courtès 2014-04-04 22:04:00 +02:00
parent 9c333da6f1
commit aaff68eed3
1 changed files with 8 additions and 5 deletions

View File

@ -22,6 +22,7 @@
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
@ -164,13 +165,15 @@ client and server, a telnet client and server, and an rsh client and server.")
(name "shadow") (name "shadow")
(version "4.1.5.1") (version "4.1.5.1")
(source (origin (source (origin
(method url-fetch) ;; Shadow has no real upstream, and not even tarballs.
(uri (string-append ;; See <https://lists.gnu.org/archive/html/guix-devel/2014-03/msg00233.html>.
"http://pkg-shadow.alioth.debian.org/releases/shadow-" (method git-fetch)
version ".tar.bz2")) (uri (git-reference
(url "git://git.debian.org/git/pkg-shadow/shadow")
(commit (string-append "upstream/" version))))
(sha256 (sha256
(base32 (base32
"1yvqx57vzih0jdy3grir8vfbkxp0cl0myql37bnmi2yn90vk6cma")))) "1xx85d83kmacmjzqbamgydcjkwsqd5fi1s2wgwx6myq5wa39qx0n"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(;; Assume System V `setpgrp (void)', which is the default on GNU '(;; Assume System V `setpgrp (void)', which is the default on GNU