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