depot/third_party/nixpkgs/pkgs/tools/X11/srandrd/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
617 B
Nix

{ stdenv
, 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 ];
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
homepage = "https://github.com/jceb/srandrd";
description = "Simple randr daemon";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.utdemir ];
};
}