about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/pamtester/default.nix
blob: 7261be60f77f64cf89f39b9f888cb3e91bcb7c50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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 ];
  };
}