Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 dulwich, 5 fetchFromGitHub, 6 mock, 7 pytestCheckHook, 8 pythonOlder, 9 setuptools, 10 six, 11}: 12 13buildPythonPackage rec { 14 pname = "simplekv"; 15 version = "0.14.1"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "mbr"; 22 repo = "simplekv"; 23 rev = "refs/tags/${version}"; 24 hash = "sha256-seUGDj2q84+AjDFM1pxMLlHbe9uBgEhmqA96UHjnCmo="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 dulwich 31 mock 32 pytestCheckHook 33 six 34 ]; 35 36 pythonImportsCheck = [ "simplekv" ]; 37 38 disabledTests = [ 39 # Issue with fixture 40 "test_concurrent_mkdir" 41 ]; 42 43 meta = with lib; { 44 description = "Simple key-value store for binary data"; 45 homepage = "https://github.com/mbr/simplekv"; 46 changelog = "https://github.com/mbr/simplekv/releases/tag/${version}"; 47 license = licenses.mit; 48 maintainers = with maintainers; [ fab ]; 49 }; 50}