python3Packages.feedgenerator: enable tests
This commit is contained in:
parent
7796697ca7
commit
dc137c8dab
1 changed files with 27 additions and 6 deletions
|
@ -1,23 +1,44 @@
|
|||
{ lib, buildPythonPackage, glibcLocales, fetchPypi, six, pytz }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, glibcLocales
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pytz
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "feedgenerator";
|
||||
version = "1.9.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-sG1pQej9aiyecXkQeehsvno3iMciRKzAbwWTtJzaN5s=";
|
||||
};
|
||||
|
||||
buildInputs = [ glibcLocales ];
|
||||
buildInputs = [
|
||||
glibcLocales
|
||||
];
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
propagatedBuildInputs = [ six pytz ];
|
||||
propagatedBuildInputs = [
|
||||
pytz
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "feedgenerator" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Standalone version of django.utils.feedgenerator, compatible with Py3k";
|
||||
homepage = "https://github.com/dmdm/feedgenerator-py3k.git";
|
||||
description = "Standalone version of Django's feedgenerator module";
|
||||
homepage = "https://github.com/getpelican/feedgenerator";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue