From e122cc5840b807ef4a5766abe0e7618f19f76e13 Mon Sep 17 00:00:00 2001 From: Kirill Radzikhovskyy Date: Wed, 21 Jun 2023 21:11:49 +1000 Subject: [PATCH] python3Packages.pint-pandas: unstable-2022-11-24 -> 0.4 --- .../python-modules/pint-pandas/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pint-pandas/default.nix b/pkgs/development/python-modules/pint-pandas/default.nix index 18e497f00f41..a4dd78a557e6 100644 --- a/pkgs/development/python-modules/pint-pandas/default.nix +++ b/pkgs/development/python-modules/pint-pandas/default.nix @@ -2,24 +2,22 @@ , lib , buildPythonPackage , fetchFromGitHub -, fetchpatch , setuptools , pint , pandas , pytestCheckHook }: -buildPythonPackage { +buildPythonPackage rec { pname = "pint-pandas"; - # Latest release contains bugs and failing tests. - version = "unstable-2022-11-24"; + version = "0.4"; format = "pyproject"; src = fetchFromGitHub { owner = "hgrecco"; repo = "pint-pandas"; - rev = "c58a7fcf9123eb65f5e78845077b205e20279b9d"; - hash = "sha256-gMZNJSJxtSZvgU4o71ws5ZA6tgD2M5c5oOrn62DRyMI="; + rev = version; + hash = "sha256-FuH6wksSCkkL2AyQN46hwTnfeAZFwkWRl6KEEhsxmUY="; }; nativeBuildInputs = [ @@ -36,7 +34,7 @@ buildPythonPackage { ]; meta = with lib; { - broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; + broken = stdenv.isDarwin; description = "Pandas support for pint"; license = licenses.bsd3; homepage = "https://github.com/hgrecco/pint-pandas";