2024-02-29 20:09:43 +00:00
|
|
|
{ lib, fetchPypi, python3Packages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-10-04 12:37:57 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "rpl";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.15.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-4vUnFfxiPvyg9gtwiQE3nHZBnqBtBVwhM3KQzkjzw/I=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
python3Packages.setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
python3Packages.pytest-datafiles
|
|
|
|
python3Packages.pytestCheckHook
|
2021-10-04 12:37:57 +00:00
|
|
|
];
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
propagatedBuildInputs = [
|
2024-02-29 20:09:43 +00:00
|
|
|
python3Packages.argparse-manpage
|
|
|
|
python3Packages.chainstream
|
2021-10-04 12:37:57 +00:00
|
|
|
python3Packages.chardet
|
2024-02-29 20:09:43 +00:00
|
|
|
python3Packages.regex
|
2021-10-04 12:37:57 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Replace strings in files";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "rpl";
|
2024-02-29 20:09:43 +00:00
|
|
|
homepage = "https://github.com/rrthomas/rpl";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2024-02-29 20:09:43 +00:00
|
|
|
maintainers = with maintainers; [ cbley ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|