mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
31 lines
555 B
Nix
31 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 ];
|
|
};
|
|
}
|