depot/third_party/nixpkgs/pkgs/tools/misc/wlr-randr/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

23 lines
620 B
Nix

{ lib, stdenv, fetchFromGitHub, meson, ninja, cmake, pkg-config, wayland }:
stdenv.mkDerivation rec {
pname = "wlr-randr";
version = "0.2.0";
src = fetchFromGitHub {
owner = "emersion";
repo = pname;
rev = "v${version}";
sha256 = "sha256-JeSxFXSFxcTwJz9EaLb18wtD4ZIT+ATeYM5OyDTJhDQ=";
};
nativeBuildInputs = [ meson ninja cmake pkg-config ];
buildInputs = [ wayland ];
meta = with lib; {
license = licenses.mit;
description = "An xrandr clone for wlroots compositors";
homepage = "https://github.com/emersion/wlr-randr";
maintainers = with maintainers; [ ma27 ];
};
}