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

23 lines
519 B
Nix
Raw Normal View History

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