mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
perlPackages.CryptHSXKPasswd: fix deps and shebang for Darwin
This commit is contained in:
parent
b31b994ff4
commit
e4ae0ebfbb
|
@ -4954,7 +4954,12 @@ with self; {
|
|||
url = "mirror://cpan/authors/id/B/BA/BARTB/Crypt-HSXKPasswd-v3.6.tar.gz";
|
||||
hash = "sha256-lZ3MX58BG/ALha0i31ZrerK/XqHTYrDeD7WuKfvEWLM=";
|
||||
};
|
||||
buildInputs = [ Clone DateTime FileHomeDir FileShare FileShareDir GetoptLong JSON ListMoreUtils MathRound Readonly TextUnidecode TypeTiny ];
|
||||
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||
propagatedBuildInputs = [ Clone DateTime FileHomeDir FileShare FileShareDir GetoptLong JSON ListMoreUtils MathRound Readonly TextUnidecode TypeTiny ];
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
shortenPerlShebang $out/bin/hsxkpasswd
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A secure memorable password generator";
|
||||
homepage = "http://www.bartb.ie/hsxkpasswd";
|
||||
|
|
Loading…
Reference in a new issue