summary refs log blame commit diff
path: root/pkgs/tools/networking/urlwatch/default.nix
blob: 885304d9fdb10c9a12c5cae092d9f64dae5941d9 (plain) (tree)
1
2
3
4
5
6
7
8
9



                 
 
                                            
                     
                   
 
                         


                      
                                                                 

    
                                                 
           
             
      
           
        

                 
          
                 
               
             
          
            
    
 


                  
                    
                                                               
                                               
                            
                                                 

    
{ lib
, fetchFromGitHub
, python3Packages
}:

python3Packages.buildPythonApplication rec {
  pname = "urlwatch";
  version = "2.28";

  src = fetchFromGitHub {
    owner = "thp";
    repo = "urlwatch";
    rev = version;
    hash = "sha256-dGohG2+HrsuKegPAn1fmpLYPpovEEUsx+C/0sp2/cX0=";
  };

  propagatedBuildInputs = with python3Packages; [
    appdirs
    cssselect
    jq
    keyring
    lxml
    markdown2
    matrix-client
    minidb
    pushbullet-py
    pycodestyle
    pyppeteer
    pyyaml
    requests
  ];

  # no tests
  doCheck = false;

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