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

25 lines
557 B
Nix
Raw Normal View History

2017-05-06 10:44:23 +02:00
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "c-blosc-${version}";
version = "1.14.3";
2017-05-06 10:44:23 +02:00
src = fetchFromGitHub {
owner = "Blosc";
repo = "c-blosc";
rev = "v${version}";
sha256 = "051x2hh0yq1zhiyjmiarvc2radi59v03vzs2sa4hmgfhfaxcklld";
2017-05-06 10:44:23 +02: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;
};
}