zaphyra's git: tgcNUR

fork of https://git.transgirl.cafe/zaphoid/tgc-nix-user-repository

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 
{
  tgcMaintainers,
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule (finalAttrs: {
  pname = "niri-screen-time";
  version = "0.0.0-${builtins.substring 0 6 finalAttrs.rev}";
  rev = "dbe4a93c9a163427b0f7bed96fcfb338e274499f";
  srcHash = "sha256-BxLV4cUKLb3uGLlj3Pn0PF6gAxwimHTK0WZyOYWf/L8=";

  src = fetchFromGitHub {
    owner = "probeldev";
    repo = "niri-screen-time";
    hash = finalAttrs.srcHash;
    inherit (finalAttrs) rev;
  };

  vendorHash = "sha256-9y1F2ZrmpiQJ9ZTq9SoRE2PxR65DDNCeBKf4M0HUQC4=";

  meta = {
    homepage = "https://github.com/probeldev/niri-screen-time";
    description = "Niri Screen Time";
    license = lib.licenses.mit;
    maintainers = [ tgcMaintainers.zaphyra ];
    mainProgram = "niri-screen-time";
  };
})