diff options
author | Utku Demir <me@utdemir.com> | 2019-05-27 14:45:23 +1200 |
---|---|---|
committer | Lassulus <github@lassul.us> | 2019-05-28 15:33:28 +0900 |
commit | 35494acff94698117561a243dc78d342910e12ed (patch) | |
tree | 293511e78b172e43e3417b7443f667edfa46cbd9 /pkgs/tools/X11/srandrd | |
parent | 2a56ea3593aa0702a61313572c2211ef947f4d1f (diff) |
srandrd: init at v0.6.0
Diffstat (limited to 'pkgs/tools/X11/srandrd')
-rw-r--r-- | pkgs/tools/X11/srandrd/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/X11/srandrd/default.nix b/pkgs/tools/X11/srandrd/default.nix new file mode 100644 index 0000000000000..af9394a84fa58 --- /dev/null +++ b/pkgs/tools/X11/srandrd/default.nix @@ -0,0 +1,31 @@ +{ 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 ]; + }; + +} |