2013-02-27 11:14:09 +00:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mkpasswd-${version}";
|
|
|
|
|
2014-01-30 11:28:57 +00:00
|
|
|
version = "5.1.1";
|
2013-02-27 11:14:09 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.debian.org/debian/pool/main/w/whois/whois_${version}.tar.xz";
|
2014-01-30 11:28:57 +00:00
|
|
|
sha256 = "0i06a9mb9qcq272782mg6dffv3k7bqkw4cdr31yrc0s6jqylryv9";
|
2013-02-27 11:14:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace Makefile --replace "prefix = /usr" "prefix = $out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildPhase = "make mkpasswd";
|
|
|
|
|
|
|
|
installPhase = "make install-mkpasswd";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://ftp.debian.org/debian/pool/main/w/whois/;
|
|
|
|
description = ''
|
|
|
|
Overfeatured front end to crypt, from the Debian whois package.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|