@@ -3,7 +3,6 @@
33, pythonOlder
44, fetchFromGitHub
55, poetry-core
6−, fetchpatch
76, pytestCheckHook
87, pycodestyle
98, pyyaml
@@ -11,7 +10,7 @@
1110
1211buildPythonPackage rec {
1312 pname = "tinydb";
14− version = "4.4.0";
13+ version = "4.5.0";
1514 disabled = pythonOlder "3.5";
1615 format = "pyproject";
1716
@@ -19,22 +18,13 @@ buildPythonPackage rec {
1918 owner = "msiemens";
2019 repo = pname;
2120 rev = "v${version}";
22− sha256 = "sha256-3FbsnLU7G4VVhI5NYRqCEQgo51zDeAkEhH69H52zr/w=";
21+ sha256 = "sha256-rJVJfsPhGTQpE6p0kzN6GDR0r9M71ADa67Oi5jLgeWY=";
2322 };
2423
2524 nativeBuildInputs = [
2625 poetry-core
2726 ];
2827
29− patches = [
30− # Switch to poetry-core, https://github.com/msiemens/tinydb/pull/391
31− (fetchpatch {
32− name = "switch-to-peotry-core.patch";
33− url = "https://github.com/msiemens/tinydb/commit/5b547c18e7ce9f5925d5943dfa47d408435a0da5.patch";
34− sha256 = "19ma9ib020b82sn1mcr7sfysqbj8h6nbb365bih1x1wn3ym8xlbc";
35− })
36− ];
37−
3828 postPatch = ''
3929 substituteInPlace pytest.ini \
4030 --replace "--cov-append --cov-report term --cov tinydb" ""