summary refs log tree commit diff
path: root/pkgs/tools/text/rpl/default.nix
blob: bdbc97124433dad267b59efd5d4f957201e9fd29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 ];
  };
}