Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 40 lines 767 B view raw
1{ 2 lib, 3 stdenv, 4 xorg, 5 pkg-config, 6 fetchFromGitHub, 7 autoreconfHook, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "xplugd"; 12 version = "1.4"; 13 14 src = fetchFromGitHub { 15 owner = "troglobit"; 16 repo = "xplugd"; 17 rev = "v${version}"; 18 sha256 = "11vjr69prrs4ir9c267zwq4g9liipzrqi0kmw1zg95dbn7r7zmql"; 19 }; 20 21 buildInputs = with xorg; [ 22 libX11 23 libXi 24 libXrandr 25 libXext 26 ]; 27 nativeBuildInputs = [ 28 pkg-config 29 autoreconfHook 30 ]; 31 32 meta = with lib; { 33 homepage = "https://github.com/troglobit/xplugd"; 34 description = "UNIX daemon that executes a script on X input and RandR changes"; 35 license = licenses.mit; 36 platforms = platforms.linux; 37 maintainers = with maintainers; [ akho ]; 38 mainProgram = "xplugd"; 39 }; 40}