From 2a33aab60de16ac9ff86e89bac6e202c29ad7003 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Thu, 28 Sep 2017 16:25:36 +0900 Subject: rpl: init at 1.5.6 A python program that helps replacing string in files. --- pkgs/tools/text/rpl/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/tools/text/rpl/default.nix (limited to 'pkgs/tools') diff --git a/pkgs/tools/text/rpl/default.nix b/pkgs/tools/text/rpl/default.nix new file mode 100644 index 000000000000..bdbc97124433 --- /dev/null +++ b/pkgs/tools/text/rpl/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchFromGitHub, pythonPackages }: + +pythonPackages.buildPythonApplication rec { + name = "${pname}-${version}"; + pname = "rpl"; + version = "1.5.7"; + + # Tests not included in pip package. + doCheck = false; + + src = fetchFromGitHub { + owner = "kcoyner"; + repo = "rpl"; + rev = "v${version}"; + sha256 = "1xhpgcmq91ivy9ijfyz5ilg51m7fz8ar2077r7gq246j8gbf8ggr"; + }; + + meta = with stdenv.lib; { + description = "Replace strings in files"; + homepage = "https://github.com/kcoyner/rpl"; + license = licenses.gpl2; + maintainers = with maintainers; [ teto ]; + }; +} -- cgit 1.4.1