mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 10:56:56 +00:00
24 lines
621 B
Nix
24 lines
621 B
Nix
{ stdenv, fetchFromGitHub, meson, ninja, cmake, pkgconfig, wayland }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wlr-randr";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "emersion";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "10c8zzp78s5bw34vvjhilipa28bsdx3jbyhnxgp8f8kawh3cvgsc";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|