blob: f68c6e73e8f44a713db100d19ba8afa2d8dc93b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
approvaltests,
setuptools,
typing-extensions,
}:
buildPythonPackage {
pname = "approval-utilities";
inherit (approvaltests) version src;
pyproject = true;
postPatch = ''
mv setup/setup.approval_utilities.py setup.py
''
+ approvaltests.postPatch or "";
build-system = [ setuptools ];
dependencies = [
# used in approval_utilities/utilities/time_utilities.py
typing-extensions
];
pythonImportsCheck = [ "approval_utilities" ];
# upstream has no tests
doCheck = false;
meta = {
description = "Utilities for your production code that work well with approvaltests";
homepage = "https://github.com/approvals/ApprovalTests.Python";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|