uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
31
pkgs/tools/X11/jumpapp/default.nix
Normal file
31
pkgs/tools/X11/jumpapp/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, lib, perl, pandoc, fetchFromGitHub, xdotool, wmctrl, xprop, nettools }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jumpapp";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mkropat";
|
||||
repo = "jumpapp";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-9sh0+zpDxwqRGC1jUgGTDdSDRdAFsL12mQ/Opwh/UBc=";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
nativeBuildInputs = [ pandoc perl ];
|
||||
buildInputs = [ xdotool wmctrl xprop nettools perl ];
|
||||
postFixup = let
|
||||
runtimePath = lib.makeBinPath buildInputs;
|
||||
in
|
||||
''
|
||||
sed -i "2 i export PATH=${runtimePath}:\$PATH" $out/bin/jumpapp
|
||||
sed -i "2 i export PATH=${perl}/bin:\$PATH" $out/bin/jumpappify-desktop-entry
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/mkropat/jumpapp";
|
||||
description = "A run-or-raise application switcher for any X11 desktop";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.matklad ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue