Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 51 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 setuptools, 7 smmap, 8}: 9 10buildPythonPackage rec { 11 pname = "gitdb"; 12 version = "4.0.12"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-XvcfhV0ZGjMm/PvA1dqDXyaxP7y6YMMsIQkcNJ/9tXE="; 18 }; 19 20 nativeBuildInputs = [ 21 setuptools 22 ]; 23 24 pythonRelaxDeps = [ "smmap" ]; 25 26 propagatedBuildInputs = [ smmap ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 pythonImportsCheck = [ "gitdb" ]; 31 32 disabledTests = [ 33 # Tests need part which are not shipped with PyPI releases 34 "test_base" 35 "test_reading" 36 "test_writing" 37 "test_correctness" 38 "test_loose_correctness" 39 "test_pack_random_access" 40 "test_pack_writing" 41 "test_stream_reading" 42 ]; 43 44 meta = { 45 description = "Git Object Database"; 46 homepage = "https://github.com/gitpython-developers/gitdb"; 47 changelog = "https://github.com/gitpython-developers/gitdb/releases/tag/${version}"; 48 license = lib.licenses.bsd3; 49 maintainers = [ ]; 50 }; 51}