about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/archivers/zarchive/default.nix
blob: 442257779c89f6efba4d6ded3f1d3bf09ba409e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 ];
  };
}