mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
24 lines
659 B
Nix
24 lines
659 B
Nix
{ stdenv, lib, fetchFromGitHub, autoreconfHook, perl, cracklib, python }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libpwquality";
|
|
version = "1.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "libpwquality";
|
|
repo = "libpwquality";
|
|
rev = "${pname}-${version}";
|
|
sha256 = "0k564hj2q13z5ag8cj6rnkzm1na7001k4chz4f736p6aqvspv0bd";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook perl ];
|
|
buildInputs = [ cracklib python ];
|
|
|
|
meta = with lib; {
|
|
description = "Password quality checking and random password generation library";
|
|
homepage = https://github.com/libpwquality/libpwquality;
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|