nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 35 lines 775 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "uritemplate"; 11 version = "4.2.0"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-SAwu0YCHiVWGMyPuoxsO3maHld4YJhf++cbKCebsnQ4="; 17 }; 18 19 nativeBuildInputs = [ setuptools ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "uritemplate" ]; 24 25 meta = { 26 description = "Implementation of RFC 6570 URI templates"; 27 homepage = "https://github.com/python-hyper/uritemplate"; 28 changelog = "https://github.com/python-hyper/uritemplate/blob/${version}/HISTORY.rst"; 29 license = with lib.licenses; [ 30 asl20 31 bsd3 32 ]; 33 maintainers = with lib.maintainers; [ matthiasbeyer ]; 34 }; 35}