mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #316046 from reckenrode/openpam-update
openpam: update and move to by-name
This commit is contained in:
commit
15186ba041
31
pkgs/by-name/op/openpam/package.nix
Normal file
31
pkgs/by-name/op/openpam/package.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
autoreconfHook,
|
||||
pkg-config,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "openpam";
|
||||
version = "20230627";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/openpam/openpam/Ximenia/openpam-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-DZrI9bVaYkH1Bz8T7/HpVGFCLEWsGjBEXX4QaOkdtP0=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.openpam.org";
|
||||
description = "Open source PAM library that focuses on simplicity, correctness, and cleanliness";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ matthewbauer ];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
})
|
@ -1,19 +0,0 @@
|
||||
{ stdenv, fetchurl, lib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openpam";
|
||||
version = "20170430";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/openpam/openpam/Resedacea/${pname}-${version}.tar.gz";
|
||||
sha256 = "0pz8kf9mxj0k8yp8jgmhahddz58zv2b7gnyjwng75xgsx4i55xi2";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.openpam.org";
|
||||
description = "Open source PAM library that focuses on simplicity, correctness, and cleanliness";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ matthewbauer ];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
@ -27528,8 +27528,6 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
openpam = callPackage ../development/libraries/openpam { };
|
||||
|
||||
openbsm = callPackage ../development/libraries/openbsm { };
|
||||
|
||||
pagemon = callPackage ../os-specific/linux/pagemon { };
|
||||
|
Loading…
Reference in New Issue
Block a user