forked from mirrors/nixpkgs
Merge pull request #133106 from SuperSandro2000/cleanup
This commit is contained in:
commit
d303b62c2e
|
@ -13,6 +13,11 @@ buildPythonPackage rec {
|
|||
sha256 = "120qar8iaxj6dmnhjw1c40n2w06f1nyxy57dwh06xdiany698fg4";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements/base.txt \
|
||||
--replace 'simplejson==3' 'simplejson~=3'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ simplejson ];
|
||||
|
||||
nativeBuildInputs = [ autoconf automake cmake libtool perl ];
|
||||
|
@ -21,10 +26,6 @@ buildPythonPackage rec {
|
|||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace requirements/base.txt --replace 'simplejson==3' 'simplejson~=3'
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "awslambdaric" "runtime_client" ];
|
||||
|
|
|
@ -10,13 +10,15 @@ buildPythonPackage rec {
|
|||
version = "1.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "xml_marshaller";
|
||||
inherit version;
|
||||
sha256 = "sha256-QvBALLDD8o5nZQ5Z4bembhadK6jcydWKQpJaSmGqqJM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ lxml six ];
|
||||
|
||||
pythonImportsCheck = [ "xml_marshaller" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "This module allows one to marshal simple Python data types into a custom XML format.";
|
||||
homepage = "https://www.python.org/community/sigs/current/xml-sig/";
|
||||
|
|
Loading…
Reference in a new issue