about summary refs log tree commit diff
path: root/pkgs/by-name/co/corrupter/package.nix
blob: 9e6f33902356455f36978f4ca92ebe26874d4815 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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";
  };
}