nixpkgs/pkgs/by-name/sr/srandrd/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
643 B
Nix
Raw Normal View History

{ 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 ];
makeFlags = [ "PREFIX=$(out)" ];
2019-05-27 02:45:23 +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
};
}