diff options
Diffstat (limited to 'pkgs/tools/text/grin/default.nix')
-rw-r--r-- | pkgs/tools/text/grin/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/tools/text/grin/default.nix b/pkgs/tools/text/grin/default.nix new file mode 100644 index 00000000000..da7799900a3 --- /dev/null +++ b/pkgs/tools/text/grin/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, pythonPackages }: + +pythonPackages.buildPythonPackage rec { + name = "grin-1.2.1"; + namePrefix = ""; + + src = fetchurl { + url = "https://pypi.python.org/packages/source/g/grin/${name}.tar.gz"; + sha256 = "1swzwb17wibam8jszdv98h557hlx44pg6psv6rjz7i33qlxk0fdz"; + }; + + buildInputs = with pythonPackages; [ nose ]; + propagatedBuildInputs = with pythonPackages; [ argparse ]; + + meta = { + homepage = https://pypi.python.org/pypi/grin; + description = "A grep program configured the way I like it."; + platform = stdenv.lib.platforms.all; + maintainers = [ stdenv.lib.maintainers.sjagoe ]; + }; +} |