about summary refs log tree commit diff
path: root/pkgs/tools/text/grin/default.nix
blob: 56ea13de40e568e631c0a64e0c86449bddb0c5de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, python2Packages }:

python2Packages.buildPythonApplication rec {
  name = "grin-1.2.1";
  namePrefix = "";

  src = fetchurl {
    url = "mirror://pypi/g/grin/${name}.tar.gz";
    sha256 = "1swzwb17wibam8jszdv98h557hlx44pg6psv6rjz7i33qlxk0fdz";
  };

  buildInputs = with python2Packages; [ nose ];
  propagatedBuildInputs = with python2Packages; [ argparse ];

  meta = {
    homepage = https://pypi.python.org/pypi/grin;
    description = "A grep program configured the way I like it";
    platforms = stdenv.lib.platforms.all;
    maintainers = [ stdenv.lib.maintainers.sjagoe ];
  };
}