depot/third_party/nixpkgs/pkgs/development/python-modules/repath/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

31 lines
580 B
Nix

{ 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 ];
};
}