mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 13:24:29 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
32 lines
580 B
Nix
32 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 ];
|
|
};
|
|
}
|