depot/third_party/nixpkgs/pkgs/development/python-modules/repath/default.nix

29 lines
574 B
Nix
Raw Normal View History

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