depot/third_party/nixpkgs/pkgs/by-name/pa/panicparse/package.nix

29 lines
599 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "panicparse";
version = "2.4.0";
src = fetchFromGitHub {
owner = "maruel";
repo = pname;
rev = "v${version}";
sha256 = "sha256-EBNOHI04v47sXAWrjHsU4pixP4TPOuHy8S3YmlkiLN4=";
};
vendorHash = "sha256-/w/dtt55NVHoJ5AeHsqH/IRe3bJq1YvpasLh8Zn8Ckg=";
subPackages = [ "." ];
meta = with lib; {
description = "Crash your app in style (Golang)";
homepage = "https://github.com/maruel/panicparse";
license = licenses.asl20;
maintainers = [ ];
mainProgram = "panicparse";
};
}