From 04b8f3b11c41b2e9af5be4610e40887359a8badf Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 5 Jul 2024 08:15:20 +0200 Subject: [PATCH] python311Packages.pint: 0.24 -> 0.24.1 Diff: https://github.com/hgrecco/pint/compare/refs/tags/0.24...0.24.1 Changelog: https://github.com/hgrecco/pint/blob/0.24.1/CHANGES --- .../python-modules/pint/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/pint/default.nix b/pkgs/development/python-modules/pint/default.nix index 178e738ed165..211027c8c4f6 100644 --- a/pkgs/development/python-modules/pint/default.nix +++ b/pkgs/development/python-modules/pint/default.nix @@ -25,24 +25,24 @@ buildPythonPackage rec { pname = "pint"; - version = "0.24"; - format = "pyproject"; + version = "0.24.1"; + pyproject = true; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "hgrecco"; repo = "pint"; rev = "refs/tags/${version}"; - hash = "sha256-zMcLC3SSl/W7+xX4ah3ZV7fN/LIGJzatqH4MNK8/fec="; + hash = "sha256-PQAQvjMi7pFgNhUbw20vc306aTyEbCQNHGef/pxxpXo="; }; - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm ]; - propagatedBuildInputs = [ + dependencies = [ appdirs flexcache flexparser @@ -67,12 +67,12 @@ buildPythonPackage rec { export HOME=$(mktemp -d) ''; - meta = with lib; { + meta = { changelog = "https://github.com/hgrecco/pint/blob/${version}/CHANGES"; description = "Physical quantities module"; mainProgram = "pint-convert"; - license = licenses.bsd3; + license = lib.licenses.bsd3; homepage = "https://github.com/hgrecco/pint/"; - maintainers = with maintainers; [ doronbehar ]; + maintainers = with lib.maintainers; [ doronbehar ]; }; }