33 lines
626 B
Nix
33 lines
626 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, inflection
|
||
|
, requests
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "sleepyq";
|
||
|
version = "0.8.1";
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|