Merge pull request #213119 from fabaff/dacite-bump

python310Packages.dacite: 1.7.0 -> 1.8.0
This commit is contained in:
Mario Rodas 2023-01-31 05:52:25 -05:00 committed by GitHub
commit cbe5ae1e34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,12 @@
, fetchFromGitHub
, buildPythonPackage
, pythonOlder
, pythonAtLeast
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "dacite";
version = "1.7.0";
version = "1.8.0";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -17,9 +16,14 @@ buildPythonPackage rec {
owner = "konradhalas";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-+yWvlJcOmqDkHl3JZfPnIV3C4ieSo4FiBvoUZ0+J4N0=";
hash = "sha256-aQwQHFWaXwTaA6GQgDcWT6ivE9YtWtHCTOtxDi503+M=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "--benchmark-autosave --benchmark-json=benchmark.json" ""
'';
nativeCheckInputs = [
pytestCheckHook
];
@ -28,6 +32,10 @@ buildPythonPackage rec {
"dacite"
];
disabledTestPaths = [
"tests/performance"
];
meta = with lib; {
description = "Python helper to create data classes from dictionaries";
homepage = "https://github.com/konradhalas/dacite";