python312Packages.numpy-financial: init at 1.0.0 (#393149)

authored by Gaétan Lepage and committed by GitHub f0dc872f 1c06622a

+47
+45
pkgs/development/python-modules/numpy-financial/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + pytestCheckHook, 6 + meson, 7 + meson-python, 8 + numpy, 9 + setuptools, 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "numpy-financial"; 14 + version = "1.0.0"; 15 + pyproject = true; 16 + 17 + src = fetchFromGitHub { 18 + owner = "numpy"; 19 + repo = "numpy-financial"; 20 + tag = "v${version}"; 21 + hash = "sha256-6hSi5Y292Ikfb2m2SLvIHJS0nZcGKgGzvybgmpxReWI="; 22 + }; 23 + 24 + build-system = [ 25 + meson 26 + meson-python 27 + setuptools 28 + ]; 29 + 30 + dependencies = [ numpy ]; 31 + 32 + nativeCheckInputs = [ 33 + pytestCheckHook 34 + ]; 35 + 36 + pythonImportsCheck = [ "numpy_financial" ]; 37 + 38 + meta = { 39 + homepage = "https://numpy.org/numpy-financial/"; 40 + changelog = "https://github.com/numpy/numpy-financial/releases/tag/v${version}"; 41 + description = "Collection of elementary financial functions"; 42 + license = lib.licenses.bsd3; 43 + maintainers = with lib.maintainers; [ flokli ]; 44 + }; 45 + }
+2
pkgs/top-level/python-packages.nix
··· 10663 10663 10664 10664 numpy = numpy_2; 10665 10665 10666 + numpy-financial = callPackage ../development/python-modules/numpy-financial { }; 10667 + 10666 10668 numpy-groupies = callPackage ../development/python-modules/numpy-groupies { }; 10667 10669 10668 10670 numpy-stl = callPackage ../development/python-modules/numpy-stl { };