Merge branch 'master' into gcc-7

... to fix lispPackages.*
This commit is contained in:
Vladimír Čunát
2018-02-17 22:45:50 +01:00
65 changed files with 898 additions and 190 deletions

View File

@@ -3,9 +3,9 @@
, curl, tzdata, gdb, darwin
, callPackage
, bootstrapVersion ? false
, version ? "2.078.1"
, dmdSha256 ? "0b9lphh4g3r9cyzv4wcfppv9j3w952vvwv615za23acgwav3mqg2"
, druntimeSha256 ? "16jv40m073cflpkyl0vmg1g58cianybfcsgcvwli7pfryxbgsbrr"
, version ? "2.078.2"
, dmdSha256 ? "0x9q4aw4jl36dz7m5111y2sm8jdaj3zg36zhj6vqg1lqpdn3bhls"
, druntimeSha256 ? "0nfqjcmwqc490bzi3582x1c3zigkf306g4nyd1cyd3vs8lfm6x66"
, phobosSha256 ? "08ircpf4ilznz638kra272hz8fi5ccvw2cswj5hqckssl1lyqzs8"
}:
@@ -111,7 +111,7 @@ let
''
+ stdenv.lib.optionalString stdenv.hostPlatform.isLinux ''
# See https://github.com/NixOS/nixpkgs/issues/29443
# See https://github.com/dlang/phobos/pull/5960
substituteInPlace phobos/std/path.d \
--replace "\"/root" "\"${ROOT_HOME_DIR}"
'';

View File

@@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub
, cmake }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "jwasm-${version}";
version = "git-2017-11-22";
src = fetchFromGitHub {
owner = "JWasm";
repo = "JWasm";
rev = "26f97c8b5c9d9341ec45538701116fa3649b7766";
sha256 = "0m972pc8vk8s9yv1pi85fsjgm6hj24gab7nalw2q04l0359nqi7w";
};
nativeBuildInputs = [ cmake ];
installPhase = "mkdir -p $out/bin ; cp jwasm $out/bin/";
meta = {
description = "A MASM-compatible x86 assembler";
homepage = http://jwasm.github.io/;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.darwin ++ platforms.linux;
};
}