at 24.11-pre 1.2 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 pythonOlder, 7 pythonRelaxDepsHook, 8 setuptools, 9 smmap, 10}: 11 12buildPythonPackage rec { 13 pname = "gitdb"; 14 version = "4.0.11"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-v1QhEmE21tCvVbwefBrxw5ejT1t71553bNPol4XCsEs="; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools 26 pythonRelaxDepsHook 27 ]; 28 29 pythonRelaxDeps = [ "smmap" ]; 30 31 propagatedBuildInputs = [ smmap ]; 32 33 nativeCheckInputs = [ pytestCheckHook ]; 34 35 pythonImportsCheck = [ "gitdb" ]; 36 37 disabledTests = [ 38 # Tests need part which are not shipped with PyPI releases 39 "test_base" 40 "test_reading" 41 "test_writing" 42 "test_correctness" 43 "test_loose_correctness" 44 "test_pack_random_access" 45 "test_pack_writing" 46 "test_stream_reading" 47 ]; 48 49 meta = with lib; { 50 description = "Git Object Database"; 51 homepage = "https://github.com/gitpython-developers/gitdb"; 52 changelog = "https://github.com/gitpython-developers/gitdb/releases/tag/${version}"; 53 license = licenses.bsd3; 54 maintainers = with maintainers; [ ]; 55 }; 56}