libblake3: split dev outputs from runtime (#417077)

This commit is contained in:
Sandro
2025-06-24 19:02:43 +02:00
committed by GitHub
3 changed files with 7 additions and 4 deletions
+5
View File
@@ -13,6 +13,11 @@ stdenv.mkDerivation (finalAttrs: {
pname = "libblake3";
version = "1.8.2";
outputs = [
"out"
"dev"
];
src = fetchFromGitHub {
owner = "BLAKE3-team";
repo = "BLAKE3";
@@ -111,7 +111,7 @@ let
"shadowstack"
] ++ lib.optional stdenv.hostPlatform.isMusl "fortify";
nativeInstallCheckInputs = lib.optional atLeast224 [
nativeInstallCheckInputs = lib.optionals atLeast224 [
git
man
];
@@ -27,9 +27,7 @@ mkMesonLibrary (finalAttrs: {
[
brotli
]
++ lib.optional (lib.versionAtLeast version "2.27") [
libblake3
]
++ lib.optional (lib.versionAtLeast version "2.27") libblake3
++ [
libsodium
openssl