python311Packages.boa-api: add format
- disable on unsupported Python relases
This commit is contained in:
parent
5c06b08329
commit
5b7fc70b8f
|
@ -1,23 +1,29 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "boa-api";
|
pname = "boa-api";
|
||||||
version = "0.1.14";
|
version = "0.1.14";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "boalang";
|
owner = "boalang";
|
||||||
repo = "api-python";
|
repo = "api-python";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-8tt68NLi5ewSKiHdu3gDawTBPylbDmB4zlUUqa7EQuY=";
|
sha256 = "sha256-8tt68NLi5ewSKiHdu3gDawTBPylbDmB4zlUUqa7EQuY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# upstream has no tests
|
# upstream has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "boaapi" ];
|
pythonImportsCheck = [
|
||||||
|
"boaapi"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/boalang/api-python";
|
homepage = "https://github.com/boalang/api-python";
|
||||||
|
|
Loading…
Reference in a new issue