2021-02-16 04:30:42 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2022-06-27 13:48:36 +02:00
|
|
|
, fetchFromSourcehut
|
2021-02-16 04:30:42 +01:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, wayland
|
2022-04-06 15:40:55 +02:00
|
|
|
, wayland-scanner
|
2021-02-16 04:30:42 +01:00
|
|
|
}:
|
2019-09-18 13:15:32 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wlr-randr";
|
2023-01-28 03:07:29 +01:00
|
|
|
version = "0.3.0";
|
2019-09-18 13:15:32 +02:00
|
|
|
|
2022-06-27 13:48:36 +02:00
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~emersion";
|
2019-09-18 13:15:32 +02:00
|
|
|
repo = pname;
|
2020-07-27 16:49:23 +02:00
|
|
|
rev = "v${version}";
|
2023-01-28 03:07:29 +01:00
|
|
|
sha256 = "sha256-iJSHCQbom+V0TrtEYrjMrMkdc6PoZrjhtcgebZYjQjI=";
|
2019-09-18 13:15:32 +02:00
|
|
|
};
|
|
|
|
|
2022-05-09 16:18:15 +02:00
|
|
|
strictDeps = true;
|
2022-04-06 15:40:55 +02:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ];
|
2019-09-18 13:15:32 +02:00
|
|
|
buildInputs = [ wayland ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-09-18 13:15:32 +02:00
|
|
|
description = "An xrandr clone for wlroots compositors";
|
2022-06-27 13:48:36 +02:00
|
|
|
homepage = "https://git.sr.ht/~emersion/wlr-randr";
|
2021-02-16 04:30:42 +01:00
|
|
|
license = licenses.mit;
|
2019-09-18 13:15:32 +02:00
|
|
|
maintainers = with maintainers; [ ma27 ];
|
2021-02-16 04:30:42 +01:00
|
|
|
platforms = platforms.unix;
|
2019-09-18 13:15:32 +02:00
|
|
|
};
|
|
|
|
}
|