1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, six 6}: 7 8buildPythonPackage rec { 9 pname = "dictpath"; 10 version = "0.1.3"; 11 12 src = fetchFromGitHub { 13 owner = "p1c2u"; 14 repo = "dictpath"; 15 rev = version; 16 sha256 = "0314i8wky2z83a66zggc53m8qa1rjgkrznrl2ixsgiq0prcn6v16"; 17 }; 18 19 postPatch = '' 20 sed -i "/^addopts/d" setup.cfg 21 ''; 22 23 checkInputs = [ 24 pytestCheckHook 25 six 26 ]; 27 28 pythonImportsCheck = [ "dictpath" ]; 29 30 meta = with lib; { 31 description = "Object-oriented dictionary paths"; 32 homepage = "https://github.com/p1c2u/dictpath"; 33 license = licenses.asl20; 34 maintainers = with maintainers; [ dotlambda ]; 35 }; 36}