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

22 lines
609 B
Nix
Raw Normal View History

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