94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
30 lines
578 B
Nix
30 lines
578 B
Nix
{ 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 ];
|
|
};
|
|
}
|