lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.05-pre 31 lines 909 B view raw
1{ stdenv, lib, perl, pandoc, fetchFromGitHub, xdotool, wmctrl, xprop, nettools }: 2 3stdenv.mkDerivation rec { 4 pname = "jumpapp"; 5 version = "1.2"; 6 7 src = fetchFromGitHub { 8 owner = "mkropat"; 9 repo = "jumpapp"; 10 rev = "v${version}"; 11 sha256 = "sha256-9sh0+zpDxwqRGC1jUgGTDdSDRdAFsL12mQ/Opwh/UBc="; 12 }; 13 14 makeFlags = [ "PREFIX=$(out)" ]; 15 nativeBuildInputs = [ pandoc perl ]; 16 buildInputs = [ xdotool wmctrl xprop nettools perl ]; 17 postFixup = let 18 runtimePath = lib.makeBinPath buildInputs; 19 in 20 '' 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 23 ''; 24 25 meta = { 26 homepage = "https://github.com/mkropat/jumpapp"; 27 description = "A run-or-raise application switcher for any X11 desktop"; 28 license = lib.licenses.mit; 29 maintainers = [ lib.maintainers.matklad ]; 30 }; 31}