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
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, fetchFromGitHub, python3Packages, readline, ncurses, canto-daemon }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
version = "0.9.9";
|
||||
pname = "canto-curses";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "themoken";
|
||||
repo = "canto-curses";
|
||||
rev = "v${version}";
|
||||
sha256 = "1vzb9n1j4gxigzll6654ln79lzbrrm6yy0lyazd9kldyl349b8sr";
|
||||
};
|
||||
|
||||
buildInputs = [ readline ncurses canto-daemon ];
|
||||
propagatedBuildInputs = [ canto-daemon ];
|
||||
|
||||
meta = {
|
||||
description = "An ncurses-based console Atom/RSS feed reader";
|
||||
longDescription = ''
|
||||
Canto is an Atom/RSS feed reader for the console that is meant to be
|
||||
quick, concise, and colorful. It's meant to allow you to crank through
|
||||
feeds like you've never cranked before by providing a minimal, yet
|
||||
information packed interface. No navigating menus. No dense blocks of
|
||||
unreadable white text. An interface with almost infinite customization
|
||||
and extensibility using the excellent Python programming language.
|
||||
'';
|
||||
homepage = "https://codezen.org/canto-ng/";
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.devhell ];
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, fetchFromGitHub, python3Packages, }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
version = "0.9.8";
|
||||
pname = "canto-daemon";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "themoken";
|
||||
repo = "canto-next";
|
||||
rev = "v${version}";
|
||||
sha256 = "0fmsdn28z09bvivdkqcla5bnalky7k744iir25z70bv4pz1jcvnk";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ feedparser ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "canto_next" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Daemon for the canto Atom/RSS feed reader";
|
||||
longDescription = ''
|
||||
Canto is an Atom/RSS feed reader for the console that is meant to be
|
||||
quick, concise, and colorful. It's meant to allow you to crank through
|
||||
feeds like you've never cranked before by providing a minimal, yet
|
||||
information packed interface. No navigating menus. No dense blocks of
|
||||
unreadable white text. An interface with almost infinite customization
|
||||
and extensibility using the excellent Python programming language.
|
||||
'';
|
||||
homepage = "https://codezen.org/canto-ng/";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers;[ devhell ];
|
||||
};
|
||||
}
|
||||
52
pkgs/applications/networking/feedreaders/castget/default.nix
Normal file
52
pkgs/applications/networking/feedreaders/castget/default.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{ lib, stdenv, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, glib
|
||||
, ronn
|
||||
, curl
|
||||
, id3lib
|
||||
, libxml2
|
||||
, glibcLocales
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "castget";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mlj";
|
||||
repo = pname;
|
||||
# Upstream uses `_` instead of `.` for the version
|
||||
rev = "rel_${lib.replaceStrings ["."] ["_"] version}";
|
||||
sha256 = "1129x64rw587q3sdpa3lrgs0gni5f0siwbvmfz8ya4zkbhgi2ik7";
|
||||
};
|
||||
|
||||
# without this, the build fails because of an encoding issue with the manual page.
|
||||
# https://stackoverflow.com/a/17031697/4935114
|
||||
# This requires glibcLocales to be present in the build so it will have an impact.
|
||||
# See https://github.com/NixOS/nixpkgs/issues/8398
|
||||
preBuild = ''
|
||||
export LC_ALL="en_US.UTF-8";
|
||||
'';
|
||||
|
||||
buildInputs = [ glib curl id3lib libxml2 ];
|
||||
nativeBuildInputs = [
|
||||
ronn
|
||||
# See comment on locale above
|
||||
glibcLocales
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple, command-line based RSS enclosure downloader";
|
||||
longDescription = ''
|
||||
castget is a simple, command-line based RSS enclosure downloader. It is
|
||||
primarily intended for automatic, unattended downloading of podcasts.
|
||||
'';
|
||||
homepage = "https://castget.johndal.com/";
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,91 @@
|
|||
{ lib
|
||||
, callPackage
|
||||
|
||||
, fetchFromGitLab
|
||||
|
||||
, appstream
|
||||
, gobject-introspection
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, wrapGAppsHook
|
||||
|
||||
, glib
|
||||
, glib-networking
|
||||
, gtk3
|
||||
, libhandy
|
||||
, listparser ? callPackage ./listparser.nix { }
|
||||
, webkitgtk
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "gnome-feeds";
|
||||
version = "0.16.2";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "World";
|
||||
repo = "gfeeds";
|
||||
rev = version;
|
||||
sha256 = "sha256-66dwVR9owg050aHCHJek7jYnT+/yyCKo4AaUE0hCqBA=";
|
||||
};
|
||||
|
||||
format = "other";
|
||||
|
||||
nativeBuildInputs = [
|
||||
appstream
|
||||
glib # for glib-compile-schemas
|
||||
gobject-introspection
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
glib-networking
|
||||
gtk3
|
||||
libhandy
|
||||
webkitgtk
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
beautifulsoup4
|
||||
python-dateutil
|
||||
feedparser
|
||||
html5lib
|
||||
listparser
|
||||
lxml
|
||||
pillow
|
||||
pygments
|
||||
pygobject3
|
||||
readability-lxml
|
||||
pytz
|
||||
requests
|
||||
];
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/issues/56943
|
||||
strictDeps = false;
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
inherit listparser;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "An RSS/Atom feed reader for GNOME";
|
||||
homepage = "https://gitlab.gnome.org/World/gfeeds";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [
|
||||
maintainers.pbogdan
|
||||
];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, python3
|
||||
}:
|
||||
python3.pkgs.buildPythonPackage rec {
|
||||
pname = "listparser";
|
||||
version = "0.18";
|
||||
|
||||
src = python3.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0hdqs1mmayw1r8yla43hgb4d9y3zqs5483vgf8j9ygczkd2wrq2b";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
requests
|
||||
six
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python3.interpreter} lptest.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A parser for subscription lists";
|
||||
homepage = "https://github.com/kurtmckee/listparser";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = [
|
||||
maintainers.pbogdan
|
||||
];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
{ stdenv, lib, fetchurl, unzip, makeDesktopItem, copyDesktopItems
|
||||
, makeWrapper, electron }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "indigenous-desktop";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/marksuth/indigenous-desktop/releases/download/v${version}/indigenous-linux-x64-${version}.zip";
|
||||
sha256 = "sha256-1nqj9N5RQE0PogJSULu75CTVLHeQsHIimtFXSCP6SPA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
copyDesktopItems
|
||||
makeWrapper
|
||||
unzip
|
||||
];
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = pname;
|
||||
exec = "indigenous-desktop";
|
||||
icon = "indigenous-desktop";
|
||||
comment = meta.description;
|
||||
desktopName = "Indigenous";
|
||||
genericName = "Feed Reader";
|
||||
})
|
||||
];
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/opt/indigenous $out/share/indigenous $out/share/pixmaps
|
||||
cp -r ./ $out/opt/indigenous
|
||||
mv $out/opt/indigenous/{locales,resources} $out/share/indigenous
|
||||
mv $out/share/indigenous/resources/app/images/icon.png $out/share/pixmaps/indigenous-desktop.png
|
||||
|
||||
makeWrapper ${electron}/bin/electron $out/bin/indigenous-desktop \
|
||||
--add-flags $out/share/indigenous/resources/app
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "IndieWeb app with extensions for sharing to/reading from micropub endpoints";
|
||||
homepage = "https://indigenous.realize.be/indigenous-desktop";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ wolfangaukang ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,66 @@
|
|||
{ lib, stdenv, rustPlatform, fetchFromGitHub, stfl, sqlite, curl, gettext, pkg-config, libxml2, json_c, ncurses
|
||||
, asciidoctor, libiconv, Security, Foundation, makeWrapper }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "newsboat";
|
||||
version = "2.27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "newsboat";
|
||||
repo = "newsboat";
|
||||
rev = "r${version}";
|
||||
hash = "sha256-cHUI95Zrwzg242BM8/roA40sAxijFw6go6BbQNZSzRw=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-YZpaPfExKNLHWHmnCery4fGAJmOhpK3umuO343qe0Zo=";
|
||||
|
||||
# TODO: Check if that's still needed
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
# Allow other ncurses versions on Darwin
|
||||
substituteInPlace config.sh \
|
||||
--replace "ncurses5.4" "ncurses"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
asciidoctor
|
||||
gettext
|
||||
] ++ lib.optionals stdenv.isDarwin [ makeWrapper ncurses ];
|
||||
|
||||
buildInputs = [ stfl sqlite curl libxml2 json_c ncurses ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security Foundation libiconv gettext ];
|
||||
|
||||
postBuild = ''
|
||||
make prefix="$out"
|
||||
'';
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/pull/98471#issuecomment-703100014 . We set
|
||||
# these for all platforms, since upstream's gettext crate behavior might
|
||||
# change in the future.
|
||||
GETTEXT_LIB_DIR = "${lib.getLib gettext}/lib";
|
||||
GETTEXT_INCLUDE_DIR = "${lib.getDev gettext}/include";
|
||||
GETTEXT_BIN_DIR = "${lib.getBin gettext}/bin";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
preCheck = ''
|
||||
make test
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
make prefix="$out" install
|
||||
cp -r contrib $out
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
for prog in $out/bin/*; do
|
||||
wrapProgram "$prog" --prefix DYLD_LIBRARY_PATH : "${stfl}/lib"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://newsboat.org/";
|
||||
description = "A fork of Newsbeuter, an RSS/Atom feed reader for the text console";
|
||||
maintainers = with maintainers; [ dotlambda nicknovitski ];
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,99 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitLab
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, wrapGAppsHook
|
||||
, gdk-pixbuf
|
||||
, glib
|
||||
, gtk3
|
||||
, libhandy
|
||||
, openssl
|
||||
, sqlite
|
||||
, webkitgtk
|
||||
, glib-networking
|
||||
, librsvg
|
||||
, xdg-utils
|
||||
, gst_all_1
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "newsflash";
|
||||
version = "1.5.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "news-flash";
|
||||
repo = "news_flash_gtk";
|
||||
rev = version;
|
||||
hash = "sha256-fLG7oYt+gdl3Lwnu6c7VLJWSHCFY5LyNeDKoUNGg3Yw=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-dQlbK3SfY6p1xinroXz5wcaBbq2LuDM9sMlfJ6ueTTg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Post install tries to generate an icon cache & update the
|
||||
# desktop database. The gtk setup hook drop-icon-theme-cache.sh
|
||||
# would strip out the icon cache and the desktop database wouldn't
|
||||
# be included in $out. They will generated by xdg.mime.enable &
|
||||
# gtk.iconCache.enable instead.
|
||||
./no-post-install.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
|
||||
# Provides setup hook to fix "Unrecognized image file format"
|
||||
gdk-pixbuf
|
||||
|
||||
# Provides glib-compile-resources to compile gresources
|
||||
glib
|
||||
] ++ (with rustPlatform; [
|
||||
cargoSetupHook
|
||||
rust.cargo
|
||||
rust.rustc
|
||||
]);
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
libhandy
|
||||
openssl
|
||||
sqlite
|
||||
webkitgtk
|
||||
|
||||
# TLS support for loading external content in webkitgtk WebView
|
||||
glib-networking
|
||||
|
||||
# SVG support for gdk-pixbuf
|
||||
librsvg
|
||||
|
||||
# Open links in browser
|
||||
xdg-utils
|
||||
] ++ (with gst_all_1; [
|
||||
# Audio & video support for webkitgtk WebView
|
||||
gstreamer
|
||||
gst-plugins-base
|
||||
gst-plugins-good
|
||||
gst-plugins-bad
|
||||
]);
|
||||
|
||||
meta = with lib; {
|
||||
description = "A modern feed reader designed for the GNOME desktop";
|
||||
homepage = "https://gitlab.com/news-flash/news_flash_gtk";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ kira-bruneau stunkymonkey ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
diff --git a/meson.build b/meson.build
|
||||
index 1d7089c..1952e7f 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -61,5 +61,3 @@ meson.add_dist_script(
|
||||
meson.source_root(),
|
||||
join_paths(meson.build_root(), 'meson-dist', meson.project_name() + '-' + newsflash_version)
|
||||
)
|
||||
-
|
||||
-meson.add_install_script('build-aux/meson_post_install.py')
|
||||
27
pkgs/applications/networking/feedreaders/photon/default.nix
Normal file
27
pkgs/applications/networking/feedreaders/photon/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ buildGoModule, fetchFromSourcehut, lib, xorg }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "photon";
|
||||
version = "unstable-2022-01-11";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~ghost08";
|
||||
repo = "photon";
|
||||
rev = "5d1f7dd8d0d526096886b03c7bc0ef56cbdd6d79";
|
||||
sha256 = "sha256-2RSGLWfthcChd5YhDSBfLSch6wuTUv1Sh1f7flgzQwc=";
|
||||
};
|
||||
|
||||
buildInputs = [ xorg.libX11 ];
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
vendorSha256 = "sha256-1vlgnY4kZJfoAtbv+r8onxL03Ak32zKLJgtrBYZX09g=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "RSS/Atom reader with the focus on speed, usability and a bit of unix philosophy";
|
||||
homepage = "https://sr.ht/~ghost08/photon";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ kmein ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
{ pythonPackages, fetchurl, lib, nixosTests }:
|
||||
|
||||
with pythonPackages;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "rss2email";
|
||||
version = "3.13.1";
|
||||
|
||||
propagatedBuildInputs = [ feedparser html2text ];
|
||||
checkInputs = [ beautifulsoup4 ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/r/rss2email/${pname}-${version}.tar.gz";
|
||||
sha256 = "3994444766874bb35c9f886da76f3b24be1cb7bbaf40fad12b16f2af80ac1296";
|
||||
};
|
||||
|
||||
outputs = [ "out" "man" "doc" ];
|
||||
|
||||
postPatch = ''
|
||||
# sendmail executable is called from PATH instead of sbin by default
|
||||
sed -e 's|/usr/sbin/sendmail|sendmail|' \
|
||||
-i rss2email/config.py
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
install -Dm 644 r2e.1 $man/share/man/man1/r2e.1
|
||||
# an alias for better finding the manpage
|
||||
ln -s -T r2e.1 $man/share/man/man1/rss2email.1
|
||||
|
||||
# copy documentation
|
||||
mkdir -p $doc/share/doc/rss2email
|
||||
cp AUTHORS COPYING CHANGELOG README.rst $doc/share/doc/rss2email/
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
env PATH=$out/bin:$PATH python ./test/test.py
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool that converts RSS/Atom newsfeeds to email";
|
||||
homepage = "https://pypi.python.org/pypi/rss2email";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ Profpatsch ekleog ];
|
||||
};
|
||||
passthru.tests = {
|
||||
smoke-test = nixosTests.rss2email;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, qmake, qtwebengine, qttools, wrapGAppsHook, wrapQtAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rssguard";
|
||||
version = "4.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "martinrotter";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-aG7Wkn2CHe7Dumskd0+DMja95lzvBWnFXACSqfU7Ow0=";
|
||||
};
|
||||
|
||||
buildInputs = [ qtwebengine qttools ];
|
||||
nativeBuildInputs = [ qmake wrapGAppsHook wrapQtAppsHook ];
|
||||
qmakeFlags = [ "CONFIG+=release" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple RSS/Atom feed reader with online synchronization";
|
||||
longDescription = ''
|
||||
RSS Guard is a simple, light and easy-to-use RSS/ATOM feed aggregator
|
||||
developed using Qt framework and with online feed synchronization support
|
||||
for ownCloud/Nextcloud.
|
||||
'';
|
||||
homepage = "https://github.com/martinrotter/rssguard";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ jluttine ];
|
||||
};
|
||||
}
|
||||
36
pkgs/applications/networking/feedreaders/rsstail/default.nix
Normal file
36
pkgs/applications/networking/feedreaders/rsstail/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cppcheck, libmrss, libiconv }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "rsstail";
|
||||
version = "2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "12p69i3g1fwlw0bds9jqsdmzkid3k5a41w31d227i7vm12wcvjf6";
|
||||
rev = "6f2436185372b3f945a4989406c4b6a934fe8a95";
|
||||
repo = "rsstail";
|
||||
owner = "flok99";
|
||||
};
|
||||
|
||||
buildInputs = [ libmrss ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
checkInputs = [ cppcheck ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace -liconv_hook ""
|
||||
'';
|
||||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Monitor RSS feeds for new entries";
|
||||
longDescription = ''
|
||||
RSSTail is more or less an RSS reader: it monitors an RSS feed and if it
|
||||
detects a new entry it'll emit only that new entry.
|
||||
'';
|
||||
homepage = "http://www.vanheusden.com/rsstail/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue