depot/third_party/nixpkgs/pkgs/development/python-modules/repath/default.nix
Default email d5f4a57cbf Project import generated by Copybara.
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
2023-08-10 09:59:29 +02:00

30 lines
555 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, six
}:
buildPythonPackage rec {
pname = "repath";
version = "0.9.0";
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 ];
};
}