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,
  fetchFromGitHub,
  stdenv,
  meson,
  ninja,
  cmake,
  pkg-config,
  wayland,
  wayland-protocols,
  wayland-scanner,
  ...
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "wooz";
  version = "0.1.0";
  rev = "v${finalAttrs.version}";
  srcHash = "sha256-mOrxRjvvcPTauBwau5Za/e3kqyN5ZJtU9ZTqmDyj/YY=";

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

  src = fetchFromGitHub {
    owner = "negrel";
    repo = finalAttrs.pname;
    hash = finalAttrs.srcHash;
    inherit (finalAttrs) rev;
  };

  meta = {
    description = "🔍 A zoom / magnifier utility for wayland compositors.";
    homepage = "https://github.com/negrel/wooz";
    license = lib.licenses.mit;
    maintainers = [ tgcMaintainers.zaphyra ];
    platforms = lib.platforms.linux;
    mainProgram = "wooz";
  };

})