btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / ur / urlwatch / package.nix
blob1eec3cf0653d61ea8932eda40b7cf723b43a6c5a
1 { lib
2 , fetchFromGitHub
3 , python3Packages
4 }:
6 python3Packages.buildPythonApplication rec {
7   pname = "urlwatch";
8   version = "2.29";
10   src = fetchFromGitHub {
11     owner = "thp";
12     repo = "urlwatch";
13     rev = version;
14     hash = "sha256-X1UR9JrQuujOIUg87W0YqfXsM3A5nttWjjJMIe3hgk8=";
15   };
17   propagatedBuildInputs = with python3Packages; [
18     cssselect
19     jq
20     keyring
21     lxml
22     markdown2
23     matrix-client
24     minidb
25     playwright
26     platformdirs
27     pushbullet-py
28     pycodestyle
29     pyyaml
30     requests
31   ];
33   # no tests
34   doCheck = false;
36   meta = with lib; {
37     description = "Tool for monitoring webpages for updates";
38     mainProgram = "urlwatch";
39     homepage = "https://thp.io/2008/urlwatch/";
40     license = licenses.bsd3;
41     maintainers = with maintainers; [ kmein tv ];
42   };