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
38
pkgs/tools/misc/sfeed/default.nix
Normal file
38
pkgs/tools/misc/sfeed/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ stdenv, lib, fetchgit, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sfeed";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://git.codemadness.org/sfeed";
|
||||
rev = version;
|
||||
sha256 = "sha256-fn+PE0WwBdllsO1gXbM2Ftdrl8ua/v50Ny4C/J4OK8Q=";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
makeFlags = [ "RANLIB:=$(RANLIB)" "SFEED_CURSES_LDFLAGS:=-lncurses" ]
|
||||
# use macOS's strlcat() and strlcpy() instead of vendored ones
|
||||
++ lib.optional stdenv.isDarwin "COMPATOBJ:=";
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
# otherwise does not find SIGWINCH
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://codemadness.org/sfeed-simple-feed-parser.html";
|
||||
description = "A RSS and Atom parser (and some format programs)";
|
||||
longDescription = ''
|
||||
It converts RSS or Atom feeds from XML to a TAB-separated file. There are
|
||||
formatting programs included to convert this TAB-separated format to
|
||||
various other formats. There are also some programs and scripts included
|
||||
to import and export OPML and to fetch, filter, merge and order feed
|
||||
items.
|
||||
'';
|
||||
license = licenses.isc;
|
||||
maintainers = [ maintainers.matthiasbeyer ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue