lol

python312Packages.pint-xarray: init at 0.4

+53
+51
pkgs/development/python-modules/pint-xarray/default.nix
··· 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 10451 10452 10452 pint-pandas = callPackage ../development/python-modules/pint-pandas { }; 10453 10453 10454 + pint-xarray = callPackage ../development/python-modules/pint-xarray { }; 10455 + 10454 10456 pip = callPackage ../development/python-modules/pip { }; 10455 10457 10456 10458 pipdate = callPackage ../development/python-modules/pipdate { };