depot/third_party/nixpkgs/pkgs/tools/security/pamtester/default.nix

23 lines
582 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pam }:
stdenv.mkDerivation rec {
pname = "pamtester";
version = "0.1.2";
src = fetchurl {
url = "mirror://sourceforge/pamtester/pamtester-${version}.tar.gz";
sha256 = "1mdj1wj0adcnx354fs17928yn2xfr1hj5mfraq282dagi873sqw3";
};
buildInputs = [ pam ];
meta = with lib; {
description = "Utility program to test the PAM facility";
mainProgram = "pamtester";
homepage = "https://pamtester.sourceforge.net/";
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}