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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
784 B
Nix
Raw Normal View History

2022-02-03 18:01:02 +00:00
{ lib
, aiohttp
, buildPythonPackage
, colour
, fetchFromGitHub
, poetry-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "ttls";
2022-02-25 07:52:47 +00:00
version = "1.4.3";
2022-02-03 18:01:02 +00:00
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "jschlyter";
repo = pname;
rev = "v${version}";
2022-02-25 07:52:47 +00:00
hash = "sha256-lBmkfB7HXB+1xLbfOl4wVtsOVfKhztoDBqzV8i6bFAg=";
2022-02-03 18:01:02 +00:00
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
colour
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"ttls"
];
meta = with lib; {
description = "Module to interact with Twinkly LEDs";
homepage = "https://github.com/jschlyter/ttls";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}