tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.pint-xarray: init at 0.4
Doron Behar
1 year ago
a8e98ca3
d8db39f5
+53
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
pint-xarray
default.nix
top-level
python-packages.nix
+51
pkgs/development/python-modules/pint-xarray/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{
2
+
lib,
3
+
buildPythonPackage,
4
+
fetchFromGitHub,
5
+
setuptools,
6
+
setuptools-scm,
7
+
numpy,
8
+
pint,
9
+
xarray,
10
+
pytestCheckHook,
11
+
}:
12
+
13
+
buildPythonPackage rec {
14
+
pname = "pint-xarray";
15
+
version = "0.4";
16
+
pyproject = true;
17
+
18
+
src = fetchFromGitHub {
19
+
owner = "xarray-contrib";
20
+
repo = "pint-xarray";
21
+
tag = "v${version}";
22
+
hash = "sha256-IFHSgrnqS7ZpNhRzzSgHPRUP90WNv84jBH4um/DRMCU=";
23
+
};
24
+
25
+
build-system = [
26
+
setuptools
27
+
setuptools-scm
28
+
];
29
+
30
+
dependencies = [
31
+
numpy
32
+
pint
33
+
xarray
34
+
];
35
+
36
+
nativeCheckInputs = [
37
+
pytestCheckHook
38
+
];
39
+
40
+
pythonImportsCheck = [
41
+
"pint_xarray"
42
+
];
43
+
44
+
meta = {
45
+
description = "Interface for using pint with xarray, providing convenience accessors";
46
+
homepage = "https://github.com/xarray-contrib/pint-xarray";
47
+
changelog = "https://github.com/xarray-contrib/pint-xarray/blob/v${version}/docs/whats-new.rst";
48
+
license = lib.licenses.asl20;
49
+
maintainers = with lib.maintainers; [ doronbehar ];
50
+
};
51
+
}
+2
pkgs/top-level/python-packages.nix
···
10451
10452
pint-pandas = callPackage ../development/python-modules/pint-pandas { };
10453
0
0
10454
pip = callPackage ../development/python-modules/pip { };
10455
10456
pipdate = callPackage ../development/python-modules/pipdate { };
···
10451
10452
pint-pandas = callPackage ../development/python-modules/pint-pandas { };
10453
10454
+
pint-xarray = callPackage ../development/python-modules/pint-xarray { };
10455
+
10456
pip = callPackage ../development/python-modules/pip { };
10457
10458
pipdate = callPackage ../development/python-modules/pipdate { };