1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 poetry-core, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "std-uritemplate"; 11 version = "2.0.5"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.8"; 15 16 src = fetchPypi { 17 pname = "std_uritemplate"; 18 inherit version; 19 hash = "sha256-dwOohszlnRVcIbWs8a2NSNufMyLemPp4OoOW+/NcvAY="; 20 }; 21 22 build-system = [ poetry-core ]; 23 24 # Module doesn't have unittest, only functional tests 25 doCheck = false; 26 27 pythonImportsCheck = [ "stduritemplate" ]; 28 29 meta = with lib; { 30 description = "Std-uritemplate implementation for Python"; 31 homepage = "https://github.com/std-uritemplate/std-uritemplate"; 32 changelog = "https://github.com/std-uritemplate/std-uritemplate/releases/tag/${version}"; 33 license = licenses.asl20; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}