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