1{
2 lib,
3 aiohttp,
4 auth0-python,
5 buildPythonPackage,
6 fetchFromGitHub,
7 requests,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "sharkiq";
13 version = "1.4.0";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "JeffResc";
18 repo = "sharkiq";
19 tag = "v${version}";
20 hash = "sha256-XPqrEE/GwIn4sqbhETRPhBBPkH8Je+LKoDV+qDb3Ry8=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 aiohttp
27 auth0-python
28 requests
29 ];
30
31 # Module has no tests
32 doCheck = false;
33
34 pythonImportsCheck = [ "sharkiq" ];
35
36 meta = with lib; {
37 description = "Python API for Shark IQ robots";
38 homepage = "https://github.com/JeffResc/sharkiq";
39 changelog = "https://github.com/JeffResc/sharkiq/releases/tag/${src.tag}";
40 license = licenses.mit;
41 maintainers = with maintainers; [ fab ];
42 };
43}