scsh: 0.6.7 -> 0.7 pre-release

The scsh HEAD is buildable, whereas 0.6.7 segfaults during image creation.

+13 -17
+13 -17
pkgs/development/interpreters/scsh/default.nix
··· 1 - {stdenv, fetchurl}: 2 - 3 - let 4 - pname = "scsh"; 5 - version = "0.6.7"; 6 - name = "${pname}-${version}"; 7 - in 1 + { stdenv, fetchgit, autoconf, automake, autoreconfHook, scheme48 }: 8 2 9 3 stdenv.mkDerivation { 10 - inherit name; 4 + name = "scsh-0.7pre"; 11 5 12 - src = fetchurl { 13 - url = "mirror://sourceforge/${pname}/${name}.tar.gz"; 14 - sha256 = "c4a9f7df2a0bb7a7aa3dafc918aa9e9a566d4ad33a55f0192889de172d1ddb7f"; 6 + src = fetchgit { 7 + url = "git://github.com/scheme/scsh.git"; 8 + rev = "f99b8c5293628cfeaeb792019072e3a96841104f"; 9 + fetchSubmodules = true; 10 + sha256 = "0fz1r0bmiii9ld91r84dqkqwhnqk0h6drdycq93zcy5ndyn12fqp"; 15 11 }; 16 12 17 - meta = { 13 + buildInputs = [ autoconf automake autoreconfHook scheme48 ]; 14 + configureFlags = ''--with-scheme48=${scheme48}''; 15 + 16 + meta = with stdenv.lib; { 18 17 description = "A Scheme shell"; 19 - longDescription = '' 20 - SCSH is an implementation of the Scheme shell. It is implemented as 21 - a heap image which is interpreted by the Scheme 48 virtual machine. 22 - ''; 23 18 homepage = http://www.scsh.net/; 24 - license = stdenv.lib.licenses.bsd3; 19 + license = licenses.bsd3; 20 + maintainers = with maintainers; [ joachifm ]; 25 21 }; 26 22 }