mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
pam_p11: 0.3.1 -> 0.6.1
This commit is contained in:
@@ -12,26 +12,15 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "pam_p11";
|
||||
version = "0.3.1";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenSC";
|
||||
repo = "pam_p11";
|
||||
rev = "pam_p11-${finalAttrs.version}";
|
||||
sha256 = "1caidy18rq5zk82d51x8vwidmkhwmanf3qm25x1yrdlbhxv6m7lk";
|
||||
hash = "sha256-BYpZM+j0F5qtbkNdAk2qAczGTBlXe87FLBzKwp7fw7U=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix with openssl 3.x
|
||||
# https://github.com/OpenSC/pam_p11/pull/22
|
||||
(fetchpatch {
|
||||
name = "OpenSC-pam_p11-pull-22.patch";
|
||||
url = "https://github.com/OpenSC/pam_p11/compare/cd4eba2e921e1c2f93cde71922a76af99376246c...debd4f7acfaf998cfe4002e0be5c35ad9a9591b5.patch";
|
||||
excludes = [ ".github/build.sh" ];
|
||||
hash = "sha256-bm/agnBgvrr8L8yoGK4gzBqOGgsNWf9NIgcNJG7proE=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
|
||||
Reference in New Issue
Block a user