diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2014-05-16 22:07:29 -0400 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2014-05-20 23:07:15 -0500 |
commit | e5eed8f664891e7337c1c70a654930617da4247b (patch) | |
tree | 4ce93cc522e0cbd92a526aadc6ceb4ec577d30da /pkgs/tools/security | |
parent | 1b0b0d3bb2c28a08481a35decc943873604e961a (diff) | |
download | nixlib-e5eed8f664891e7337c1c70a654930617da4247b.tar nixlib-e5eed8f664891e7337c1c70a654930617da4247b.tar.gz nixlib-e5eed8f664891e7337c1c70a654930617da4247b.tar.bz2 nixlib-e5eed8f664891e7337c1c70a654930617da4247b.tar.lz nixlib-e5eed8f664891e7337c1c70a654930617da4247b.tar.xz nixlib-e5eed8f664891e7337c1c70a654930617da4247b.tar.zst nixlib-e5eed8f664891e7337c1c70a654930617da4247b.zip |
fix mkpasswd: use the git repository
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/mkpasswd/default.nix | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/pkgs/tools/security/mkpasswd/default.nix b/pkgs/tools/security/mkpasswd/default.nix index 624fcdbe6c6a..1df8c1a62d2b 100644 --- a/pkgs/tools/security/mkpasswd/default.nix +++ b/pkgs/tools/security/mkpasswd/default.nix @@ -1,14 +1,15 @@ -{ stdenv, fetchurl -}: +{ stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { name = "mkpasswd-${version}"; version = "5.1.1"; - src = fetchurl { - url = "http://ftp.debian.org/debian/pool/main/w/whois/whois_${version}.tar.xz"; - sha256 = "0i06a9mb9qcq272782mg6dffv3k7bqkw4cdr31yrc0s6jqylryv9"; + src = fetchFromGitHub { + owner = "rfc1036"; + repo = "whois"; + rev = "v${version}"; + sha256 = "026x8byx8pcpkdxca64368p0nlspk4phw18jg4p04di6cg6nc1m5"; }; preConfigure = '' @@ -19,10 +20,12 @@ stdenv.mkDerivation rec { installPhase = "make install-mkpasswd"; - meta = { - homepage = http://ftp.debian.org/debian/pool/main/w/whois/; + meta = with stdenv.lib; { + homepage = http://packages.qa.debian.org/w/whois.html; description = '' - Overfeatured front end to crypt, from the Debian whois package. + Overfeatured front end to crypt, from the Debian whois package ''; + license = licenses.gpl2; + maintainers = with maintainers; [ cstrahan ]; }; } |