diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-02-08 02:22:42 +0100 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2020-02-10 12:55:23 -0500 |
commit | 67225411d475d7e5b83c09dd506fa5e25ebabae4 (patch) | |
tree | 563e4861525e1f7aa419beb256ec3c507c64e13a /pkgs/development/libraries/zchunk | |
parent | 26a06b7917aa0ac63af91b3d26c6e0c99283760e (diff) |
zchunk: init at 1.1.5
required by rpm-ostree
Diffstat (limited to 'pkgs/development/libraries/zchunk')
-rw-r--r-- | pkgs/development/libraries/zchunk/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/libraries/zchunk/default.nix b/pkgs/development/libraries/zchunk/default.nix new file mode 100644 index 000000000000..ee07133b7aa0 --- /dev/null +++ b/pkgs/development/libraries/zchunk/default.nix @@ -0,0 +1,41 @@ +{ 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; + }; +} |