forked from mirrors/nixpkgs
0330a06eea
Upstream moved from https://github.com/emersion/wlr-randr to https://sr.ht/~emersion/wlr-randr
34 lines
707 B
Nix
34 lines
707 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromSourcehut
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, wayland
|
|
, wayland-scanner
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wlr-randr";
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~emersion";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-JeSxFXSFxcTwJz9EaLb18wtD4ZIT+ATeYM5OyDTJhDQ=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ];
|
|
buildInputs = [ wayland ];
|
|
|
|
meta = with lib; {
|
|
description = "An xrandr clone for wlroots compositors";
|
|
homepage = "https://git.sr.ht/~emersion/wlr-randr";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ma27 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|