nixpkgs/pkgs/tools/security/pamtester/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

23 lines
582 B
Nix

{ 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 ];
};
}