25 lines
550 B
Nix
25 lines
550 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "c-blosc";
|
|
version = "1.19.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Blosc";
|
|
repo = "c-blosc";
|
|
rev = "v${version}";
|
|
sha256 = "03z0wybw7w5yvakn1dzfmn8vz586hbqy2mq1vz1zg15md4x6zvbx";
|
|
};
|
|
|
|
buildInputs = [ cmake ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A blocking, shuffling and loss-less compression library";
|
|
homepage = "https://www.blosc.org";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|