2019-11-27 18:01:05 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "testing.common.database";
|
|
|
|
version = "2.0.3";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0wvdv0frl7xib05sixjv9m6jywaa2wdhdhsqqdfk45akk2r80pcn";
|
|
|
|
};
|
|
|
|
|
2022-04-10 02:15:59 +02:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace src/testing/common/database.py \
|
|
|
|
--replace "collections.Callable" "collections.abc.Callable"
|
|
|
|
'';
|
|
|
|
|
2019-11-27 18:01:05 +01:00
|
|
|
# There are no unit tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "utilities for testing.* packages";
|
|
|
|
homepage = "https://github.com/tk0miya/testing.common.database";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
};
|
|
|
|
}
|