nixpkgs/pkgs/applications/networking/feedreaders/gnome-feeds/listparser.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
632 B
Nix
Raw Normal View History

2020-07-05 16:32:56 +02:00
{ 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;
};
}