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