Files
nixpkgs/pkgs/development/compilers/rdmd/default.nix
T

29 lines
597 B
Nix
Raw Normal View History

2015-04-13 17:02:49 -07:00
{stdenv, lib, fetchurl, dmd}:
2014-01-10 19:10:22 +01:00
stdenv.mkDerivation {
2015-04-13 17:02:49 -07:00
name = "rdmd-2.067.0";
2014-01-10 19:10:22 +01:00
buildInputs = [ dmd ];
2015-04-13 17:02:49 -07:00
src = fetchurl {
url = "https://github.com/D-Programming-Language/tools/archive/v2.067.0.tar.gz";
sha256 = "2702ecda0427c675084d9b688449bc8c8392fd73e30257d79e2488640d5a9982";
2014-11-13 20:51:32 +00:00
};
buildPhase = ''
dmd rdmd.d
2014-01-10 19:10:22 +01:00
'';
2014-11-13 20:51:32 +00:00
installPhase = ''
mkdir -p $out/bin
cp rdmd $out/bin/
'';
2014-01-10 19:10:22 +01:00
meta = {
2014-08-24 16:21:08 +02:00
description = "Wrapper for D language compiler";
2014-01-10 19:10:22 +01:00
homepage = http://dlang.org/rdmd.html;
license = lib.licenses.boost;
platforms = stdenv.lib.platforms.unix;
};
}