From 0438b1bb65ca68f52b9eb9bb0e6a35e9613e30db Mon Sep 17 00:00:00 2001 From: ivan770 Date: Fri, 22 Dec 2023 10:58:59 -0500 Subject: [PATCH] corrupter: init at 1.0 --- pkgs/by-name/co/corrupter/package.nix | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/by-name/co/corrupter/package.nix diff --git a/pkgs/by-name/co/corrupter/package.nix b/pkgs/by-name/co/corrupter/package.nix new file mode 100644 index 000000000000..9e6f33902356 --- /dev/null +++ b/pkgs/by-name/co/corrupter/package.nix @@ -0,0 +1,33 @@ +{ lib +, buildGoModule +, fetchFromGitHub +, nix-update-script +}: + +buildGoModule { + pname = "corrupter"; + version = "1.0-unstable-2023-01-11"; + + src = fetchFromGitHub { + owner = "r00tman"; + repo = "corrupter"; + # https://github.com/r00tman/corrupter/issues/15 + rev = "d7aecbb8b622a2c6fafe7baea5f718b46155be15"; + hash = "sha256-GEia3wZqI/j7/dpBbL1SQLkOXZqEwanKGM4wY9nLIqE="; + }; + + vendorHash = null; + + # There are no tests available for this package. + doCheck = false; + + passthru.updateScript = nix-update-script { }; + + meta = with lib; { + description = "Simple image glitcher suitable for producing lockscreens"; + homepage = "https://github.com/r00tman/corrupter"; + license = licenses.bsd2; + maintainers = [ maintainers.ivan770 ]; + mainProgram = "corrupter"; + }; +}