1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "testing.common.database";
9 version = "2.0.3";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "0wvdv0frl7xib05sixjv9m6jywaa2wdhdhsqqdfk45akk2r80pcn";
14 };
15
16 postPatch = ''
17 substituteInPlace src/testing/common/database.py \
18 --replace "collections.Callable" "collections.abc.Callable"
19 '';
20
21 # There are no unit tests
22 doCheck = false;
23
24 meta = with lib; {
25 description = "utilities for testing.* packages";
26 homepage = "https://github.com/tk0miya/testing.common.database";
27 license = licenses.asl20;
28 maintainers = with maintainers; [ jluttine ];
29 };
30}