nixpkgs/pkgs/tools/archivers/zarchive/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
608 B
Nix
Raw Normal View History

2022-10-30 17:49:17 +00:00
{ 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 ];
2023-11-27 01:17:53 +00:00
mainProgram = "zarchive";
2022-10-30 17:49:17 +00:00
};
}