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

23 lines
522 B
Nix
Raw Normal View History

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