1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 15:15:36 +00:00
nixpkgs/pkgs/tools/text/rpl/default.nix
Matthieu Coudron 2a33aab60d rpl: init at 1.5.6
A python program that helps replacing string in files.
2017-09-28 21:46:53 +09:00

25 lines
605 B
Nix

{ 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 ];
};
}