opencryptoki: 3.23.0 -> 3.24.0 (#408851)

authored by Gaétan Lepage and committed by GitHub f7bf5747 4a21b00b

+14 -12
+14 -12
pkgs/by-name/op/opencryptoki/package.nix
··· 9 openssl, 10 trousers, 11 libcap, 12 }: 13 14 - stdenv.mkDerivation rec { 15 pname = "opencryptoki"; 16 - version = "3.23.0"; 17 18 src = fetchFromGitHub { 19 owner = "opencryptoki"; 20 repo = "opencryptoki"; 21 - rev = "v${version}"; 22 - hash = "sha256-5FcvwGTzsL0lYrSYGlbSY89s6OKzg+2TRlwHlJjdzXo="; 23 }; 24 25 nativeBuildInputs = [ 26 autoreconfHook 27 bison 28 flex 29 ]; 30 31 buildInputs = [ ··· 37 38 postPatch = '' 39 substituteInPlace configure.ac \ 40 --replace-fail "usermod" "true" \ 41 --replace-fail "useradd" "true" \ 42 --replace-fail "groupadd" "true" \ ··· 53 54 enableParallelBuilding = true; 55 56 - installFlags = [ 57 - "DESTDIR=${placeholder "out"}" 58 - ]; 59 60 - meta = with lib; { 61 - changelog = "https://github.com/opencryptoki/opencryptoki/blob/${src.rev}/ChangeLog"; 62 description = "PKCS#11 implementation for Linux"; 63 homepage = "https://github.com/opencryptoki/opencryptoki"; 64 - license = licenses.cpl10; 65 maintainers = [ ]; 66 - platforms = platforms.unix; 67 }; 68 - }
··· 9 openssl, 10 trousers, 11 libcap, 12 + getent, 13 }: 14 15 + stdenv.mkDerivation (finalAttrs: { 16 pname = "opencryptoki"; 17 + version = "3.24.0"; 18 19 src = fetchFromGitHub { 20 owner = "opencryptoki"; 21 repo = "opencryptoki"; 22 + tag = "v${finalAttrs.version}"; 23 + hash = "sha256-GIcUI5Gjk+whwlD9dBiB2N7q6sPYFnhj5VvyQvc2Z2A="; 24 }; 25 26 nativeBuildInputs = [ 27 autoreconfHook 28 bison 29 flex 30 + getent 31 ]; 32 33 buildInputs = [ ··· 39 40 postPatch = '' 41 substituteInPlace configure.ac \ 42 + --replace-fail "/usr/sbin/" "" \ 43 + --replace-fail "/bin/" "" \ 44 --replace-fail "usermod" "true" \ 45 --replace-fail "useradd" "true" \ 46 --replace-fail "groupadd" "true" \ ··· 57 58 enableParallelBuilding = true; 59 60 + installFlags = [ "DESTDIR=${placeholder "out"}" ]; 61 62 + meta = { 63 + changelog = "https://github.com/opencryptoki/opencryptoki/blob/v${finalAttrs.version}/ChangeLog"; 64 description = "PKCS#11 implementation for Linux"; 65 homepage = "https://github.com/opencryptoki/opencryptoki"; 66 + license = lib.licenses.cpl10; 67 maintainers = [ ]; 68 + platforms = lib.platforms.unix; 69 }; 70 + })