pythonPackages.sepaxml: 2.0.0 -> 2.1.0
This commit is contained in:
parent
a7279ea9dc
commit
2fad3c5a74
@ -1,17 +1,32 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
|
{ stdenv, buildPythonPackage, fetchFromGitHub, isPy27
|
||||||
|
, lxml
|
||||||
|
, pytest
|
||||||
|
, text-unidecode
|
||||||
|
, xmlschema
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "2.0.0";
|
version = "2.1.0";
|
||||||
pname = "sepaxml";
|
pname = "sepaxml";
|
||||||
disabled = !isPy3k;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "raphaelm";
|
||||||
sha256 = "0jhj8fa0lbyaw15q485kyyli9qgrmqr47a6z6pgqm40kwmjghiyc";
|
repo = "python-sepaxml";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0lkb0nnyxmwvm6gkwls8w2290b66lwz9bv8p39wwcn7flabviwhj";
|
||||||
};
|
};
|
||||||
|
|
||||||
# no tests included in PyPI package
|
propagatedBuildInputs = [
|
||||||
doCheck = false;
|
text-unidecode
|
||||||
|
xmlschema
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [ pytest lxml ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/raphaelm/python-sepaxml/;
|
homepage = https://github.com/raphaelm/python-sepaxml/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user