Add mkpasswd, an overfeatured front end to crypt
This commit is contained in:
parent
80dc8df25d
commit
ad76386ff7
28
pkgs/tools/security/mkpasswd/default.nix
Normal file
28
pkgs/tools/security/mkpasswd/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv, fetchurl
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "mkpasswd-${version}";
|
||||||
|
|
||||||
|
version = "5.0.20";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://ftp.debian.org/debian/pool/main/w/whois/whois_${version}.tar.xz";
|
||||||
|
sha256 = "1kwf5pwc7w8dw40nrd4m4637mz7pbhc4c1v78j56nqj38sak50w1";
|
||||||
|
};
|
||||||
|
|
||||||
|
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.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
@ -1122,6 +1122,8 @@ let
|
|||||||
|
|
||||||
mkcue = callPackage ../tools/cd-dvd/mkcue { };
|
mkcue = callPackage ../tools/cd-dvd/mkcue { };
|
||||||
|
|
||||||
|
mkpasswd = callPackage ../tools/security/mkpasswd { };
|
||||||
|
|
||||||
mktemp = callPackage ../tools/security/mktemp { };
|
mktemp = callPackage ../tools/security/mktemp { };
|
||||||
|
|
||||||
modemmanager = callPackage ../tools/networking/modemmanager {};
|
modemmanager = callPackage ../tools/networking/modemmanager {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user