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/window-managers/stumpish/default.nix
Normal file
43
pkgs/applications/window-managers/stumpish/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib, stdenv, substituteAll, fetchFromGitHub, gnused, ncurses, xorg, rlwrap }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "stumpish";
|
||||
version = "0.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stumpwm";
|
||||
repo = "stumpwm-contrib";
|
||||
rev = "9f5f06652c480159ec57d1fd8751b16f02db06dc";
|
||||
sha256 = "1dxzsnir3158p8y2128s08r9ca0ywr9mcznivmhn1lycw8mg4nfl";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gnused xorg.xprop rlwrap ncurses
|
||||
];
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./paths.patch;
|
||||
sed = "${gnused}/bin/sed";
|
||||
xprop = "${xorg.xprop}/bin/xprop";
|
||||
rlwrap = "${rlwrap}/bin/rlwrap";
|
||||
tput = "${ncurses}/bin/tput";
|
||||
})
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
mkdir -p $out/bin
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
cp util/stumpish/stumpish $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/stumpwm/stumpwm-contrib";
|
||||
description = "STUMPwm Interactive SHell";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.ebzzry ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue