summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/urlwatch/default.nix
blob: adaefbc4d64e0e614f4fc012b2e156549fbf9bba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchurl, python3Packages }:

python3Packages.buildPythonPackage rec {
  name = "urlwatch-${meta.version}";

  src = fetchurl {
    url = "https://github.com/thp/urlwatch/archive/${meta.version}.tar.gz";
    sha256 = "09bn31gn03swi7yr3s1ql8x07hx96gap1ka77kk44kk0lvfxn55b";
  };

  propagatedBuildInputs = with python3Packages; [
    keyring
    minidb
    pycodestyle
    pyyaml
    requests
  ];

  meta = {
    description = "A tool for monitoring webpages for updates";
    homepage = https://thp.io/2008/urlwatch/;
    license = stdenv.lib.licenses.bsd3;
    maintainers = [ stdenv.lib.maintainers.tv ];
    version = "2.6";
  };
}