1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "arnparse"; 10 version = "0.0.2"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "PokaInc"; 15 repo = "arnparse"; 16 rev = version; 17 hash = "sha256-2+wxzYoS/KJXjYM6lZguxbr2Oxobo0eFNnzWZHLi0WM="; 18 }; 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 pythonImportsCheck = [ "arnparse" ]; 23 24 meta = with lib; { 25 description = "Parse ARNs using Python"; 26 homepage = "https://github.com/PokaInc/arnparse"; 27 license = licenses.mit; 28 maintainers = with maintainers; [ wolfangaukang ]; 29 }; 30}