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.16.2";
2017-05-06 09:44:23 +01:00
src = fetchFromGitHub {
owner = "Blosc";
repo = "c-blosc";
rev = "v${version}";
sha256 = "19wb699rb5bn6h9qhw1m18m2w77lws7r50vxpgrvggnl27mvm3xc";
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;
};
}