1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/pkgs/by-name/pz/pzip/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

35 lines
741 B
Nix

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