rdmd: update to new version
Source of old version was not available anymore. Update also depends on newer version of dmd.
This commit is contained in:
parent
fbd2330aff
commit
959f706ace
|
@ -1,29 +1,29 @@
|
||||||
{ stdenv, fetchurl, writeText, lib, dmd }:
|
{stdenv, lib, fetchgit, dmd}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "rdmd-2.064";
|
name = "rdmd-20141113";
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = https://raw2.github.com/D-Programming-Language/tools/2.064/rdmd.d;
|
|
||||||
sha256 = "0b1g3ng6bkanvg00r6xb4ycpbh9x8b9dw589av665azxbcraqrs1";
|
|
||||||
name = "rdmd-src";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ dmd ];
|
buildInputs = [ dmd ];
|
||||||
|
|
||||||
builder = writeText "drmd-builder.sh" ''
|
src = fetchgit {
|
||||||
source $stdenv/setup
|
url = git://github.com/D-Programming-Language/tools.git;
|
||||||
cp $src rdmd.d
|
rev = "f496c68ee4e776597bd7382aa47f05da698a69e";
|
||||||
dmd rdmd.d
|
sha256 = "0vbhmz8nbh8ayml4vad0239kfg982vqfyqqrjv6wrlnjah97n5ms";
|
||||||
mkdir -p $out/bin
|
};
|
||||||
cp rdmd $out/bin/
|
|
||||||
|
buildPhase = ''
|
||||||
|
dmd rdmd.d
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp rdmd $out/bin/
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Wrapper for D language compiler";
|
description = "Wrapper for D language compiler";
|
||||||
homepage = http://dlang.org/rdmd.html;
|
homepage = http://dlang.org/rdmd.html;
|
||||||
license = lib.licenses.boost;
|
license = lib.licenses.boost;
|
||||||
maintainers = with stdenv.lib.maintainers; [ vlstill ];
|
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue