python313Packages.pydy: 0.7.1 -> 0.8.0, set updateScript (#451067)
This commit is contained in:
@@ -8,34 +8,21 @@
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
cython,
|
||||
fetchpatch2,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydy";
|
||||
version = "0.7.1";
|
||||
version = "0.8.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-aaRinJMGR8v/OVkeSp1hA4+QLOrmDWq50wvA6b/suvk=";
|
||||
hash = "sha256-G3iqMzy/W3ctz/c4T3LqYyTTMVbly1GMkmMLi96mzMc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
patches = [
|
||||
# Migrate tests to pytest
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/pydy/pydy/commit/e679638fecf80def25f5ed20f01c49c5d931e4d8.patch?full_index=1";
|
||||
hash = "sha256-wJmYkyc5Yh0152OyNL5ZbZJxmpX7C65Hqrms4gm3zt0=";
|
||||
excludes = [
|
||||
".github/workflows/oldest.yml"
|
||||
".github/workflows/tests.yml"
|
||||
"bin/test"
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
scipy
|
||||
@@ -49,6 +36,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "pydy" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Python tool kit for multi-body dynamics";
|
||||
homepage = "http://pydy.org";
|
||||
|
||||
Reference in New Issue
Block a user