11 buildPythonPackage rec {
12 pname = "pyuptimerobot";
14 format = "setuptools";
16 disabled = pythonOlder "3.8";
18 src = fetchFromGitHub {
21 rev = "refs/tags/${version}";
22 hash = "sha256-hy/hmXxxEb44X8JUszoA1YF/41y7GkQqC4uS+Pax6WA=";
26 # Upstream doesn't set version in the repo
27 substituteInPlace setup.py \
28 --replace 'version="main",' 'version="${version}",'
31 propagatedBuildInputs = [
41 pythonImportsCheck = [
46 description = "Python API wrapper for Uptime Robot";
47 homepage = "https://github.com/ludeeus/pyuptimerobot";
48 changelog = "https://github.com/ludeeus/pyuptimerobot/releases/tag/${version}";
49 license = licenses.mit;
50 maintainers = with maintainers; [ fab ];