about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/feedfinder2/default.nix
blob: bb5528815294fa00bbab6ee15c90d7954c82f04b (plain) (blame)
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
43
{ 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 = with lib; {
    description = "A Python library for finding feed links on websites";
    homepage = "https://github.com/dfm/feedfinder2";
    license = licenses.mit;
    maintainers = with maintainers; [ vizid ];
  };
}