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

28 lines
572 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
six,
}:
buildPythonPackage rec {
pname = "repath";
version = "0.9.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-gpITm6xqDkP9nXBgXU6NrrJdRmcuSE7TGiTHzgrvD7c=";
};
propagatedBuildInputs = [ six ];
pythonImportsCheck = [ "repath" ];
meta = {
description = "Port of the node module path-to-regexp to Python";
homepage = "https://github.com/nickcoutsos/python-repath";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.heyimnova ];
};
}