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/xcwd/default.nix
Normal file
31
pkgs/tools/X11/xcwd/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchFromGitHub, libX11 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "2019-05-09";
|
||||
pname = "xcwd";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "schischi";
|
||||
repo = "xcwd";
|
||||
rev = "99738e1176acf3f39c2e709236c3fd87b806f2ed";
|
||||
sha256 = "1wvhj5x8ysi1q73f9cw1f6znvp2zivd8pp6z1p3znw732h4zlv6v";
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 ];
|
||||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
|
||||
installPhase = ''
|
||||
install -D xcwd "$out/bin/xcwd"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = ''
|
||||
A simple tool which print the current working directory of the currently focused window
|
||||
'';
|
||||
homepage = "https://github.com/schischi/xcwd";
|
||||
maintainers = [ maintainers.grburst ];
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue