blob: 340470e3d0a107e857e2942fa665ee59148afbd0 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools,
smmap,
}:
buildPythonPackage rec {
pname = "gitdb";
version = "4.0.12";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-XvcfhV0ZGjMm/PvA1dqDXyaxP7y6YMMsIQkcNJ/9tXE=";
};
nativeBuildInputs = [
setuptools
];
pythonRelaxDeps = [ "smmap" ];
propagatedBuildInputs = [ smmap ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "gitdb" ];
disabledTests = [
# Tests need part which are not shipped with PyPI releases
"test_base"
"test_reading"
"test_writing"
"test_correctness"
"test_loose_correctness"
"test_pack_random_access"
"test_pack_writing"
"test_stream_reading"
];
meta = {
description = "Git Object Database";
homepage = "https://github.com/gitpython-developers/gitdb";
changelog = "https://github.com/gitpython-developers/gitdb/releases/tag/${version}";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|