1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 six,
6}:
7
8buildPythonPackage rec {
9 pname = "repath";
10 version = "0.9.0";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-gpITm6xqDkP9nXBgXU6NrrJdRmcuSE7TGiTHzgrvD7c=";
16 };
17
18 propagatedBuildInputs = [ six ];
19
20 pythonImportsCheck = [ "repath" ];
21
22 meta = {
23 description = "Port of the node module path-to-regexp to Python";
24 homepage = "https://github.com/nickcoutsos/python-repath";
25 license = lib.licenses.mit;
26 maintainers = [ lib.maintainers.heyimnova ];
27 };
28}