Unverified Commit 5b7fc70b authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python311Packages.boa-api: add format

- disable on unsupported Python relases
parent 5c06b083
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
{ 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";