about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/text/rpl/default.nix
blob: 97a30211621c167a6f0d0931665e63a9c424ed4f (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
{ lib, fetchFromGitHub, pythonPackages }:

pythonPackages.buildPythonApplication rec {
  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 lib; {
    description = "Replace strings in files";
    homepage    = "https://github.com/kcoyner/rpl";
    license     = licenses.gpl2;
    maintainers = with maintainers; [ teto ];
  };
}