summary refs log tree commit diff
path: root/pkgs/tools/text/grin/default.nix
diff options
context:
space:
mode:
authorSimon Jagoe <simon@simonjagoe.com>2017-06-06 15:05:42 +0300
committerSimon Jagoe <simon@simonjagoe.com>2017-06-06 15:14:17 +0300
commit314da48f313cc4bc47cf26cbe18b9591850b832f (patch)
treeab5b75efdad4931f183e3a1fbf576f6d42b0e244 /pkgs/tools/text/grin/default.nix
parentc0b1e8a5fb174cd405dcca9f7fec275714ad9f4b (diff)
downloadnixlib-314da48f313cc4bc47cf26cbe18b9591850b832f.tar
nixlib-314da48f313cc4bc47cf26cbe18b9591850b832f.tar.gz
nixlib-314da48f313cc4bc47cf26cbe18b9591850b832f.tar.bz2
nixlib-314da48f313cc4bc47cf26cbe18b9591850b832f.tar.lz
nixlib-314da48f313cc4bc47cf26cbe18b9591850b832f.tar.xz
nixlib-314da48f313cc4bc47cf26cbe18b9591850b832f.tar.zst
nixlib-314da48f313cc4bc47cf26cbe18b9591850b832f.zip
grin: Fix build dependencies
Using old source, grin was unable to build due to missing argparse pypi
package.
Diffstat (limited to 'pkgs/tools/text/grin/default.nix')
-rw-r--r--pkgs/tools/text/grin/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/text/grin/default.nix b/pkgs/tools/text/grin/default.nix
index 56ea13de40e5..5cbeb54a0b1b 100644
--- a/pkgs/tools/text/grin/default.nix
+++ b/pkgs/tools/text/grin/default.nix
@@ -1,16 +1,16 @@
-{ stdenv, fetchurl, python2Packages }:
+{ stdenv, fetchgit, python2Packages }:
 
 python2Packages.buildPythonApplication rec {
   name = "grin-1.2.1";
   namePrefix = "";
 
-  src = fetchurl {
-    url = "mirror://pypi/g/grin/${name}.tar.gz";
-    sha256 = "1swzwb17wibam8jszdv98h557hlx44pg6psv6rjz7i33qlxk0fdz";
+  src = fetchgit {
+    url = "git://github.com/rkern/grin";
+    rev = "8dd4b5309b3bc04fe9d3e71836420f7d8d4a293f";
+    sha256 = "0vz2aahwdcy1296g4w3i79dkvmzk9jc2n2zmlcvlg5m3s6h7b6jd";
   };
 
   buildInputs = with python2Packages; [ nose ];
-  propagatedBuildInputs = with python2Packages; [ argparse ];
 
   meta = {
     homepage = https://pypi.python.org/pypi/grin;