depot/third_party/nixpkgs/pkgs/development/python-modules/std-uritemplate/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

36 lines
837 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
pythonOlder,
}:
buildPythonPackage rec {
pname = "std-uritemplate";
version = "1.0.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "std_uritemplate";
inherit version;
hash = "sha256-Mf7o2nDbj663cdC6OfXIK/newY1NKnUpWTniowXlNvE=";
};
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 ];
};
}