Merge pull request #192843 from veprbl/pr/vector
python3Packages.vector: init at 0.10.0
This commit is contained in:
commit
0b6aa123bc
2 changed files with 40 additions and 0 deletions
38
pkgs/development/python-modules/vector/default.nix
Normal file
38
pkgs/development/python-modules/vector/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, hatch-vcs
|
||||
, hatchling
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "vector";
|
||||
version = "0.10.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b785678f449de32476f427911248391ddcc7c3582a522a88cbbd50c92dcae490";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "vector" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python 3.7+ library for 2D, 3D, and Lorentz vectors, especially arrays of vectors, to solve common physics problems in a NumPy-like way";
|
||||
homepage = "https://github.com/scikit-hep/vector";
|
||||
license = with licenses; [ bsd3 ];
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
};
|
||||
}
|
|
@ -11514,6 +11514,8 @@ in {
|
|||
|
||||
vdirsyncer = callPackage ../development/python-modules/vdirsyncer { };
|
||||
|
||||
vector = callPackage ../development/python-modules/vector { };
|
||||
|
||||
vehicle = callPackage ../development/python-modules/vehicle { };
|
||||
|
||||
vega = callPackage ../development/python-modules/vega { };
|
||||
|
|
Loading…
Reference in a new issue