2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2017-05-06 08:44:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "c-blosc";
|
2021-10-29 05:07:05 +00:00
|
|
|
version = "1.21.1";
|
2017-05-06 08:44:23 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Blosc";
|
|
|
|
repo = "c-blosc";
|
|
|
|
rev = "v${version}";
|
2021-10-29 05:07:05 +00:00
|
|
|
sha256 = "sha256-6SKEyciwDOxcbO8chvmxrLCxLkc93zxo6eH0c/lRyT8=";
|
2017-05-06 08:44:23 +00:00
|
|
|
};
|
|
|
|
|
2020-11-19 20:45:52 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2017-05-06 08:44:23 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-05-06 08:44:23 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|