From d1aa84d94a996c1cf031fb997d6acf13c3431a54 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 31 Oct 2024 23:35:22 +0100 Subject: [PATCH] python312Packages.pydexcom: 0.4.0 -> 0.4.1 Diff: https://github.com/gagebenne/pydexcom/compare/refs/tags/0.4.0...0.4.1 Changelog: https://github.com/gagebenne/pydexcom/releases/tag/0.4.1 --- .../python-modules/pydexcom/default.nix | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/pydexcom/default.nix b/pkgs/development/python-modules/pydexcom/default.nix index 996fce70df66..29a250160add 100644 --- a/pkgs/development/python-modules/pydexcom/default.nix +++ b/pkgs/development/python-modules/pydexcom/default.nix @@ -2,32 +2,32 @@ lib, buildPythonPackage, fetchFromGitHub, + hatch-vcs, + hatchling, pythonOlder, requests, - setuptools, - setuptools-scm, }: buildPythonPackage rec { pname = "pydexcom"; - version = "0.4.0"; + version = "0.4.1"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "gagebenne"; repo = "pydexcom"; rev = "refs/tags/${version}"; - hash = "sha256-gMUdVdO2Yy41Nl+mn9dEegb6/IRBwoBviPhuz3CMfS8="; + hash = "sha256-cf3AhqaA5aij2NCeFqruoeE0ovJSgZgEnVHcE3iXJ1s="; }; - nativeBuildInputs = [ - setuptools - setuptools-scm + build-system = [ + hatchling + hatch-vcs ]; - propagatedBuildInputs = [ requests ]; + dependencies = [ requests ]; # Tests are interacting with the Dexcom API doCheck = false; @@ -38,7 +38,7 @@ buildPythonPackage rec { description = "Python API to interact with Dexcom Share service"; homepage = "https://github.com/gagebenne/pydexcom"; changelog = "https://github.com/gagebenne/pydexcom/releases/tag/${version}"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }