nixpkgs/pkgs/development/libraries/libpwquality/default.nix

18 lines
399 B
Nix
Raw Normal View History

2016-05-03 02:11:44 +00:00
{ stdenv, fetchurl, cracklib, python }:
stdenv.mkDerivation rec {
2016-05-03 02:11:44 +00:00
name = "libpwquality-${version}";
version = "1.3.0";
src = fetchurl {
url = "https://fedorahosted.org/releases/l/i/libpwquality/${name}.tar.bz2";
2016-05-03 02:11:44 +00:00
sha256 = "0aidriag6h0syfm33nzdfdsqgrnsgihwjv3a5lgkqch3w68fmlkl";
};
buildInputs = [ cracklib python ];
meta = {
platforms = stdenv.lib.platforms.linux;
};
}