python312Packages.pint-xarray: init at 0.4
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
numpy,
|
||||
pint,
|
||||
xarray,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pint-xarray";
|
||||
version = "0.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xarray-contrib";
|
||||
repo = "pint-xarray";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-IFHSgrnqS7ZpNhRzzSgHPRUP90WNv84jBH4um/DRMCU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
pint
|
||||
xarray
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pint_xarray"
|
||||
];
|
||||
|
||||
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/v${version}/docs/whats-new.rst";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ doronbehar ];
|
||||
};
|
||||
}
|
||||
@@ -10451,6 +10451,8 @@ self: super: with self; {
|
||||
|
||||
pint-pandas = callPackage ../development/python-modules/pint-pandas { };
|
||||
|
||||
pint-xarray = callPackage ../development/python-modules/pint-xarray { };
|
||||
|
||||
pip = callPackage ../development/python-modules/pip { };
|
||||
|
||||
pipdate = callPackage ../development/python-modules/pipdate { };
|
||||
|
||||
Reference in New Issue
Block a user