Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pyheck, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "dotwiz"; 12 version = "0.4.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "rnag"; 19 repo = "dotwiz"; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-ABmkwpJ40JceNJieW5bhg0gqWNrR6Wxj84nLCjKU11A="; 22 }; 23 24 propagatedBuildInputs = [ pyheck ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "dotwiz" ]; 29 30 pytestFlagsArray = [ 31 "--ignore=benchmarks" 32 "--ignore-glob=*integration*" 33 ]; 34 35 meta = with lib; { 36 description = "Dict subclass that supports dot access notation"; 37 homepage = "https://github.com/rnag/dotwiz"; 38 changelog = "https://github.com/rnag/dotwiz/blob/v${version}/HISTORY.rst"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}