~ruther/nixos-config

nixos-config/pkgs/dwlb.nix -rw-r--r-- 542 bytes
65631fe7 — Frantisek Bohacek feat: add support for Guix 7 months ago
                                                                                
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
{ stdenv, pkg-config, wayland-scanner, wayland, wlroots, wayland-protocols, fcft, pixman, fetchFromGitHub }:

stdenv.mkDerivation {
  name = "dwlb";

  src = fetchFromGitHub {
    owner = "kolunmi";
    repo = "dwlb";
    rev = "a30bb0398a468f3f59438dd441165953e9d6c0dd";
    hash = "sha256-z1br5vL6tWT+hbGtLzMLzuGj6mRcaBgchHiXlk5qOZc=";
  };

  nativeBuildInputs = [
    pkg-config
    wayland-scanner
  ];

  buildInputs = [
    wayland
    wlroots
    wayland-protocols
    fcft
    pixman
  ];

  makeFlags = [
    "PREFIX=$(out)"
  ];
}
Do not follow this link