depot/third_party/nixpkgs/pkgs/development/python-modules/std-uritemplate/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

36 lines
837 B
Nix

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