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