diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-01-07 14:58:29 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-01-07 14:58:29 +0100 |
commit | ad899504860973e98351c922ecb934595f2c0f19 (patch) | |
tree | b1260cc90947e834af941c6cb6aed51dc68f50b5 /nixpkgs/pkgs/development/python-modules/rachiopy/default.nix | |
parent | f34a1b70eb86e4a63cfb88ea460345bb1aed88e3 (diff) | |
parent | dc676e1b5014069a2b06e236242e2f0990384934 (diff) | |
download | nixlib-ad899504860973e98351c922ecb934595f2c0f19.tar nixlib-ad899504860973e98351c922ecb934595f2c0f19.tar.gz nixlib-ad899504860973e98351c922ecb934595f2c0f19.tar.bz2 nixlib-ad899504860973e98351c922ecb934595f2c0f19.tar.lz nixlib-ad899504860973e98351c922ecb934595f2c0f19.tar.xz nixlib-ad899504860973e98351c922ecb934595f2c0f19.tar.zst nixlib-ad899504860973e98351c922ecb934595f2c0f19.zip |
Merge branch 'nixos-unstable-small' of https://github.com/NixOS/nixpkgs
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/rachiopy/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/rachiopy/default.nix | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/rachiopy/default.nix b/nixpkgs/pkgs/development/python-modules/rachiopy/default.nix index 83a0ef3146d5..1eb1b547e418 100644 --- a/nixpkgs/pkgs/development/python-modules/rachiopy/default.nix +++ b/nixpkgs/pkgs/development/python-modules/rachiopy/default.nix @@ -1,35 +1,48 @@ { lib -, requests , buildPythonPackage , fetchFromGitHub , jsonschema , pytestCheckHook +, pythonOlder +, requests +, setuptools }: buildPythonPackage rec { pname = "rachiopy"; - version = "1.0.3"; - format = "setuptools"; + version = "1.1.0"; + pyproject = true; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "rfverbruggen"; - repo = pname; - rev = version; - sha256 = "1d5v9qc7ymzns3ivc5fzwxnxz9sjkhklh57cw05va95mpk5kdskc"; + repo = "rachiopy"; + rev = "refs/tags/${version}"; + hash = "sha256-PsdEXNy8vUxba/C00ARhLTQU9gMlChy9XdU20r+Maus="; }; - propagatedBuildInputs = [ requests ]; + nativeBuildInputs = [ + setuptools + ]; + + propagatedBuildInputs = [ + requests + ]; nativeCheckInputs = [ jsonschema pytestCheckHook ]; - pythonImportsCheck = [ "rachiopy" ]; + pythonImportsCheck = [ + "rachiopy" + ]; meta = with lib; { description = "Python client for Rachio Irrigation controller"; homepage = "https://github.com/rfverbruggen/rachiopy"; + changelog = "https://github.com/rfverbruggen/rachiopy/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; |