1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 inflection,
6 requests,
7}:
8
9buildPythonPackage rec {
10 pname = "sleepyq";
11 version = "0.8.1";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "1bhzrxpzglfw4qbqfzyxr7dmmavzq4pq0h90jh0aa8vdw7iy7g7v";
17 };
18
19 propagatedBuildInputs = [
20 inflection
21 requests
22 ];
23
24 # Project has no tests
25 doCheck = false;
26 pythonImportsCheck = [ "sleepyq" ];
27
28 meta = with lib; {
29 description = "Python module for SleepIQ API";
30 homepage = "https://github.com/technicalpickles/sleepyq";
31 license = with licenses; [ mit ];
32 maintainers = with maintainers; [ fab ];
33 };
34}