2019-09-18 13:15:32 +02:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja, cmake, pkgconfig, wayland }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wlr-randr";
|
2020-07-27 16:49:23 +02:00
|
|
|
version = "0.1.0";
|
2019-09-18 13:15:32 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emersion";
|
|
|
|
repo = pname;
|
2020-07-27 16:49:23 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "10c8zzp78s5bw34vvjhilipa28bsdx3jbyhnxgp8f8kawh3cvgsc";
|
2019-09-18 13:15:32 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja cmake pkgconfig ];
|
|
|
|
buildInputs = [ wayland ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
license = licenses.mit;
|
|
|
|
description = "An xrandr clone for wlroots compositors";
|
|
|
|
homepage = "https://github.com/emersion/wlr-randr";
|
|
|
|
maintainers = with maintainers; [ ma27 ];
|
|
|
|
};
|
|
|
|
}
|