depot/third_party/nixpkgs/pkgs/development/python-modules/boa-api/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

35 lines
830 B
Nix

{ 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 = "refs/tags/v${version}";
sha256 = "sha256-8tt68NLi5ewSKiHdu3gDawTBPylbDmB4zlUUqa7EQuY=";
};
# upstream has no tests
doCheck = false;
pythonImportsCheck = [
"boaapi"
];
meta = {
homepage = "https://github.com/boalang/api-python";
description = "Python client API for communicating with Boa's (https://boa.cs.iastate.edu/) XML-RPC based services";
changelog = "https://github.com/boalang/api-python/blob/${src.rev}/Changes.txt";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ swflint ];
};
}