summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/text/grin
diff options
context:
space:
mode:
authorSimon Jagoe <simon@simonjagoe.com>2015-03-08 20:10:40 +0000
committerSimon Jagoe <simon@simonjagoe.com>2015-03-08 20:10:40 +0000
commitf4965177b585f8f8345027e6169f8c87ebb441d5 (patch)
tree09c2f7fc0dff90265a9e5261ac9840f37c961034 /pkgs/tools/text/grin
parentab6a03e70628b3165d50f940af72c0d8768e5aa0 (diff)
Move grin definition to tools/text and call it from all-packages.nix
Diffstat (limited to 'pkgs/tools/text/grin')
-rw-r--r--pkgs/tools/text/grin/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/tools/text/grin/default.nix b/pkgs/tools/text/grin/default.nix
new file mode 100644
index 000000000000..63c40e86571e
--- /dev/null
+++ b/pkgs/tools/text/grin/default.nix
@@ -0,0 +1,19 @@
+{ 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.";
+ };
+}