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