forked from mirrors/nixpkgs
libpwquality: 1.3.0 -> 1.4.0
This commit is contained in:
parent
45035b74df
commit
17026869c8
|
@ -1,17 +1,23 @@
|
||||||
{ stdenv, fetchurl, cracklib, python }:
|
{ stdenv, lib, fetchFromGitHub, autoreconfHook, perl, cracklib, python }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libpwquality-${version}";
|
name = "libpwquality-${version}";
|
||||||
version = "1.3.0";
|
version = "1.4.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://fedorahosted.org/releases/l/i/libpwquality/${name}.tar.bz2";
|
owner = "libpwquality";
|
||||||
sha256 = "0aidriag6h0syfm33nzdfdsqgrnsgihwjv3a5lgkqch3w68fmlkl";
|
repo = "libpwquality";
|
||||||
|
rev = name;
|
||||||
|
sha256 = "0k564hj2q13z5ag8cj6rnkzm1na7001k4chz4f736p6aqvspv0bd";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook perl ];
|
||||||
buildInputs = [ cracklib python ];
|
buildInputs = [ cracklib python ];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
platforms = stdenv.lib.platforms.linux;
|
description = "Password quality checking and random password generation library";
|
||||||
|
homepage = "https://github.com/libpwquality/libpwquality";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue