summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/feedfinder2/default.nix
blob: 60eaf2b06f64766ca9e23ee2adece939f026a42e (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
  lib,
  buildPythonPackage,
  fetchPypi,

  setuptools,

  six,
  requests,
  beautifulsoup4,
}:

buildPythonPackage rec {
  pname = "feedfinder2";
  version = "0.0.4";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-NwHuAabIX4uGWgScMLoLRgiFjIA/6OMNHSif2+idDv4=";
  };

  build-system = [ setuptools ];

  dependencies = [
    six
    requests
    beautifulsoup4
  ];

  # no tests
  doCheck = false;

  pythonImportsCheck = [ "feedfinder2" ];

  meta = {
    description = "Python library for finding feed links on websites";
    homepage = "https://github.com/dfm/feedfinder2";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ vizid ];
  };
}