Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
978 B · 51 lines
Nix
at flake-libs
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ 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 ]; };}