fix mkpasswd: use the git repository
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
1b0b0d3bb2
commit
e5eed8f664
@ -1,14 +1,15 @@
|
|||||||
{ stdenv, fetchurl
|
{ stdenv, fetchFromGitHub }:
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mkpasswd-${version}";
|
name = "mkpasswd-${version}";
|
||||||
|
|
||||||
version = "5.1.1";
|
version = "5.1.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://ftp.debian.org/debian/pool/main/w/whois/whois_${version}.tar.xz";
|
owner = "rfc1036";
|
||||||
sha256 = "0i06a9mb9qcq272782mg6dffv3k7bqkw4cdr31yrc0s6jqylryv9";
|
repo = "whois";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "026x8byx8pcpkdxca64368p0nlspk4phw18jg4p04di6cg6nc1m5";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
@ -19,10 +20,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installPhase = "make install-mkpasswd";
|
installPhase = "make install-mkpasswd";
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://ftp.debian.org/debian/pool/main/w/whois/;
|
homepage = http://packages.qa.debian.org/w/whois.html;
|
||||||
description = ''
|
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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user