From 485d0fedc13d4e5678e14d2c84cd4b708a638612 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 22 Jan 2022 20:34:12 +0100 Subject: [PATCH] panicparse: init at 2.2.0 --- pkgs/tools/misc/panicparse/default.nix | 27 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/tools/misc/panicparse/default.nix diff --git a/pkgs/tools/misc/panicparse/default.nix b/pkgs/tools/misc/panicparse/default.nix new file mode 100644 index 000000000000..95bfc54fbb4b --- /dev/null +++ b/pkgs/tools/misc/panicparse/default.nix @@ -0,0 +1,27 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "panicparse"; + version = "2.2.0"; + + src = fetchFromGitHub { + owner = "maruel"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-Bwvxj9Ifcq2WpicUBK+03fbGuoVAVF2Zmtpy/utUxoo="; + }; + + vendorSha256 = "sha256-ZHUxzGqsGX1c4mBA4TBO2+WnGDhwAOGi0uYQx+3OgL8="; + + subPackages = [ "." ]; + + meta = with lib; { + description = "Crash your app in style (Golang)"; + homepage = "https://github.com/maruel/panicparse"; + license = licenses.asl20; + maintainers = with maintainers; [ SuperSandro2000 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ca23986b519b..84c343a990ae 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8104,6 +8104,8 @@ with pkgs; pandoc-plantuml-filter = python3Packages.callPackage ../tools/misc/pandoc-plantuml-filter { }; + panicparse = callPackage ../tools/misc/panicparse { }; + patray = callPackage ../tools/audio/patray { }; pasystray = callPackage ../tools/audio/pasystray { };