liboqs: 0.11.0 -> 0.12.0, add nix-update-script (#375151)
This commit is contained in:
@@ -6,17 +6,18 @@
|
||||
openssl,
|
||||
fetchpatch,
|
||||
enableStatic ? stdenv.hostPlatform.isStatic,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "liboqs";
|
||||
version = "0.11.0";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-quantum-safe";
|
||||
repo = "liboqs";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-+Gx1JPrJoeMix9DIF0rJQTivxN1lgaCIYFvJ1pnYZzM=";
|
||||
hash = "sha256-ngjN1JdmnvMn+UXJeCiBwF1Uf7kTOjHVBL99xzoZVFY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -46,6 +47,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"dev"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "C library for prototyping and experimenting with quantum-resistant cryptography";
|
||||
homepage = "https://openquantumsafe.org";
|
||||
|
||||
Reference in New Issue
Block a user