at master 881 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pyheck, 6 pytestCheckHook, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "dotwiz"; 13 version = "0.4.0"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "rnag"; 20 repo = "dotwiz"; 21 tag = "v${version}"; 22 hash = "sha256-ABmkwpJ40JceNJieW5bhg0gqWNrR6Wxj84nLCjKU11A="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ pyheck ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "dotwiz" ]; 32 33 disabledTestPaths = [ "benchmarks" ]; 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${src.tag}/HISTORY.rst"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}