summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/repath/default.nix
blob: 619036f4b75e6a5390a34b5e6efaee9788a62ba8 (plain)
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
{ lib
, python3
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "repath";
  version = "0.9.0";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-gpITm6xqDkP9nXBgXU6NrrJdRmcuSE7TGiTHzgrvD7c=";
  };

  propagatedBuildInputs = with python3.pkgs; [
    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 ];
  };
}