Unverified Commit b3dd2699 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #257498 from figsoda/pzip

pzip: init at 0.2.0
parents bd903b39 b75f6fb5
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
{ 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";
  };
}
+4 −0
Original line number Diff line number Diff line
@@ -34878,6 +34878,10 @@ with pkgs;
  pyrosimple = callPackage ../applications/networking/p2p/pyrosimple { };
  pzip = callPackage ../by-name/pz/pzip/package.nix {
    buildGoModule = buildGo121Module;
  };
  qbittorrent = libsForQt5.callPackage ../applications/networking/p2p/qbittorrent { };
  qbittorrent-nox = qbittorrent.override {
    guiSupport = false;