Merge pull request #133106 from SuperSandro2000/cleanup

This commit is contained in:
Sandro 2021-08-08 12:34:45 +02:00 committed by GitHub
commit d303b62c2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View file

@ -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" ];

View file

@ -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/";