about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/feedreaders/feeds/listparser.nix
blob: c67df416c5c6c87770d27675893b09be105915c1 (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
{ lib
, python3
}:
python3.pkgs.buildPythonPackage rec {
  pname = "listparser";
  version = "0.18";

  src = python3.pkgs.fetchPypi {
    inherit pname version;
    sha256 = "0hdqs1mmayw1r8yla43hgb4d9y3zqs5483vgf8j9ygczkd2wrq2b";
  };

  propagatedBuildInputs = with python3.pkgs; [
    requests
    six
  ];

  checkPhase = ''
    ${python3.interpreter} lptest.py
  '';

  meta = with lib; {
    description = "A parser for subscription lists";
    homepage = "https://github.com/kurtmckee/listparser";
    license = licenses.lgpl3Plus;
    maintainers = [
      maintainers.pbogdan
    ];
    platforms = platforms.linux;
  };
}