2017-05-06 09:44:23 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "c-blosc";
|
2020-04-01 10:14:15 +01:00
|
|
|
version = "1.18.1";
|
2017-05-06 09:44:23 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Blosc";
|
|
|
|
repo = "c-blosc";
|
|
|
|
rev = "v${version}";
|
2020-04-01 10:14:15 +01:00
|
|
|
sha256 = "1ywq8j70149859vvs19wgjq89d6xsvvmvm2n1dmkzpchxgrvnw70";
|
2017-05-06 09:44:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A blocking, shuffling and loss-less compression library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.blosc.org";
|
2017-05-06 09:44:23 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|