mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 10:31:36 +00:00
67225411d4
required by rpm-ostree
42 lines
735 B
Nix
42 lines
735 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, pkgconfig
|
|
, meson
|
|
, ninja
|
|
, zstd
|
|
, curl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zchunk";
|
|
version = "1.1.5";
|
|
|
|
outputs = [ "out" "lib" "dev" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zchunk";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "13sqjslk634mkklnmzdlzk9l9rc6g6migig5rln3irdnjrxvjf69";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|