mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
c-blosc2: add cmake-config and propagate buildInputs
This commit is contained in:
parent
e4ab873cc1
commit
bb3d46c994
3 changed files with 18 additions and 16 deletions
|
@ -11,7 +11,6 @@
|
||||||
python3Packages,
|
python3Packages,
|
||||||
mpi,
|
mpi,
|
||||||
bzip2,
|
bzip2,
|
||||||
lz4,
|
|
||||||
c-blosc2,
|
c-blosc2,
|
||||||
hdf5-mpi,
|
hdf5-mpi,
|
||||||
libfabric,
|
libfabric,
|
||||||
|
@ -22,8 +21,6 @@
|
||||||
zeromq,
|
zeromq,
|
||||||
zfp,
|
zfp,
|
||||||
zlib,
|
zlib,
|
||||||
zlib-ng,
|
|
||||||
zstd,
|
|
||||||
ucx,
|
ucx,
|
||||||
yaml-cpp,
|
yaml-cpp,
|
||||||
nlohmann_json,
|
nlohmann_json,
|
||||||
|
@ -69,7 +66,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
[
|
[
|
||||||
mpi
|
mpi
|
||||||
bzip2
|
bzip2
|
||||||
lz4
|
|
||||||
c-blosc2
|
c-blosc2
|
||||||
(hdf5-mpi.override { inherit mpi; })
|
(hdf5-mpi.override { inherit mpi; })
|
||||||
libfabric
|
libfabric
|
||||||
|
@ -80,8 +76,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
zeromq
|
zeromq
|
||||||
zfp
|
zfp
|
||||||
zlib
|
zlib
|
||||||
zlib-ng # required by c-blocs2
|
|
||||||
zstd # required by c-blocs2
|
|
||||||
yaml-cpp
|
yaml-cpp
|
||||||
nlohmann_json
|
nlohmann_json
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = [
|
propagatedBuildInputs = [
|
||||||
lz4
|
lz4
|
||||||
zlib
|
zlib
|
||||||
zstd
|
zstd
|
||||||
|
@ -54,15 +54,19 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
doCheck = !static;
|
doCheck = !static;
|
||||||
|
|
||||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
passthru.tests = {
|
||||||
|
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||||
|
cmake-config = testers.hasCmakeConfigModules {
|
||||||
|
moduleNames = [ "Blosc2" ];
|
||||||
|
package = finalAttrs.finalPackage;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Blocking, shuffling and loss-less compression library";
|
description = "Blocking, shuffling and loss-less compression library";
|
||||||
homepage = "https://www.blosc.org";
|
homepage = "https://www.blosc.org";
|
||||||
changelog = "https://github.com/Blosc/c-blosc/releases/tag/v${finalAttrs.version}";
|
changelog = "https://github.com/Blosc/c-blosc/releases/tag/v${finalAttrs.version}";
|
||||||
pkgConfigModules = [
|
pkgConfigModules = [ "blosc2" ];
|
||||||
"blosc"
|
|
||||||
];
|
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = with maintainers; [ ris ];
|
maintainers = with maintainers; [ ris ];
|
||||||
|
|
|
@ -33,7 +33,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = [
|
propagatedBuildInputs = [
|
||||||
lz4
|
lz4
|
||||||
zlib-ng
|
zlib-ng
|
||||||
zstd
|
zstd
|
||||||
|
@ -56,15 +56,19 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
# possibly https://github.com/Blosc/c-blosc2/issues/432
|
# possibly https://github.com/Blosc/c-blosc2/issues/432
|
||||||
enableParallelChecking = false;
|
enableParallelChecking = false;
|
||||||
|
|
||||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
passthru.tests = {
|
||||||
|
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||||
|
cmake-config = testers.hasCmakeConfigModules {
|
||||||
|
moduleNames = [ "Blosc2" ];
|
||||||
|
package = finalAttrs.finalPackage;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Fast, compressed, persistent binary data store library for C";
|
description = "Fast, compressed, persistent binary data store library for C";
|
||||||
homepage = "https://www.blosc.org";
|
homepage = "https://www.blosc.org";
|
||||||
changelog = "https://github.com/Blosc/c-blosc2/releases/tag/v${finalAttrs.version}";
|
changelog = "https://github.com/Blosc/c-blosc2/releases/tag/v${finalAttrs.version}";
|
||||||
pkgConfigModules = [
|
pkgConfigModules = [ "blosc2" ];
|
||||||
"blosc2"
|
|
||||||
];
|
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = with maintainers; [ ris ];
|
maintainers = with maintainers; [ ris ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue