anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / wsme / default.nix
blob31c2ebd9aae9ba861c12dceda7611c63c53e8519
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pbr,
6   setuptools,
7   importlib-metadata,
8   simplegeneric,
9   netaddr,
10   # Test inputs
11   flask,
12   flask-restful,
13   pecan,
14   sphinx,
15   transaction,
16   webtest,
17   pytestCheckHook,
20 buildPythonPackage rec {
21   pname = "wsme";
22   version = "0.12.1";
23   pyproject = true;
25   src = fetchPypi {
26     pname = "WSME";
27     inherit version;
28     hash = "sha256-m36yJErzxwSskUte0iGVS7aK3QqLKy84okSwZ7M3mS0=";
29   };
31   build-system = [ setuptools ];
33   nativeBuildInputs = [ pbr ];
35   dependencies = [
36     importlib-metadata
37     simplegeneric
38     netaddr
39   ];
41   nativeCheckInputs = [
42     pytestCheckHook
43     flask
44     flask-restful
45     pecan
46     sphinx
47     transaction
48     webtest
49   ];
51   pytestFlagsArray = [
52     "wsme/tests"
53     "tests/pecantest"
54     "tests/test_sphinxext.py"
55     "tests/test_flask.py"
56   ];
58   meta = {
59     description = "Simplify the writing of REST APIs, and extend them with additional protocols";
60     homepage = "https://pythonhosted.org/WSME/";
61     changelog = "https://pythonhosted.org/WSME/changes.html";
62     license = lib.licenses.mit;
63     maintainers = with lib.maintainers; [ sigmanificient ];
64   };