1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 six, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "purl"; 11 version = "1.6"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "codeinthehole"; 16 repo = "purl"; 17 rev = version; 18 hash = "sha256-Jb3JRW/PtQ7NlO4eQ9DmTPu/sjvFTg2mztphoIF79gc="; 19 }; 20 21 propagatedBuildInputs = [ six ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "purl" ]; 26 27 meta = with lib; { 28 description = "Immutable URL class for easy URL-building and manipulation"; 29 homepage = "https://github.com/codeinthehole/purl"; 30 license = licenses.mit; 31 maintainers = [ ]; 32 }; 33}