Merge pull request #176606 from dotlambda/omnilogic-0.4.6
python310Packages.omnilogic: 0.4.5 -> 0.4.6
This commit is contained in:
commit
c1611cac99
|
@ -2,18 +2,23 @@
|
|||
, aiohttp
|
||||
, xmltodict
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "omnilogic";
|
||||
version = "0.4.5";
|
||||
version = "0.4.6";
|
||||
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "djtimca";
|
||||
repo = "omnilogic-api";
|
||||
rev = version;
|
||||
sha256 = "081awb0fl40b5ighc9yxfq1xkgxz7l5dvz5544hx965q2r20wvsg";
|
||||
hash = "sha256-XyAniuUr/Kt8VfBtovD4kKLG+ehOqE26egEG7j8q9LY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -21,11 +26,6 @@ buildPythonPackage rec {
|
|||
xmltodict
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Is not used but still present in setup.py
|
||||
substituteInPlace setup.py --replace "'config'," ""
|
||||
'';
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "omnilogic" ];
|
||||
|
|
Loading…
Reference in a new issue