python310Packages.omnilogic: 0.4.5 -> 0.4.6
https://github.com/djtimca/omnilogic-api/releases/tag/0.4.6
This commit is contained in:
parent
30d1a2f29e
commit
3a0ee098a1
1 changed files with 7 additions and 7 deletions
|
@ -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