From 5e5014098c7b461b8d905f7e6f90aaf6336b2d68 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 2 Oct 2016 12:21:02 +0200 Subject: [PATCH] nextcloud-news-updater: init at 9.0.2 --- pkgs/servers/nextcloud/news-updater.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/servers/nextcloud/news-updater.nix diff --git a/pkgs/servers/nextcloud/news-updater.nix b/pkgs/servers/nextcloud/news-updater.nix new file mode 100644 index 000000000000..c2b913a5b378 --- /dev/null +++ b/pkgs/servers/nextcloud/news-updater.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, python3Packages, php }: + +python3Packages.buildPythonApplication rec { + name = "nextcloud-news-updater-${version}"; + version = "9.0.2"; + + src = fetchurl { + url = "mirror://pypi/n/nextcloud_news_updater/nextcloud_news_updater-${version}.tar.gz"; + sha256 = "1m6g4591zyvjl2fji4iwl9api02racgc9rqa0gf0mfsqwdr77alw"; + }; + + doCheck = false; + + propagatedBuildInputs = [ php ]; + + meta = { + description = "Fast parallel feed updater for the Nextcloud news app"; + homepage = "https://github.com/nextcloud/news-updater"; + license = stdenv.lib.licenses.gpl3; + maintainers = with stdenv.lib.maintainers; [ schneefux ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 22290d2d95c8..95ef09b43b27 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2807,6 +2807,8 @@ in nextcloud = callPackage ../servers/nextcloud { }; + nextcloud-news-updater = callPackage ../servers/nextcloud/news-updater.nix { }; + ngrep = callPackage ../tools/networking/ngrep { }; ngrok = callPackage ../tools/networking/ngrok { };