mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 22:26:35 +01:00
https://github.com/xarray-contrib/pint-xarray/blob/v0.6.0/docs/whats-new.rst This commit was automatically generated using update-python-libraries.
51 lines
979 B
Nix
51 lines
979 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
setuptools-scm,
|
|
numpy,
|
|
pint,
|
|
xarray,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pint-xarray";
|
|
version = "0.6.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "xarray-contrib";
|
|
repo = "pint-xarray";
|
|
tag = "v${version}";
|
|
hash = "sha256-mMAd315ijNseXbPc6UydoLcemXWlVOUAbFYLWRD6ZLA=";
|
|
};
|
|
|
|
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/${src.tag}/docs/whats-new.rst";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ doronbehar ];
|
|
};
|
|
}
|