Merge pull request #230763 from fabaff/avion-fix
python310Packages.avion: fix specifier
This commit is contained in:
commit
b07b3998f1
|
@ -4,18 +4,28 @@
|
|||
, csrmesh
|
||||
, fetchPypi
|
||||
, pycryptodome
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "avion";
|
||||
version = "0.10";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zgv45086b97ngyqxdp41wxb7hpn9g7alygc21j9y3dib700vzdz";
|
||||
hash = "sha256-v/0NwFmxDZ9kEOx5qs5L9sKzOg/kto79syctg0Ah+30=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/mjg59/python-avion/pull/16
|
||||
substituteInPlace setup.py \
|
||||
--replace "bluepy>==1.1.4" "bluepy>=1.1.4"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bluepy
|
||||
csrmesh
|
||||
|
@ -23,8 +33,9 @@ buildPythonPackage rec {
|
|||
requests
|
||||
];
|
||||
|
||||
# Project has no test
|
||||
# Module has no test
|
||||
doCheck = false;
|
||||
|
||||
# bluepy/uuids.json is not found
|
||||
# pythonImportsCheck = [ "avion" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue