about summary refs log tree commit diff
path: root/pkgs/applications/networking/feedreaders/gnome-feeds/listparser.nix
blob: 77aa94a3b863a138aee46dd20091238ca090a7bf (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
{ lib
, python3
, fetchPypi
}:

python3.pkgs.buildPythonPackage rec {
  pname = "listparser";
  version = "0.18";

  src = 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;
  };
}