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