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
44
pkgs/applications/editors/jove/default.nix
Normal file
44
pkgs/applications/editors/jove/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv, fetchFromGitHub
|
||||
, groff
|
||||
, ncurses
|
||||
, makeWrapper
|
||||
} :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jove";
|
||||
version = "4.17.3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jonmacs";
|
||||
repo = "jove";
|
||||
rev = version;
|
||||
sha256 = "sha256-fD87FIWZlfJE2tVX+0QaiGGqu+tJFHheXe1guJR/Hxg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [
|
||||
groff
|
||||
ncurses
|
||||
];
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray+=(SYSDEFS="-DSYSVR4 -D_XOPEN_SOURCE=500" \
|
||||
TERMCAPLIB=-lncurses JOVEHOME=${placeholder "out"})
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/teachjove \
|
||||
--prefix PATH ":" "$out/bin"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Jonathan's Own Version of Emacs";
|
||||
homepage = "https://github.com/jonmacs/jove";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/jove.x86_64-darwin
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue