Merge pull request #330459 from pyrox0/denose/pyquaternion
python312Packages.pyquaternion: Remove nose dependency
This commit is contained in:
@@ -1,19 +1,22 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
numpy,
|
||||
nose,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyquaternion";
|
||||
version = "0.9.9";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-sfYa8hnLL+lmtft5oZISTy5jo/end6w8rfKVexqBvqg=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "KieranWynn";
|
||||
repo = "pyquaternion";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-L0wT9DFUDRcmmN7OpmIDNvtQWQrM7iFnZt6R2xrJ+3A=";
|
||||
};
|
||||
|
||||
# The VERSION.txt file is required for setup.py
|
||||
@@ -22,9 +25,14 @@ buildPythonPackage rec {
|
||||
echo "${version}" > VERSION.txt
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ numpy ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pytestFlagsArray = [ "pyquaternion/test/" ];
|
||||
|
||||
nativeCheckInputs = [ nose ];
|
||||
pythonImportsCheck = [ "pyquaternion" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user