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