mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 14:53:52 +00:00
python310Packages.vector: adjust inputs
This commit is contained in:
parent
e5dca17201
commit
098cdb2056
@ -1,10 +1,16 @@
|
||||
{ lib
|
||||
, awkward
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, hatch-vcs
|
||||
, hatchling
|
||||
, numba
|
||||
, numpy
|
||||
, notebook
|
||||
, packaging
|
||||
, papermill
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -12,6 +18,8 @@ buildPythonPackage rec {
|
||||
version = "0.11.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-/e0wZDWIIm9vi37NEkIEitQj0p1M132AAO6id0eaA5Y=";
|
||||
@ -21,17 +29,30 @@ buildPythonPackage rec {
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
packaging
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
checkInputs = [
|
||||
awkward
|
||||
notebook
|
||||
numba
|
||||
papermill
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "vector" ];
|
||||
pythonImportsCheck = [
|
||||
"vector"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
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";
|
||||
description = "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";
|
||||
changelog = "https://github.com/scikit-hep/vector/releases/tag/v${version}";
|
||||
license = with licenses; [ bsd3 ];
|
||||
maintainers = with maintainers; [ veprbl ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user