1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pythonOlder
5}:
6
7buildPythonPackage rec {
8 pname = "boa-api";
9 version = "0.1.14";
10 format = "setuptools";
11
12 disabled = pythonOlder "3.7";
13
14 src = fetchFromGitHub {
15 owner = "boalang";
16 repo = "api-python";
17 rev = "refs/tags/v${version}";
18 sha256 = "sha256-8tt68NLi5ewSKiHdu3gDawTBPylbDmB4zlUUqa7EQuY=";
19 };
20
21 # upstream has no tests
22 doCheck = false;
23
24 pythonImportsCheck = [
25 "boaapi"
26 ];
27
28 meta = {
29 homepage = "https://github.com/boalang/api-python";
30 description = "Python client API for communicating with Boa's (https://boa.cs.iastate.edu/) XML-RPC based services";
31 changelog = "https://github.com/boalang/api-python/blob/${src.rev}/Changes.txt";
32 license = lib.licenses.asl20;
33 maintainers = with lib.maintainers; [ swflint ];
34 };
35}