depot/third_party/nixpkgs/pkgs/development/libraries/zchunk/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

41 lines
735 B
Nix

{ stdenv
, fetchFromGitHub
, pkgconfig
, meson
, ninja
, zstd
, curl
}:
stdenv.mkDerivation rec {
pname = "zchunk";
version = "1.1.6";
outputs = [ "out" "lib" "dev" ];
src = fetchFromGitHub {
owner = "zchunk";
repo = pname;
rev = version;
sha256 = "1j05f26xppwbkxrm11895blm75i1a6p9q23x7wlkqw198mpnpbbv";
};
nativeBuildInputs = [
meson
ninja
pkgconfig
];
buildInputs = [
zstd
curl
];
meta = with stdenv.lib; {
description = "File format designed for highly efficient deltas while maintaining good compression";
homepage = "https://github.com/zchunk/zchunk";
license = licenses.bsd2;
maintainers = with maintainers; [];
platforms = platforms.unix;
};
}