nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 buildPythonPackage,
5 setuptools,
6 django,
7 coreschema,
8 itypes,
9 uritemplate,
10 requests,
11 standard-cgi,
12 pytestCheckHook,
13}:
14
15buildPythonPackage rec {
16 pname = "coreapi";
17 version = "2.3.3";
18 pyproject = true;
19
20 src = fetchFromGitHub {
21 repo = "python-client";
22 owner = "core-api";
23 tag = version;
24 hash = "sha256-nNUzQbBaT7woI3fmvPvIM0SVDnt4iC2rQ9bDgUeFzLA=";
25 };
26
27 build-system = [ setuptools ];
28
29 dependencies = [
30 django
31 coreschema
32 itypes
33 uritemplate
34 requests
35 standard-cgi
36 ];
37
38 nativeCheckInputs = [ pytestCheckHook ];
39
40 meta = {
41 description = "Python client library for Core API";
42 homepage = "https://github.com/core-api/python-client";
43 license = lib.licenses.bsd3;
44 maintainers = [ ];
45 };
46}