Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
878 B · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, requests, pythonOlder, setuptools}:
buildPythonPackage rec { pname = "pytado"; version = "0.17.4"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "wmalgadey"; repo = "PyTado"; rev = "refs/tags/${version}"; hash = "sha256-Wdd9HdsQjaYlL8knhMuO87+dom+aTsmrLRK0UdrpsbQ="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ requests ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "PyTado" ];
meta = with lib; { description = "Python binding for Tado web API"; homepage = "https://github.com/wmalgadey/PyTado"; changelog = "https://github.com/wmalgadey/PyTado/releases/tag/${version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ ]; };}