Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
818 B
Nix
42 lines
818 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
python3Packages,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "rpl";
|
|
version = "1.18";
|
|
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-N4043ig/ZoL4XpNpU5bzRh1xl3jheoAT9kvYfX9nHX4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
python3Packages.setuptools
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
python3Packages.pytest-datafiles
|
|
python3Packages.pytestCheckHook
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
python3Packages.argparse-manpage
|
|
python3Packages.chainstream
|
|
python3Packages.chardet
|
|
python3Packages.regex
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Replace strings in files";
|
|
mainProgram = "rpl";
|
|
homepage = "https://github.com/rrthomas/rpl";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ cbley ];
|
|
};
|
|
}
|