1 { stdenv, lib, perl, pandoc, fetchFromGitHub, xdotool, wmctrl, xprop, nettools }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-9sh0+zpDxwqRGC1jUgGTDdSDRdAFsL12mQ/Opwh/UBc=";
14 makeFlags = [ "PREFIX=$(out)" ];
15 nativeBuildInputs = [ pandoc perl ];
16 buildInputs = [ xdotool wmctrl xprop nettools perl ];
18 runtimePath = lib.makeBinPath buildInputs;
21 sed -i "2 i export PATH=${runtimePath}:\$PATH" $out/bin/jumpapp
22 sed -i "2 i export PATH=${perl}/bin:\$PATH" $out/bin/jumpappify-desktop-entry
26 homepage = "https://github.com/mkropat/jumpapp";
27 description = "Run-or-raise application switcher for any X11 desktop";
28 license = lib.licenses.mit;
29 maintainers = [ lib.maintainers.matklad ];