nixpkgs/pkgs/development/libraries/c-blosc/default.nix

25 lines
557 B
Nix
Raw Normal View History

2017-05-06 09:44:23 +01:00
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "c-blosc-${version}";
version = "1.14.4";
2017-05-06 09:44:23 +01:00
src = fetchFromGitHub {
owner = "Blosc";
repo = "c-blosc";
rev = "v${version}";
sha256 = "195w96gl75mkxxqq6qjsmb2s1lq8z95qlc71fr5a7sckslcwglh0";
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";
homepage = http://www.blosc.org;
license = licenses.bsd3;
platforms = platforms.all;
};
}