Fixup: Use archive instead of git clone

This commit is contained in:
Matthias Beyer 2015-01-16 17:17:35 +01:00
parent 76583470c5
commit f3f06fc1cc

View File

@ -1,4 +1,4 @@
{ stdenv, cmake, fetchgit, ncurses }: { stdenv, cmake, fetchurl, ncurses }:
let let
version = "1.1"; version = "1.1";
@ -6,10 +6,9 @@ in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "ctodo-${version}"; name = "ctodo-${version}";
src = fetchgit { src = fetchurl {
url = "https://github.com/Acolarh/ctodo.git"; url = "https://github.com/Acolarh/ctodo/archive/v1.1.tar.gz";
rev = "de478f5028a1b167bfdb6dd4160d83d9ef7db839"; sha256 = "1sv5p1b08pp73qshakz4qy4pjglxz2pvx2cjfx52i3532hd3xcaf";
sha256 = "3a43a6237e8fe5b37ca7d5abc88c20158f2cff1f8b98762c404e6f24d4b7993e";
}; };
buildInputs = [ stdenv cmake ncurses ]; buildInputs = [ stdenv cmake ncurses ];