1{ lib 2, buildPythonPackage 3, fetchPypi 4, glibcLocales 5, pytestCheckHook 6, pythonOlder 7, pytz 8, six 9}: 10 11buildPythonPackage rec { 12 pname = "feedgenerator"; 13 version = "1.9.2"; 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "sha256-sG1pQej9aiyecXkQeehsvno3iMciRKzAbwWTtJzaN5s="; 19 }; 20 21 buildInputs = [ 22 glibcLocales 23 ]; 24 25 LC_ALL = "en_US.UTF-8"; 26 27 propagatedBuildInputs = [ 28 pytz 29 six 30 ]; 31 32 checkInputs = [ 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ "feedgenerator" ]; 37 38 meta = with lib; { 39 description = "Standalone version of Django's feedgenerator module"; 40 homepage = "https://github.com/getpelican/feedgenerator"; 41 license = licenses.bsd3; 42 maintainers = with maintainers; [ ]; 43 }; 44}