depot/third_party/nixpkgs/pkgs/tools/archivers/zarchive/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

24 lines
608 B
Nix

{ 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 ];
mainProgram = "zarchive";
};
}