tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
wlopm: 0.1.0 -> 1.0.0
emaryn
10 months ago
15aa58ea
220d184e
+15
-9
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
wl
wlopm
package.nix
+15
-9
pkgs/by-name/wl/wlopm/package.nix
···
6
wayland-scanner,
7
}:
8
9
-
stdenv.mkDerivation rec {
10
pname = "wlopm";
11
-
version = "0.1.0";
12
13
src = fetchFromSourcehut {
14
owner = "~leon_plickat";
15
repo = "wlopm";
16
-
rev = "v${version}";
17
-
sha256 = "sha256-kcUJVB5jP2qZ1YgJDEBsyn5AgwhRxQmzOrk0gKj1MeM=";
18
};
19
20
strictDeps = true;
0
21
nativeBuildInputs = [ wayland-scanner ];
0
22
buildInputs = [ wayland ];
23
24
installFlags = [ "PREFIX=$(out)" ];
25
26
-
meta = with lib; {
0
0
0
0
27
description = "Simple client implementing zwlr-output-power-management-v1";
28
homepage = "https://git.sr.ht/~leon_plickat/wlopm";
29
mainProgram = "wlopm";
30
-
license = licenses.gpl3Only;
31
-
maintainers = with maintainers; [ arjan-s ];
32
-
platforms = platforms.linux;
33
};
34
-
}
···
6
wayland-scanner,
7
}:
8
9
+
stdenv.mkDerivation (finalAttr: {
10
pname = "wlopm";
11
+
version = "1.0.0";
12
13
src = fetchFromSourcehut {
14
owner = "~leon_plickat";
15
repo = "wlopm";
16
+
rev = "v${finalAttr.version}";
17
+
hash = "sha256-GrcV51mUZUaiiYhko8ysaTieJoZDcunLn1yG5k+TpQQ=";
18
};
19
20
strictDeps = true;
21
+
22
nativeBuildInputs = [ wayland-scanner ];
23
+
24
buildInputs = [ wayland ];
25
26
installFlags = [ "PREFIX=$(out)" ];
27
28
+
preInstall = ''
29
+
mkdir -p $out/share/bash-completion/completions
30
+
'';
31
+
32
+
meta = {
33
description = "Simple client implementing zwlr-output-power-management-v1";
34
homepage = "https://git.sr.ht/~leon_plickat/wlopm";
35
mainProgram = "wlopm";
36
+
license = lib.licenses.gpl3Only;
37
+
maintainers = with lib.maintainers; [ arjan-s ];
38
+
platforms = lib.platforms.linux;
39
};
40
+
})