nixpkgs/pkgs/tools/X11/srandrd/default.nix
2023-11-14 03:45:57 +00:00

31 lines
614 B
Nix

{ lib, stdenv
, fetchFromGitHub
, libX11
, libXrandr
, libXinerama
}:
stdenv.mkDerivation rec {
pname = "srandrd";
version = "0.6.3";
src = fetchFromGitHub {
owner = "jceb";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Wf+tVqDaNAiH6UHN8fFv2wM+LEch6wKlZOkqWEqLLkw=";
};
buildInputs = [ libX11 libXrandr libXinerama ];
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
homepage = "https://github.com/jceb/srandrd";
description = "Simple randr daemon";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.utdemir ];
};
}