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 
31 
32 
33 
34 
35 
36 
37 
38 
39 
40 
41 
42 
43 
44 
45 
46 
47 
48 
{
  tgcMaintainers,
  lib,
  fetchFromSourcehut,
  stdenv,
  meson,
  cmake,
  ninja,
  pkg-config,
  libGL,
  wayland,
  wayland-scanner,
  ...
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "shaderbg";
  version = "0.0.0-unstable-2023-03-16";
  rev = "027d4f87fd542c79d4276b521e39025477b6d03e";
  srcHash = "sha256-/HtbS+vn69oEDVP4HDBvnmpkGRLz62j8lCZx+plrUeI=";

  buildInputs = [
    meson
    cmake
    ninja
    pkg-config
    libGL
    wayland
    wayland-scanner
  ];

  src = fetchFromSourcehut {
    owner = "~mstoeckl";
    repo = finalAttrs.pname;
    hash = finalAttrs.srcHash;
    inherit (finalAttrs) rev;
  };

  meta = {
    description = "A live wallpaper program for Sway and other compositors with wlr-layer-shell support";
    homepage = "https://git.sr.ht/~mstoeckl/shaderbg";
    license = lib.licenses.gpl3;
    maintainers = [ tgcMaintainers.zaphyra ];
    platforms = lib.platforms.linux;
    mainProgram = "shaderbg";
  };

})