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