about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sleepyq/default.nix
blob: e93a77fd2e79e515c2daf71334f54b101ea144c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchPypi
, inflection
, requests
}:

buildPythonPackage rec {
  pname = "sleepyq";
  version = "0.8.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1bhzrxpzglfw4qbqfzyxr7dmmavzq4pq0h90jh0aa8vdw7iy7g7v";
  };

  propagatedBuildInputs = [
    inflection
    requests
  ];

  # Project has no tests
  doCheck = false;
  pythonImportsCheck = [ "sleepyq" ];

  meta = with lib; {
    description = "Python module for SleepIQ API";
    homepage = "https://github.com/technicalpickles/sleepyq";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}