depot/third_party/nixpkgs/pkgs/development/python-modules/tellduslive/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

46 lines
900 B
Nix

{
lib,
buildPythonPackage,
docopt,
fetchFromGitHub,
requests,
requests-oauthlib,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "tellduslive";
version = "0.10.12";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "molobrakos";
repo = "tellduslive";
rev = "refs/tags/v${version}";
sha256 = "sha256-fWL+VSvoT+dT0jzD8DZEMxzTlqj4TYGCJPLpeui5q64=";
};
build-system = [ setuptools ];
dependencies = [
docopt
requests
requests-oauthlib
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "tellduslive" ];
meta = with lib; {
description = "Python module to communicate with Telldus Live";
homepage = "https://github.com/molobrakos/tellduslive";
license = licenses.unlicense;
maintainers = with maintainers; [ fab ];
mainProgram = "tellduslive";
};
}