aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/tools/networking/urlwatch/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/tools/networking/urlwatch/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/tools/networking/urlwatch/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/tools/networking/urlwatch/default.nix b/infra/libkookie/nixpkgs/pkgs/tools/networking/urlwatch/default.nix
new file mode 100644
index 000000000000..f23aed3707be
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/tools/networking/urlwatch/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchFromGitHub, python3Packages }:
+
+python3Packages.buildPythonApplication rec {
+ name = "urlwatch-${version}";
+ version = "2.19";
+
+ src = fetchFromGitHub {
+ owner = "thp";
+ repo = "urlwatch";
+ rev = version;
+ sha256 = "05vxs0x8gnsv2r9cy0brqny1y5jnj2mw11lqc8lqahx84xcs2m00";
+ };
+
+ propagatedBuildInputs = with python3Packages; [
+ appdirs
+ cssselect
+ keyring
+ lxml
+ minidb
+ pycodestyle
+ pyyaml
+ requests
+ ];
+
+ meta = with stdenv.lib; {
+ description = "A tool for monitoring webpages for updates";
+ homepage = "https://thp.io/2008/urlwatch/";
+ license = licenses.bsd3;
+ maintainers = with maintainers; [ tv ];
+ };
+}