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

22 lines
609 B
Nix
Raw Normal View History

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