depot/third_party/nixpkgs/pkgs/development/python-modules/std-uritemplate/default.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

36 lines
837 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
pythonOlder,
}:
buildPythonPackage rec {
pname = "std-uritemplate";
version = "1.0.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "std_uritemplate";
inherit version;
hash = "sha256-lJ2YDTjUI3mf9Jh6g17rXppFRD3GGpzIMEYdkmz0JuQ=";
};
build-system = [ poetry-core ];
# Module doesn't have unittest, only functional tests
doCheck = false;
pythonImportsCheck = [ "stduritemplate" ];
meta = with lib; {
description = "Std-uritemplate implementation for Python";
homepage = "https://github.com/std-uritemplate/std-uritemplate";
changelog = "https://github.com/std-uritemplate/std-uritemplate/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}