nixpkgs/pkgs/tools/text/grin/default.nix

22 lines
609 B
Nix
Raw Normal View History

2016-10-17 14:41:18 +03:00
{ stdenv, fetchurl, python2Packages }:
2015-03-08 19:29:41 +03:00
2016-10-17 14:41:18 +03:00
python2Packages.buildPythonApplication rec {
2015-03-08 19:29:41 +03:00
name = "grin-1.2.1";
namePrefix = "";
src = fetchurl {
url = "mirror://pypi/g/grin/${name}.tar.gz";
2015-03-08 19:29:41 +03:00
sha256 = "1swzwb17wibam8jszdv98h557hlx44pg6psv6rjz7i33qlxk0fdz";
};
2016-10-17 14:41:18 +03:00
buildInputs = with python2Packages; [ nose ];
propagatedBuildInputs = with python2Packages; [ argparse ];
2015-03-08 19:29:41 +03:00
meta = {
homepage = https://pypi.python.org/pypi/grin;
2015-04-28 11:54:58 +03:00
description = "A grep program configured the way I like it";
platform = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.sjagoe ];
2015-03-08 19:29:41 +03:00
};
}