about summary refs log tree commit diff
path: root/pkgs/development/python-modules/repath/default.nix
blob: b052b408e9f4cfe0cecb9ef01c20eb28ebf69dad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ 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 = "A 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 ];
  };
}