blob: f2797c6791c8dc87f2fe106951f22a36cf4e1059 (
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
24
25
26
27
28
29
30
31
32
33
34
|
{ lib
, buildGoModule
, fetchFromGitHub
, unzip
}:
buildGoModule rec {
pname = "pzip";
version = "0.2.0";
src = fetchFromGitHub {
owner = "ybirader";
repo = "pzip";
rev = "v${version}";
hash = "sha256-bb2TSSyA7TwgoV53M/7WkNcTq8F0EjCA7ObHfnGL9l0=";
};
vendorHash = "sha256-MRZlv4eN1Qbu+QXr//YexTDYSK4pCXAPO7VvGqZhjho=";
nativeBuildInputs = [
unzip
];
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "A fast concurrent zip archiver and extractor";
homepage = "https://github.com/ybirader/pzip";
changelog = "https://github.com/ybirader/pzip/releases/tag/${src.rev}";
license = licenses.asl20;
maintainers = with maintainers; [ figsoda ];
mainProgram = "pzip";
};
}
|