2020-02-08 01:22:42 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkgconfig
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, zstd
|
|
|
|
, curl
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zchunk";
|
2020-03-20 18:26:53 +00:00
|
|
|
version = "1.1.6";
|
2020-02-08 01:22:42 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "lib" "dev" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zchunk";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-03-20 18:26:53 +00:00
|
|
|
sha256 = "1j05f26xppwbkxrm11895blm75i1a6p9q23x7wlkqw198mpnpbbv";
|
2020-02-08 01:22:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|