mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
2258b21e4b
Build-tested on x86_64 Linux and on Darwin.
18 lines
399 B
Nix
18 lines
399 B
Nix
{ stdenv, fetchurl, cracklib, python }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libpwquality-${version}";
|
|
version = "1.3.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://fedorahosted.org/releases/l/i/libpwquality/${name}.tar.bz2";
|
|
sha256 = "0aidriag6h0syfm33nzdfdsqgrnsgihwjv3a5lgkqch3w68fmlkl";
|
|
};
|
|
|
|
buildInputs = [ cracklib python ];
|
|
|
|
meta = {
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|