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 = "2.0.0"; 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "6836d456b8b0edbc5b6d3a42d1be852cebd43d2f28af4ff51789eb295f1860e2"; 19 }; 20 21 postPatch = '' 22 sed -i '/cov/d' setup.cfg 23 ''; 24 25 buildInputs = [ 26 glibcLocales 27 ]; 28 29 LC_ALL = "en_US.UTF-8"; 30 31 propagatedBuildInputs = [ 32 pytz 33 six 34 ]; 35 36 checkInputs = [ 37 pytestCheckHook 38 ]; 39 40 pythonImportsCheck = [ "feedgenerator" ]; 41 42 meta = with lib; { 43 description = "Standalone version of Django's feedgenerator module"; 44 homepage = "https://github.com/getpelican/feedgenerator"; 45 license = licenses.bsd3; 46 maintainers = with maintainers; [ ]; 47 }; 48}