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
43
pkgs/applications/misc/tdrop/default.nix
Normal file
43
pkgs/applications/misc/tdrop/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ stdenv, lib, fetchFromGitHub, makeWrapper
|
||||
, xwininfo, xdotool, xprop, gawk, coreutils
|
||||
, gnugrep, procps }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tdrop";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "noctuid";
|
||||
repo = "tdrop";
|
||||
rev = version;
|
||||
sha256 = "sha256-1umHwzpv4J8rZ0c0q+2dPsEk4vhFB4UerwI8ctIJUZg=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
postInstall = let
|
||||
binPath = lib.makeBinPath [
|
||||
xwininfo
|
||||
xdotool
|
||||
xprop
|
||||
gawk
|
||||
coreutils
|
||||
gnugrep
|
||||
procps
|
||||
];
|
||||
in ''
|
||||
wrapProgram $out/bin/tdrop --prefix PATH : ${binPath}
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Glorified WM-Independent Dropdown Creator";
|
||||
homepage = "https://github.com/noctuid/tdrop";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ wedens ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue