1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 20:12:52 +00:00
nixpkgs/pkgs/development/libraries/libpwquality/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

24 lines
652 B
Nix

{ stdenv, lib, fetchFromGitHub, autoreconfHook, perl, cracklib, python }:
stdenv.mkDerivation rec {
name = "libpwquality-${version}";
version = "1.4.0";
src = fetchFromGitHub {
owner = "libpwquality";
repo = "libpwquality";
rev = name;
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;
};
}