diff --git a/srcpkgs/nim/template b/srcpkgs/nim/template index 6eda0dc8aa2..a0191b1e187 100644 --- a/srcpkgs/nim/template +++ b/srcpkgs/nim/template @@ -1,21 +1,23 @@ # Template file for 'nim' pkgname=nim version=0.11.2 -revision=1 +revision=2 +_csources_commit=c2c13f5a60dc635d1a9746e630cfb127348430cb depends="gcc" -hostmakedepends="libzip git ed" +hostmakedepends="libzip ed" short_desc="The Nim programming language" maintainer="allan " license="MIT" homepage="http://nim-lang.org/" -distfiles="https://github.com/Araq/Nim/archive/v${version}.tar.gz" -checksum=8b46ca59461f870471060dcaff535c7203937c7ae67856f1ba027d000b5fa4c6 +distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz +http://github.com/nim-lang/csources/archive/$_csources_commit.tar.gz" +checksum="8b46ca59461f870471060dcaff535c7203937c7ae67856f1ba027d000b5fa4c6 +876d730d2a7c034b82626d892c65e1b26caa30bc4471c40067a56dc4404a2cfd" wrksrc=Nim-$version post_extract() { cd $wrksrc - test -d csources || - git clone --depth=1 https://github.com/nim-lang/csources + test -d csources || cp -r ../csources-$_csources_commit csources } do_build() {