c-blosc: partially revert "c-blosc2: add cmake-config and propagate buildInputs"
partially revert commit https://github.com/NixOS/nixpkgs/commit/bb3d46c9943623f078d3fcd46a336b3c5d9346c0. c-blosc does not provide a *cmake.config module and should not propagate lz4, zlib, zstd.
This commit is contained in:
@@ -33,7 +33,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
buildInputs = [
|
||||
lz4
|
||||
zlib
|
||||
zstd
|
||||
@@ -54,19 +54,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
doCheck = !static;
|
||||
|
||||
passthru.tests = {
|
||||
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
cmake-config = testers.hasCmakeConfigModules {
|
||||
moduleNames = [ "Blosc2" ];
|
||||
package = finalAttrs.finalPackage;
|
||||
};
|
||||
};
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Blocking, shuffling and loss-less compression library";
|
||||
homepage = "https://www.blosc.org";
|
||||
changelog = "https://github.com/Blosc/c-blosc/releases/tag/v${finalAttrs.version}";
|
||||
pkgConfigModules = [ "blosc2" ];
|
||||
pkgConfigModules = [ "blosc" ];
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ris ];
|
||||
|
||||
Reference in New Issue
Block a user