File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change 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+ } )
You can’t perform that action at this time.
0 commit comments