Skip to content

Commit 4af7353

Browse files
authored
wlopm: 0.1.0 -> 1.0.0 (#389330)
2 parents f7d8ae7 + 15aa58e commit 4af7353

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

pkgs/by-name/wl/wlopm/package.nix

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,35 @@
66
wayland-scanner,
77
}:
88

9-
stdenv.mkDerivation rec {
9+
stdenv.mkDerivation (finalAttr: {
1010
pname = "wlopm";
11-
version = "0.1.0";
11+
version = "1.0.0";
1212

1313
src = fetchFromSourcehut {
1414
owner = "~leon_plickat";
1515
repo = "wlopm";
16-
rev = "v${version}";
17-
sha256 = "sha256-kcUJVB5jP2qZ1YgJDEBsyn5AgwhRxQmzOrk0gKj1MeM=";
16+
rev = "v${finalAttr.version}";
17+
hash = "sha256-GrcV51mUZUaiiYhko8ysaTieJoZDcunLn1yG5k+TpQQ=";
1818
};
1919

2020
strictDeps = true;
21+
2122
nativeBuildInputs = [ wayland-scanner ];
23+
2224
buildInputs = [ wayland ];
2325

2426
installFlags = [ "PREFIX=$(out)" ];
2527

26-
meta = with lib; {
28+
preInstall = ''
29+
mkdir -p $out/share/bash-completion/completions
30+
'';
31+
32+
meta = {
2733
description = "Simple client implementing zwlr-output-power-management-v1";
2834
homepage = "https://git.sr.ht/~leon_plickat/wlopm";
2935
mainProgram = "wlopm";
30-
license = licenses.gpl3Only;
31-
maintainers = with maintainers; [ arjan-s ];
32-
platforms = platforms.linux;
36+
license = lib.licenses.gpl3Only;
37+
maintainers = with lib.maintainers; [ arjan-s ];
38+
platforms = lib.platforms.linux;
3339
};
34-
}
40+
})

0 commit comments

Comments
 (0)