2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-05-27 02:45:23 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, libX11
|
|
|
|
, libXrandr
|
|
|
|
, libXinerama
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "srandrd";
|
2023-11-14 03:45:57 +00:00
|
|
|
version = "0.6.3";
|
2019-05-27 02:45:23 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jceb";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-11-14 03:45:57 +00:00
|
|
|
sha256 = "sha256-Wf+tVqDaNAiH6UHN8fFv2wM+LEch6wKlZOkqWEqLLkw=";
|
2019-05-27 02:45:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXrandr libXinerama ];
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2019-05-27 02:45:23 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-05-27 02:45:23 +00:00
|
|
|
homepage = "https://github.com/jceb/srandrd";
|
|
|
|
description = "Simple randr daemon";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.utdemir ];
|
2023-11-23 21:09:35 +00:00
|
|
|
mainProgram = "srandrd";
|
2019-05-27 02:45:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|