159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
46 lines
900 B
Nix
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";
|
|
};
|
|
}
|