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