diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/archivers/zarchive/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/archivers/zarchive/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/archivers/zarchive/default.nix b/nixpkgs/pkgs/tools/archivers/zarchive/default.nix new file mode 100644 index 000000000000..442257779c89 --- /dev/null +++ b/nixpkgs/pkgs/tools/archivers/zarchive/default.nix @@ -0,0 +1,23 @@ +{ lib, stdenv, fetchFromGitHub, cmake, zstd }: + +stdenv.mkDerivation rec { + pname = "zarchive"; + version = "0.1.2"; + + src = fetchFromGitHub { + owner = "Exzap"; + repo = "ZArchive"; + rev = "v${version}"; + hash = "sha256-hX637O/mVLTzmG0a9swJu9w+3o26VHo+K/9RhMuf1lI="; + }; + + nativeBuildInputs = [ cmake ]; + buildInputs = [ zstd ]; + + meta = with lib; { + description = "File archive format supporting random-access reads"; + homepage = "https://github.com/Exzap/ZArchive"; + license = licenses.mit0; + maintainers = with maintainers; [ zhaofengli ]; + }; +} |