mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Merge pull request #175473 from arjan-s/init-wlopm
wlopm: init at 0.1.0
This commit is contained in:
commit
38c865294b
2 changed files with 29 additions and 0 deletions
27
pkgs/tools/wayland/wlopm/default.nix
Normal file
27
pkgs/tools/wayland/wlopm/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, stdenv, fetchFromSourcehut, wayland, wayland-scanner }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wlopm";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~leon_plickat";
|
||||
repo = "wlopm";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-kcUJVB5jP2qZ1YgJDEBsyn5AgwhRxQmzOrk0gKj1MeM=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ wayland-scanner ];
|
||||
buildInputs = [ wayland ];
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple client implementing zwlr-output-power-management-v1";
|
||||
homepage = "https://git.sr.ht/~leon_plickat/wlopm";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ arjan-s ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -3329,6 +3329,8 @@ with pkgs;
|
|||
|
||||
wlogout = callPackage ../tools/wayland/wlogout { };
|
||||
|
||||
wlopm = callPackage ../tools/wayland/wlopm { };
|
||||
|
||||
wlr-randr = callPackage ../tools/wayland/wlr-randr { };
|
||||
|
||||
wlrctl = callPackage ../tools/wayland/wlrctl { };
|
||||
|
|
Loading…
Reference in a new issue