diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-05-29 08:15:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-29 08:15:54 +0200 |
commit | 5b7fc70b8f0b17b5ba149d1b578c1849b265a20b (patch) | |
tree | fde0132920d494594f3458ee96650d9dd2683afa /pkgs/development/python-modules/boa-api | |
parent | 5c06b08329e561233c24b0ebde8e0c74e7f1ba2f (diff) |
python311Packages.boa-api: add format
- disable on unsupported Python relases
Diffstat (limited to 'pkgs/development/python-modules/boa-api')
-rw-r--r-- | pkgs/development/python-modules/boa-api/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/boa-api/default.nix b/pkgs/development/python-modules/boa-api/default.nix index 6c7083252dfa3..d96b64522622c 100644 --- a/pkgs/development/python-modules/boa-api/default.nix +++ b/pkgs/development/python-modules/boa-api/default.nix @@ -1,23 +1,29 @@ { lib , buildPythonPackage , fetchFromGitHub +, pythonOlder }: buildPythonPackage rec { pname = "boa-api"; version = "0.1.14"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "boalang"; repo = "api-python"; - rev = "v${version}"; + rev = "refs/tags/v${version}"; sha256 = "sha256-8tt68NLi5ewSKiHdu3gDawTBPylbDmB4zlUUqa7EQuY="; }; # upstream has no tests doCheck = false; - pythonImportsCheck = [ "boaapi" ]; + pythonImportsCheck = [ + "boaapi" + ]; meta = { homepage = "https://github.com/boalang/api-python"; |