grin: Fix build dependencies

Using old source, grin was unable to build due to missing argparse pypi
package.
This commit is contained in:
Simon Jagoe 2017-06-06 15:05:42 +03:00
parent c0b1e8a5fb
commit 314da48f31

View file

@ -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;