nixpkgs/pkgs/development/python-modules/sleepyq/default.nix

33 lines
626 B
Nix
Raw Normal View History

2021-04-11 18:00:53 +01:00
{ 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 ];
};
}