python311Packages.pycddl: 0.5.2 -> 0.6.1

https://gitlab.com/tahoe-lafs/pycddl/-/tree/v0.6.1#release-notes
This commit is contained in:
Martin Weinelt
2024-06-24 12:18:32 +02:00
parent c1e2b777e3
commit 0bfe064c63
@@ -7,18 +7,19 @@
pytestCheckHook,
psutil,
cbor2,
hypothesis,
}:
buildPythonPackage rec {
pname = "pycddl";
version = "0.5.2";
version = "0.6.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-LdecJPSov2Y/QI4MWb20DcF0EtMuDO0VwiQDUeD55GI=";
hash = "sha256-63fe8UJXEH6t4l7ujV8JDvlGb7q3kL6fHHATFdklzFc=";
};
nativeBuildInputs = with rustPlatform; [
@@ -41,14 +42,21 @@ buildPythonPackage rec {
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-FJET2Xb1cq4aePFhPXpp2oEPIOtpugYWNFAa2Dj0F6Y=";
hash = "sha256-ssDEKRd3Y9/10oXBZHCxvlRkl9KMh3pGYbCkM4rXThQ=";
};
nativeCheckInputs = [
hypothesis
pytestCheckHook
psutil
cbor2
];
disabledTests =[
# flaky
"test_memory_usage"
];
pythonImportsCheck = [ "pycddl" ];
meta = with lib; {