nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 814 B view raw
1{ 2 lib, 3 stdenv, 4 libxrandr, 5 libxi, 6 libxext, 7 libx11, 8 pkg-config, 9 fetchFromGitHub, 10 autoreconfHook, 11}: 12 13stdenv.mkDerivation (finalAttrs: { 14 pname = "xplugd"; 15 version = "1.4"; 16 17 src = fetchFromGitHub { 18 owner = "troglobit"; 19 repo = "xplugd"; 20 rev = "v${finalAttrs.version}"; 21 sha256 = "11vjr69prrs4ir9c267zwq4g9liipzrqi0kmw1zg95dbn7r7zmql"; 22 }; 23 24 buildInputs = [ 25 libx11 26 libxi 27 libxrandr 28 libxext 29 ]; 30 nativeBuildInputs = [ 31 pkg-config 32 autoreconfHook 33 ]; 34 35 meta = { 36 homepage = "https://github.com/troglobit/xplugd"; 37 description = "UNIX daemon that executes a script on X input and RandR changes"; 38 license = lib.licenses.mit; 39 platforms = lib.platforms.linux; 40 maintainers = with lib.maintainers; [ akho ]; 41 mainProgram = "xplugd"; 42 }; 43})