mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
32 lines
731 B
Nix
32 lines
731 B
Nix
{ lib
|
|
, stdenv
|
|
, xorg
|
|
, pkg-config
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xplugd";
|
|
version = "1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "troglobit";
|
|
repo = "xplugd";
|
|
rev = "v${version}";
|
|
sha256 = "11vjr69prrs4ir9c267zwq4g9liipzrqi0kmw1zg95dbn7r7zmql";
|
|
};
|
|
|
|
buildInputs = with xorg; [ libX11 libXi libXrandr libXext ];
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/troglobit/xplugd";
|
|
description = "UNIX daemon that executes a script on X input and RandR changes";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ akho ];
|
|
mainProgram = "xplugd";
|
|
};
|
|
}
|