Loading pkgs/development/python-modules/pint-xarray/default.nix +6 −22 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, fetchpatch2, setuptools, setuptools-scm, numpy, Loading @@ -12,16 +11,16 @@ pytestCheckHook, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "pint-xarray"; version = "0.6.0"; version = "0.6.1"; pyproject = true; src = fetchFromGitHub { owner = "xarray-contrib"; repo = "pint-xarray"; tag = "v${version}"; hash = "sha256-mMAd315ijNseXbPc6UydoLcemXWlVOUAbFYLWRD6ZLA="; tag = "v${finalAttrs.version}"; hash = "sha256-t2I17dyl/XoO7NBvEyz7TRZkG/uQKPDHUUCG+bQXdOo="; }; build-system = [ Loading @@ -29,21 +28,6 @@ buildPythonPackage rec { setuptools-scm ]; patches = [ # Fixes 2 test failures. The merge commit of PR: # https://github.com/xarray-contrib/pint-xarray/pull/367 (fetchpatch2 { url = "https://github.com/xarray-contrib/pint-xarray/commit/296ee2e60c671175507de1fe904fa7e4d0a70586.patch?full_index=1"; hash = "sha256-SS2zQ7fIeLzEUTd+8BW1PFBw8+qed0fLslns1jNpLtA="; }) # Similarly to the above, fixes 3 more test failures. See: # https://github.com/xarray-contrib/pint-xarray/pull/368 (fetchpatch2 { url = "https://github.com/xarray-contrib/pint-xarray/commit/6134b61e2cb6b4c46b7b0974a6e499dff2d9e18e.patch?full_index=1"; hash = "sha256-s1AbaXAeL0sGkj/DWV5145FKGHW4eF+a11w1yg5QENA="; }) ]; dependencies = [ numpy pint Loading @@ -62,8 +46,8 @@ buildPythonPackage rec { meta = { description = "Interface for using pint with xarray, providing convenience accessors"; homepage = "https://github.com/xarray-contrib/pint-xarray"; changelog = "https://github.com/xarray-contrib/pint-xarray/blob/${src.tag}/docs/whats-new.rst"; changelog = "https://github.com/xarray-contrib/pint-xarray/blob/${finalAttrs.src.tag}/docs/whats-new.rst"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ doronbehar ]; }; } }) Loading
pkgs/development/python-modules/pint-xarray/default.nix +6 −22 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, fetchpatch2, setuptools, setuptools-scm, numpy, Loading @@ -12,16 +11,16 @@ pytestCheckHook, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "pint-xarray"; version = "0.6.0"; version = "0.6.1"; pyproject = true; src = fetchFromGitHub { owner = "xarray-contrib"; repo = "pint-xarray"; tag = "v${version}"; hash = "sha256-mMAd315ijNseXbPc6UydoLcemXWlVOUAbFYLWRD6ZLA="; tag = "v${finalAttrs.version}"; hash = "sha256-t2I17dyl/XoO7NBvEyz7TRZkG/uQKPDHUUCG+bQXdOo="; }; build-system = [ Loading @@ -29,21 +28,6 @@ buildPythonPackage rec { setuptools-scm ]; patches = [ # Fixes 2 test failures. The merge commit of PR: # https://github.com/xarray-contrib/pint-xarray/pull/367 (fetchpatch2 { url = "https://github.com/xarray-contrib/pint-xarray/commit/296ee2e60c671175507de1fe904fa7e4d0a70586.patch?full_index=1"; hash = "sha256-SS2zQ7fIeLzEUTd+8BW1PFBw8+qed0fLslns1jNpLtA="; }) # Similarly to the above, fixes 3 more test failures. See: # https://github.com/xarray-contrib/pint-xarray/pull/368 (fetchpatch2 { url = "https://github.com/xarray-contrib/pint-xarray/commit/6134b61e2cb6b4c46b7b0974a6e499dff2d9e18e.patch?full_index=1"; hash = "sha256-s1AbaXAeL0sGkj/DWV5145FKGHW4eF+a11w1yg5QENA="; }) ]; dependencies = [ numpy pint Loading @@ -62,8 +46,8 @@ buildPythonPackage rec { meta = { description = "Interface for using pint with xarray, providing convenience accessors"; homepage = "https://github.com/xarray-contrib/pint-xarray"; changelog = "https://github.com/xarray-contrib/pint-xarray/blob/${src.tag}/docs/whats-new.rst"; changelog = "https://github.com/xarray-contrib/pint-xarray/blob/${finalAttrs.src.tag}/docs/whats-new.rst"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ doronbehar ]; }; } })