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:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user