nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 32 lines 660 B view raw
1{ 2 lib, 3 stdenv, 4 whois, 5 libxcrypt, 6 perl, 7 pkg-config, 8}: 9 10stdenv.mkDerivation { 11 pname = "mkpasswd"; 12 inherit (whois) version src patches; 13 14 nativeBuildInputs = [ 15 perl 16 pkg-config 17 ]; 18 buildInputs = [ libxcrypt ]; 19 20 inherit (whois) preConfigure; 21 buildPhase = "make mkpasswd"; 22 installPhase = "make install-mkpasswd"; 23 24 meta = with lib; { 25 homepage = "https://packages.qa.debian.org/w/whois.html"; 26 description = "Overfeatured front-end to crypt, from the Debian whois package"; 27 mainProgram = "mkpasswd"; 28 license = licenses.gpl2Plus; 29 maintainers = with maintainers; [ fpletz ]; 30 platforms = platforms.unix; 31 }; 32}