Merge commit '3ed545ab31146e607c57649936c75869d6aa9ba2' into ericson2314-cross-master
This commit is contained in:
@@ -20,8 +20,8 @@ let
|
||||
externalDownloads = import ./downloads.nix {inherit fetchurl; inherit (lib) optionalAttrs; inherit (stdenv) system;};
|
||||
# Some .so-files are later copied from .jar-s to $HOME, so patch them beforehand
|
||||
patchelfInJars =
|
||||
lib.optional (stdenv.system == "x86_64-linux") {jar = "share/arduino/lib/jssc-2.8.0.jar"; file = "libs/linux/libjSSC-2.8_x86_64.so";}
|
||||
++ lib.optional (stdenv.system == "i686-linux") {jar = "share/arduino/lib/jssc-2.8.0.jar"; file = "libs/linux/libjSSC-2.8_x86.so";}
|
||||
lib.optional (stdenv.system == "x86_64-linux") {jar = "share/arduino/lib/jssc-2.8.0-arduino1.jar"; file = "libs/linux/libjSSC-2.8_x86_64.so";}
|
||||
++ lib.optional (stdenv.system == "i686-linux") {jar = "share/arduino/lib/jssc-2.8.0-arduino1.jar"; file = "libs/linux/libjSSC-2.8_x86.so";}
|
||||
;
|
||||
# abiVersion 6 is default, but we need 5 for `avrdude_bin` executable
|
||||
ncurses5 = ncurses.override { abiVersion = "5"; };
|
||||
@@ -54,25 +54,25 @@ let
|
||||
+ stdenv.lib.optionalString (!withGui) "-core";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.8.2";
|
||||
version = "1.8.5";
|
||||
name = "${flavor}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "arduino";
|
||||
repo = "Arduino";
|
||||
rev = "${version}";
|
||||
sha256 = "1ssznjmzmahayslj2xnci9b5wpsl53nyg85say54akng93qipmfb";
|
||||
sha256 = "0ww72qfk7fyvprz15lc80i1axfdacb5fij4h5j5pakrg76mng2c3";
|
||||
};
|
||||
|
||||
teensyduino_src = fetchurl {
|
||||
url = "https://www.pjrc.com/teensy/td_136/TeensyduinoInstall.${teensy_architecture}";
|
||||
url = "https://www.pjrc.com/teensy/td_140/TeensyduinoInstall.${teensy_architecture}";
|
||||
sha256 =
|
||||
lib.optionalString ("${teensy_architecture}" == "linux64")
|
||||
"0qvb5z9y6nsqy0kzib9fvvbn8dakl50vib6r3nm6bnpvyxzwjl2r"
|
||||
"0127a1ak31252dbmr5niqa5mkvbm8dnz1cfcnmydzx9qn9rk00ir"
|
||||
+ lib.optionalString ("${teensy_architecture}" == "linux32")
|
||||
"14ca62vq7cpx269vfd92shi80qj8spf0dzli8gfcb39ss2zc4jf1"
|
||||
"01mxj5xsr7gka652c9rp4szy5mkcka8mljk044v4agk3sxvx3v3i"
|
||||
+ lib.optionalString ("${teensy_architecture}" == "linuxarm")
|
||||
"122z1gxcgkmwjb8wdklb2w8c3qkj5rc1ap5n4a8fi3kjz29va9rx";
|
||||
"1dff3alhvk9x8qzy3n85qrg6rfmy6l9pj6fmrlzpli63lzykvv4i";
|
||||
};
|
||||
|
||||
buildInputs = [ jdk ant libusb libusb1 unzip zlib ncurses5 readline
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
{fetchurl, optionalAttrs, system}:
|
||||
|
||||
# This file preloads all the archives which Arduino's build/build.xml
|
||||
# would otherwise try to download itself. When updating this for a new
|
||||
# version of Arduino, check build.xml for version numbers and new
|
||||
# urls.
|
||||
{
|
||||
"build/shared/reference-1.6.6-3.zip" = fetchurl {
|
||||
url = "https://downloads.arduino.cc/reference-1.6.6-3.zip";
|
||||
@@ -21,17 +24,17 @@
|
||||
url = "https://github.com/arduino-libraries/Bridge/archive/1.6.3.zip";
|
||||
sha256 = "1lha5wkzz63bgcn7bhx4rmgsh9ywa47lffycpyz6qjnl1pvm5mmj";
|
||||
};
|
||||
"build/Robot_Control-1.0.3.zip" = fetchurl {
|
||||
url = "https://github.com/arduino-libraries/Robot_Control/archive/1.0.3.zip";
|
||||
sha256 = "1pc3b8skbpx7j32jnxa67mfqhnsmfz3876pc9mdyzpsad4mmcn62";
|
||||
"build/Robot_Control-1.0.4.zip" = fetchurl {
|
||||
url = "https://github.com/arduino-libraries/Robot_Control/archive/1.0.4.zip";
|
||||
sha256 = "1pkabrghx3h8l60x571vwkbhfm02nhyn5x2vqz4vhx9cczr70zq7";
|
||||
};
|
||||
"build/Robot_Motor-1.0.2.zip" = fetchurl {
|
||||
url = "https://github.com/arduino-libraries/Robot_Motor/archive/1.0.2.zip";
|
||||
sha256 = "0da21kfzy07kk2qnkprs3lj214fgkcjxlkk3hdp306jfv8ilmvy2";
|
||||
"build/Robot_Motor-1.0.3.zip" = fetchurl {
|
||||
url = "https://github.com/arduino-libraries/Robot_Motor/archive/1.0.3.zip";
|
||||
sha256 = "1pkvrimg77jrhdsz4l81y59hv50h6cl7hvhk9w8ac7ckg70lvxkw";
|
||||
};
|
||||
"build/RobotIRremote-1.0.2.zip" = fetchurl {
|
||||
url = "https://github.com/arduino-libraries/RobotIRremote/archive/1.0.2.zip";
|
||||
sha256 = "0wkya7dy4x0xyi7wn5aghmr1gj0d0wszd61pq18zgfdspz1gi6xn";
|
||||
"build/RobotIRremote-2.0.0.zip" = fetchurl {
|
||||
url = "https://github.com/arduino-libraries/RobotIRremote/archive/2.0.0.zip";
|
||||
sha256 = "0j5smap74j8p3wc6k0h73b1skj4gkr7r25jbjh1j1cg052dxri86";
|
||||
};
|
||||
"build/SpacebrewYun-1.0.1.zip" = fetchurl {
|
||||
url = "https://github.com/arduino-libraries/SpacebrewYun/archive/1.0.1.zip";
|
||||
@@ -61,9 +64,13 @@
|
||||
url = "https://github.com/arduino-libraries/Servo/archive/1.1.2.zip";
|
||||
sha256 = "14k1883qrx425wnm0r8kszzq32yvvs3jwxf3g7ybp7v0ga0q47l7";
|
||||
};
|
||||
"build/Adafruit_CircuitPlayground-1.6.4.zip" = fetchurl {
|
||||
url = "https://github.com/Adafruit/Adafruit_CircuitPlayground/archive/1.6.4.zip";
|
||||
sha256 = "1ph7m0l1sfx9db56n2h6vi78pn3zyah813lfhqiqghncx34amrhj";
|
||||
"build/LiquidCrystal-1.0.7.zip" = fetchurl {
|
||||
url = "https://github.com/arduino-libraries/LiquidCrystal/archive/1.0.7.zip";
|
||||
sha256 = "1wrxrqz3n4yrj9j1a2b7pdd7a1rlyi974ra7crv5amjng8817x9n";
|
||||
};
|
||||
"build/Adafruit_CircuitPlayground-1.6.8.zip" = fetchurl {
|
||||
url = "https://github.com/Adafruit/Adafruit_CircuitPlayground/archive/1.6.8.zip";
|
||||
sha256 = "0zm667xiaygx8v1ygcls43s6qd5n7pf21n0998n1z7nf18s35j41";
|
||||
};
|
||||
"build/libastylej-2.05.1-3.zip" = fetchurl {
|
||||
url = "https://downloads.arduino.cc/libastylej-2.05.1-3.zip";
|
||||
@@ -73,9 +80,9 @@
|
||||
url = "https://downloads.arduino.cc/liblistSerials/liblistSerials-1.4.0.zip";
|
||||
sha256 = "129mfbyx7snq3znzhkfbdjiifdr85cwk6wjn8l9ia0wynszs5zyv";
|
||||
};
|
||||
"build/shared/WiFi101-Updater-ArduinoIDE-Plugin-0.9.0.zip" = fetchurl {
|
||||
url = "https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.9.0/WiFi101-Updater-ArduinoIDE-Plugin-0.9.0.zip";
|
||||
sha256 = "1nkk87q2l3bs9y387hdxzgqllm0lqpmc5kdmr6my4hjz5lcpgbza";
|
||||
"build/shared/WiFi101-Updater-ArduinoIDE-Plugin-0.9.1.zip" = fetchurl {
|
||||
url = "https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.9.1/WiFi101-Updater-ArduinoIDE-Plugin-0.9.1.zip";
|
||||
sha256 = "15przp8z1dp6lamcvqdx4daq6fqi3c1algc3sbinyh25pm69pq74";
|
||||
};
|
||||
}
|
||||
// optionalAttrs (system == "x86_64-linux") {
|
||||
|
||||
@@ -18,8 +18,8 @@ buildFHSUserEnv {
|
||||
python27Packages.setuptools
|
||||
python27Packages.pip
|
||||
python27Packages.bottle
|
||||
zlib
|
||||
python27Packages.platformio
|
||||
zlib
|
||||
]);
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
@@ -30,5 +30,9 @@ buildFHSUserEnv {
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
|
||||
extraInstallCommands = ''
|
||||
ln -s $out/bin/platformio $out/bin/pio
|
||||
'';
|
||||
|
||||
runScript = "platformio";
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
description = "A programming language for the analysis and transformation of computer languages";
|
||||
homepage = http://www.colm.net/open-source/colm;
|
||||
license = licenses.gpl2;
|
||||
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://dotnet.github.io/core/;
|
||||
homepage = https://dotnet.github.io/core/;
|
||||
description = ".NET is a general purpose development platform";
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ kuznero ];
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
, curl, tzdata, gdb, darwin
|
||||
, callPackage
|
||||
, bootstrapVersion ? false
|
||||
, version ? "2.075.1"
|
||||
, dmdSha256 ? "0kq6r8rcghvzk5jcphg89l85rg734s29bssd2rcw3fygx0k9a9k5"
|
||||
, druntimeSha256 ? "0idn2v1lmp7hl637g3i7pdfj9mjk4sclkz4cm77nl8873k2fhk8j"
|
||||
, phobosSha256 ? "1a7q5fd15yspgs5plxgx54jyrcwgzlyw3rahmz04jd2s5h56dj04"
|
||||
, version ? "2.078.0"
|
||||
, dmdSha256 ? "1ia4swyq0xqppnpmcalh2yxywdk2gv3kvni2abx1mq6wwqgmwlcr"
|
||||
, druntimeSha256 ? "0inyvcjc5qn8277d1zlfvgdgiss86rkjg9mhkw5l31hix8yan372"
|
||||
, phobosSha256 ? "1vb5xnysja9l8hvv9gy4c05vihmblz7ga005761jbazxkmlfirj4"
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -125,10 +125,6 @@ let
|
||||
# Use proper C++ compiler
|
||||
substituteInPlace ${dmdPath}/posix.mak \
|
||||
--replace g++ $CXX
|
||||
|
||||
# TODO
|
||||
substituteInPlace druntime/src/core/memory.d \
|
||||
--replace "assert(z is null);" "//assert(z is null);"
|
||||
''
|
||||
|
||||
+ stdenv.lib.optionalString (!bootstrapVersion) ''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Temporaririly avoid dependency on dotnetbuildhelpers to avoid rebuilding many times while working on it
|
||||
# Temporarily avoid dependency on dotnetbuildhelpers to avoid rebuilding many times while working on it
|
||||
|
||||
{ stdenv, fetchurl, mono, pkgconfig, dotnetbuildhelpers, autoconf, automake, which }:
|
||||
|
||||
|
||||
@@ -256,7 +256,11 @@ stdenv.mkDerivation ({
|
||||
;
|
||||
|
||||
# TODO(@Ericson2314): Always pass "--target" and always prefix.
|
||||
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
configurePlatforms =
|
||||
# TODO(@Ericson2314): Figure out what's going wrong with Arm
|
||||
if hostPlatform == targetPlatform && targetPlatform.isArm
|
||||
then []
|
||||
else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
|
||||
configureFlags =
|
||||
# Basic dependencies
|
||||
|
||||
@@ -298,7 +298,11 @@ stdenv.mkDerivation ({
|
||||
dontDisableStatic = true;
|
||||
|
||||
# TODO(@Ericson2314): Always pass "--target" and always prefix.
|
||||
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
configurePlatforms =
|
||||
# TODO(@Ericson2314): Figure out what's going wrong with Arm
|
||||
if hostPlatform == targetPlatform && targetPlatform.isArm
|
||||
then []
|
||||
else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
|
||||
configureFlags =
|
||||
# Basic dependencies
|
||||
|
||||
@@ -307,7 +307,11 @@ stdenv.mkDerivation ({
|
||||
dontDisableStatic = true;
|
||||
|
||||
# TODO(@Ericson2314): Always pass "--target" and always prefix.
|
||||
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
configurePlatforms =
|
||||
# TODO(@Ericson2314): Figure out what's going wrong with Arm
|
||||
if hostPlatform == targetPlatform && targetPlatform.isArm
|
||||
then []
|
||||
else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
|
||||
configureFlags =
|
||||
# Basic dependencies
|
||||
|
||||
@@ -316,7 +316,11 @@ stdenv.mkDerivation ({
|
||||
dontDisableStatic = true;
|
||||
|
||||
# TODO(@Ericson2314): Always pass "--target" and always prefix.
|
||||
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
configurePlatforms =
|
||||
# TODO(@Ericson2314): Figure out what's going wrong with Arm
|
||||
if hostPlatform == targetPlatform && targetPlatform.isArm
|
||||
then []
|
||||
else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
|
||||
configureFlags =
|
||||
# Basic dependencies
|
||||
|
||||
@@ -319,7 +319,11 @@ stdenv.mkDerivation ({
|
||||
dontDisableStatic = true;
|
||||
|
||||
# TODO(@Ericson2314): Always pass "--target" and always prefix.
|
||||
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
configurePlatforms =
|
||||
# TODO(@Ericson2314): Figure out what's going wrong with Arm
|
||||
if hostPlatform == targetPlatform && targetPlatform.isArm
|
||||
then []
|
||||
else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
|
||||
configureFlags =
|
||||
# Basic dependencies
|
||||
|
||||
@@ -312,7 +312,11 @@ stdenv.mkDerivation ({
|
||||
dontDisableStatic = true;
|
||||
|
||||
# TODO(@Ericson2314): Always pass "--target" and always prefix.
|
||||
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
configurePlatforms =
|
||||
# TODO(@Ericson2314): Figure out what's going wrong with Arm
|
||||
if hostPlatform == targetPlatform && targetPlatform.isArm
|
||||
then []
|
||||
else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
|
||||
configureFlags =
|
||||
# Basic dependencies
|
||||
|
||||
@@ -299,7 +299,11 @@ stdenv.mkDerivation ({
|
||||
dontDisableStatic = true;
|
||||
|
||||
# TODO(@Ericson2314): Always pass "--target" and always prefix.
|
||||
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
configurePlatforms =
|
||||
# TODO(@Ericson2314): Figure out what's going wrong with Arm
|
||||
if hostPlatform == targetPlatform && targetPlatform.isArm
|
||||
then []
|
||||
else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
|
||||
|
||||
configureFlags =
|
||||
# Basic dependencies
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv
|
||||
, fetchurl, perl
|
||||
, ncurses5, gmp, libiconv
|
||||
, gcc
|
||||
, gcc, llvm_35
|
||||
}:
|
||||
|
||||
# Prebuilt only does native
|
||||
@@ -43,6 +43,7 @@ stdenv.mkDerivation rec {
|
||||
or (throw "cannot bootstrap GHC on this platform"));
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
buildInputs = stdenv.lib.optionals stdenv.isArm [ llvm_35 ];
|
||||
|
||||
# Cannot patchelf beforehand due to relative RPATHs that anticipate
|
||||
# the final install location/
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
, buildPlatform, hostPlatform, targetPlatform
|
||||
|
||||
# build-tools
|
||||
, bootPkgs, hscolour
|
||||
, bootPkgs, hscolour, llvm_35
|
||||
, coreutils, fetchurl, fetchpatch, perl
|
||||
, docbook_xsl, docbook_xml_dtd_45, docbook_xml_dtd_42, libxml2, libxslt
|
||||
|
||||
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
|
||||
./relocation.patch
|
||||
];
|
||||
|
||||
buildInputs = [ ghc perl libxml2 libxslt docbook_xsl docbook_xml_dtd_45 docbook_xml_dtd_42 hscolour ];
|
||||
buildInputs = [ ghc perl libxml2 libxslt docbook_xsl docbook_xml_dtd_45 docbook_xml_dtd_42 hscolour ] ++ stdenv.lib.optionals stdenv.isArm [ llvm_35 ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
, buildPlatform, hostPlatform, targetPlatform
|
||||
|
||||
# build-tools
|
||||
, bootPkgs, hscolour
|
||||
, bootPkgs, hscolour, llvm_37
|
||||
, coreutils, fetchurl, fetchpatch, patchutils, perl, sphinx
|
||||
|
||||
, libiconv ? null, ncurses
|
||||
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
++ stdenv.lib.optional stdenv.isLinux ./ghc-no-madv-free.patch
|
||||
++ stdenv.lib.optional stdenv.isDarwin ./ghc-8.0.2-no-cpp-warnings.patch;
|
||||
|
||||
buildInputs = [ ghc perl hscolour sphinx ];
|
||||
buildInputs = [ ghc perl hscolour sphinx ] ++ stdenv.lib.optionals (stdenv.isArm || stdenv.isAarch64) [ llvm_37 ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv
|
||||
, fetchurl, perl, gcc
|
||||
, fetchurl, perl, gcc, llvm_39
|
||||
, ncurses5, gmp, libiconv
|
||||
}:
|
||||
|
||||
@@ -46,6 +46,7 @@ stdenv.mkDerivation rec {
|
||||
or (throw "cannot bootstrap GHC on this platform"));
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
buildInputs = stdenv.lib.optionals (stdenv.isArm || stdenv.isAarch64) [ llvm_39 ];
|
||||
|
||||
# Cannot patchelf beforehand due to relative RPATHs that anticipate
|
||||
# the final install location/
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
, selfPkgs, cross ? null
|
||||
|
||||
# build-tools
|
||||
, bootPkgs, alex, happy, hscolour
|
||||
, bootPkgs, alex, happy, hscolour, llvm_39
|
||||
, autoconf, automake, coreutils, fetchurl, perl, python3, sphinx
|
||||
|
||||
, libiconv ? null, ncurses
|
||||
@@ -46,7 +46,7 @@ stdenv.mkDerivation (rec {
|
||||
sed 's|#BuildFlavour = quick-cross|BuildFlavour = perf-cross|' mk/build.mk.sample > mk/build.mk
|
||||
'';
|
||||
|
||||
buildInputs = [ alex autoconf automake ghc happy hscolour perl python3 sphinx ];
|
||||
buildInputs = [ alex autoconf automake ghc happy hscolour perl python3 sphinx ] ++ stdenv.lib.optionals (stdenv.isArm || stdenv.isAarch64) [ llvm_39 ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@@ -58,6 +58,8 @@ stdenv.mkDerivation (rec {
|
||||
"--with-gmp-includes=${gmp.dev}/include" "--with-gmp-libraries=${gmp.out}/lib"
|
||||
] ++ stdenv.lib.optional stdenv.isDarwin [
|
||||
"--with-iconv-includes=${libiconv}/include" "--with-iconv-libraries=${libiconv}/lib"
|
||||
] ++ stdenv.lib.optional stdenv.isArm [
|
||||
"LD=${stdenv.cc}/bin/ld.gold"
|
||||
];
|
||||
|
||||
# required, because otherwise all symbols from HSffi.o are stripped, and
|
||||
|
||||
@@ -175,6 +175,9 @@ in mkDerivation (rec {
|
||||
inherit nodejs ghcjsBoot;
|
||||
socket-io = pkgs.nodePackages."socket.io";
|
||||
|
||||
# let us assume ghcjs is never actually cross compiled
|
||||
targetPrefix = "";
|
||||
|
||||
inherit stage1Packages;
|
||||
mkStage2 = stage2 {
|
||||
inherit ghcjsBoot;
|
||||
|
||||
@@ -46,7 +46,7 @@ let
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit description;
|
||||
homepage = http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/;
|
||||
homepage = https://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/;
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
|
||||
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
||||
version = "0.17.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://nim-lang.org/download/${name}.tar.xz";
|
||||
url = "https://nim-lang.org/download/${name}.tar.xz";
|
||||
sha256 = "1gc2xk3ygmz9y4pm75pligssgw995a7gvnfpy445fjpw4d81pzxa";
|
||||
};
|
||||
|
||||
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Statically typed, imperative programming language";
|
||||
homepage = http://nim-lang.org/;
|
||||
homepage = https://nim-lang.org/;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ehmry peterhoeg ];
|
||||
platforms = with platforms; linux ++ darwin; # arbitrary
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
|
||||
stdenv.mkDerivation ( rec {
|
||||
name = "ponyc-${version}";
|
||||
version = "0.21.0";
|
||||
version = "0.21.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ponylang";
|
||||
repo = "ponyc";
|
||||
rev = version;
|
||||
sha256 = "0kpnmgxhha22nhl2bmch47cpr0d9h5718h3w9h7qqwd994xcfk9z";
|
||||
sha256 = "0gdkm1mihn266km3q5ma7nhvjpzwdzmy39cxb7kkz8aal2nmvwri";
|
||||
};
|
||||
|
||||
buildInputs = [ llvm makeWrapper which ];
|
||||
|
||||
@@ -12,26 +12,6 @@ let
|
||||
|
||||
bootstrapping = versionType == "bootstrap";
|
||||
|
||||
patchBootstrapCargo = ''
|
||||
${optionalString (stdenv.isLinux && bootstrapping) ''
|
||||
patchelf \
|
||||
--set-rpath "${stdenv.lib.makeLibraryPath [ curl zlib ]}" \
|
||||
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||
"$out/bin/cargo"
|
||||
''}
|
||||
${optionalString (stdenv.isDarwin && bootstrapping) ''
|
||||
install_name_tool \
|
||||
-change /usr/lib/libiconv.2.dylib '${getLib libiconv}/lib/libiconv.2.dylib' \
|
||||
"$out/bin/cargo"
|
||||
install_name_tool \
|
||||
-change /usr/lib/libcurl.4.dylib '${getLib curl}/lib/libcurl.4.dylib' \
|
||||
"$out/bin/cargo"
|
||||
install_name_tool \
|
||||
-change /usr/lib/libz.1.dylib '${getLib zlib}/lib/libz.1.dylib' \
|
||||
"$out/bin/cargo"
|
||||
''}
|
||||
'';
|
||||
|
||||
installComponents
|
||||
= "rustc,rust-std-${platform}"
|
||||
+ (optionalString bootstrapping ",rust-docs,cargo")
|
||||
@@ -56,7 +36,7 @@ rec {
|
||||
|
||||
phases = ["unpackPhase" "installPhase" "fixupPhase"];
|
||||
|
||||
propagatedBuildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||
|
||||
installPhase = ''
|
||||
./install.sh --prefix=$out \
|
||||
@@ -69,14 +49,21 @@ rec {
|
||||
patchelf \
|
||||
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||
"$out/bin/rustdoc"
|
||||
''}
|
||||
${optionalString (stdenv.isDarwin && bootstrapping) ''
|
||||
install_name_tool -change /usr/lib/libiconv.2.dylib '${darwin.libiconv}/lib/libiconv.2.dylib' "$out/bin/cargo"
|
||||
install_name_tool -change /usr/lib/libcurl.4.dylib '${stdenv.lib.getLib curl}/lib/libcurl.4.dylib' "$out/bin/cargo"
|
||||
install_name_tool -change /usr/lib/libz.1.dylib '${stdenv.lib.getLib zlib}/lib/libz.1.dylib' "$out/bin/cargo"
|
||||
patchelf \
|
||||
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||
"$out/bin/cargo"
|
||||
''}
|
||||
|
||||
${patchBootstrapCargo}
|
||||
${optionalString (stdenv.isDarwin && bootstrapping) ''
|
||||
install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$out/bin/rustc"
|
||||
install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$out/bin/rustdoc"
|
||||
install_name_tool -change /usr/lib/libiconv.2.dylib '${darwin.libiconv}/lib/libiconv.2.dylib' "$out/bin/cargo"
|
||||
install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$out/bin/cargo"
|
||||
install_name_tool -change /usr/lib/libcurl.4.dylib '${stdenv.lib.getLib curl}/lib/libcurl.4.dylib' "$out/bin/cargo"
|
||||
for f in $out/lib/lib*.dylib; do
|
||||
install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$f"
|
||||
done
|
||||
''}
|
||||
|
||||
# Do NOT, I repeat, DO NOT use `wrapProgram` on $out/bin/rustc
|
||||
# (or similar) here. It causes strange effects where rustc loads
|
||||
@@ -101,14 +88,23 @@ rec {
|
||||
|
||||
phases = ["unpackPhase" "installPhase" "fixupPhase"];
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
propagatedBuildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||
buildInputs = [ makeWrapper ] ++ stdenv.lib.optional stdenv.isDarwin Security;
|
||||
|
||||
installPhase = ''
|
||||
./install.sh --prefix=$out \
|
||||
--components=cargo
|
||||
|
||||
${patchBootstrapCargo}
|
||||
${optionalString (stdenv.isLinux && bootstrapping) ''
|
||||
patchelf \
|
||||
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||
"$out/bin/cargo"
|
||||
''}
|
||||
|
||||
${optionalString (stdenv.isDarwin && bootstrapping) ''
|
||||
install_name_tool -change /usr/lib/libiconv.2.dylib '${darwin.libiconv}/lib/libiconv.2.dylib' "$out/bin/cargo"
|
||||
install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$out/bin/cargo"
|
||||
install_name_tool -change /usr/lib/libcurl.4.dylib '${stdenv.lib.getLib curl}/lib/libcurl.4.dylib' "$out/bin/cargo"
|
||||
''}
|
||||
|
||||
wrapProgram "$out/bin/cargo" \
|
||||
--suffix PATH : "${rustc}/bin"
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
let
|
||||
# Note: the version MUST be one version prior to the version we're
|
||||
# building
|
||||
version = "1.20.0";
|
||||
version = "1.21.0";
|
||||
|
||||
# fetch hashes by running `print-hashes.sh 1.20.0`
|
||||
# fetch hashes by running `print-hashes.sh 1.21.0`
|
||||
hashes = {
|
||||
i686-unknown-linux-gnu = "abe592e06616cdc2fcca56ddbe482050dd49a1fada35e2af031c64fe6eb14668";
|
||||
x86_64-unknown-linux-gnu = "ca1cf3aed73ff03d065a7d3e57ecca92228d35dc36d9274a6597441319f18eb8";
|
||||
aarch64-unknown-linux-gnu = "eaab3df489d4d8f976c4327d812b9870730eed6d0bbd52712767083d02be7472";
|
||||
i686-apple-darwin = "b3c2470f8f132d285e6c989681e251592b67071bc9d93cac8a2e6b66f7bdfcb5";
|
||||
x86_64-apple-darwin = "fa1fb8896d5e327cbe6deeb50e6e9a3346de629f2e6bcbd8c10f19f3e2ed67d5";
|
||||
i686-unknown-linux-gnu = "b7caed0f602cdb8ef22e0bfa9125a65bec411e15c0b8901d937e43303ec7dbee";
|
||||
x86_64-unknown-linux-gnu = "b41e70e018402bc04d02fde82f91bea24428e6be432f0df12ac400cfb03108e8";
|
||||
aarch64-unknown-linux-gnu = "491ee6c43cc672006968d665bd34c94cc2219ef3592d93d38097c97eaaa864c3";
|
||||
i686-apple-darwin = "c8b0fabeebcde66b683f3a871187e614e07305adda414c2862cb332aecb2b3bf";
|
||||
x86_64-apple-darwin = "75a7f4bd7c72948030bb9e421df27e8a650dea826fb5b836cf59d23d6f985a0d";
|
||||
};
|
||||
|
||||
platform =
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
let
|
||||
rustPlatform = recurseIntoAttrs (makeRustPlatform (callPackage ./bootstrap.nix {}));
|
||||
version = "1.21.0";
|
||||
version = "1.22.1";
|
||||
in
|
||||
rec {
|
||||
rustc = callPackage ./rustc.nix {
|
||||
@@ -18,7 +18,7 @@ rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://static.rust-lang.org/dist/rustc-${version}-src.tar.gz";
|
||||
sha256 = "1yj8lnxybjrybp00fqhxw8fpr641dh8wcn9mk44xjnsb4i1c21qp";
|
||||
sha256 = "1lrzzp0nh7s61wgfs2h6ilaqi6iq89f1pd1yaf65l87bssyl4ylb";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -30,9 +30,9 @@ rec {
|
||||
};
|
||||
|
||||
cargo = callPackage ./cargo.nix rec {
|
||||
version = "0.22.0";
|
||||
srcSha = "0x9pm73hkkd1hq4qrmz8iv91djgpdsxzwll7jari0h77vpwajmw4";
|
||||
cargoSha256 = "0xd0rb8gcqy6xngsx9l30jg3fqrcwccgv904ksqs9c4d44hga0gd";
|
||||
version = "0.23.0";
|
||||
srcSha = "14b2n1msxma19ydchj54hd7f2zdsr524fg133dkmdn7j65f1x6aj";
|
||||
cargoSha256 = "1mcqv45l0d1gw8v3v48gm1902xckj6r0s8l1z46nbmrsjs34rzhx";
|
||||
|
||||
inherit rustc; # the rustc that will be wrapped by cargo
|
||||
inherit rustPlatform; # used to build cargo
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) optional optionalString;
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
|
||||
procps = if stdenv.isDarwin then darwin.ps else args.procps;
|
||||
|
||||
llvmShared = llvm.override { enableSharedLibraries = true; };
|
||||
|
||||
target = builtins.replaceStrings [" "] [","] (builtins.toString targets);
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@@ -55,7 +55,6 @@ stdenv.mkDerivation {
|
||||
# ++ [ "--jemalloc-root=${jemalloc}/lib"
|
||||
++ [ "--default-linker=${targetPackages.stdenv.cc}/bin/cc" "--default-ar=${targetPackages.stdenv.cc.bintools}/bin/ar" ]
|
||||
++ optional (!forceBundledLLVM) [ "--enable-llvm-link-shared" ]
|
||||
++ optional (stdenv.cc.cc ? isClang) "--enable-clang"
|
||||
++ optional (targets != []) "--target=${target}"
|
||||
++ optional (!forceBundledLLVM) "--llvm-root=${llvmShared}";
|
||||
|
||||
@@ -112,6 +111,10 @@ stdenv.mkDerivation {
|
||||
# Disable all lldb tests.
|
||||
# error: Can't run LLDB test because LLDB's python path is not set
|
||||
rm -vr src/test/debuginfo/*
|
||||
rm -v src/test/run-pass/backtrace-debuginfo.rs
|
||||
|
||||
# error: No such file or directory
|
||||
rm -v src/test/run-pass/issue-45731.rs
|
||||
|
||||
# Disable tests that fail when sandboxing is enabled.
|
||||
substituteInPlace src/libstd/sys/unix/ext/net.rs \
|
||||
@@ -122,12 +125,6 @@ stdenv.mkDerivation {
|
||||
rm -v src/test/run-pass/sync-send-in-std.rs # FIXME: ???
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
# Needed flags as the upstream configure script has a broken prefix substitution
|
||||
configureFlagsArray+=("--datadir=$out/share")
|
||||
configureFlagsArray+=("--infodir=$out/share/info")
|
||||
'';
|
||||
|
||||
# rustc unfortunately need cmake for compiling llvm-rt but doesn't
|
||||
# use it for the normal build. This disables cmake in Nix.
|
||||
dontUseCmakeConfigure = true;
|
||||
@@ -141,6 +138,7 @@ stdenv.mkDerivation {
|
||||
++ optional (!stdenv.isDarwin) gdb;
|
||||
|
||||
buildInputs = [ ncurses ] ++ targetToolchains
|
||||
++ optional stdenv.isDarwin Security
|
||||
++ optional (!forceBundledLLVM) llvmShared;
|
||||
|
||||
outputs = [ "out" "man" "doc" ];
|
||||
@@ -168,7 +166,7 @@ stdenv.mkDerivation {
|
||||
# enableParallelBuilding = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.rust-lang.org/;
|
||||
homepage = https://www.rust-lang.org/;
|
||||
description = "A safe, concurrent, practical language";
|
||||
maintainers = with maintainers; [ madjar cstrahan wizeman globin havvy wkennington ];
|
||||
license = [ licenses.mit licenses.asl20 ];
|
||||
|
||||
40
pkgs/development/compilers/scala/dotty-bare.nix
Normal file
40
pkgs/development/compilers/scala/dotty-bare.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ stdenv, fetchurl, makeWrapper, jre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.4.0-RC1";
|
||||
name = "dotty-bare-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/lampepfl/dotty/releases/download/${version}/dotty-${version}.tar.gz";
|
||||
sha256 = "1d1ab08b85bd6898ce6273fa50818de0d314fc6e5377fb6ee05494827043321b";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ jre ] ;
|
||||
buildInputs = [ makeWrapper ] ;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
mv * $out
|
||||
'';
|
||||
|
||||
fixupPhase = ''
|
||||
bin_files=$(find $out/bin -type f ! -name common)
|
||||
for f in $bin_files ; do
|
||||
wrapProgram $f --set JAVA_HOME ${jre}
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Research platform for new language concepts and compiler technologies for Scala.";
|
||||
longDescription = ''
|
||||
Dotty is a platform to try out new language concepts and compiler technologies for Scala.
|
||||
The focus is mainly on simplification. We remove extraneous syntax (e.g. no XML literals),
|
||||
and try to boil down Scala’s types into a smaller set of more fundamental constructs.
|
||||
The theory behind these constructs is researched in DOT, a calculus for dependent object types.
|
||||
'';
|
||||
homepage = http://dotty.epfl.ch/;
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.all;
|
||||
maintainers = [maintainers.karolchmist];
|
||||
};
|
||||
}
|
||||
@@ -1,46 +1,22 @@
|
||||
{ stdenv, fetchurl, makeWrapper, jre }:
|
||||
{ stdenv, fetchurl, makeWrapper, jre, callPackage }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.4.0-RC1";
|
||||
name = "dotty-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/lampepfl/dotty/releases/download/${version}/${name}.tar.gz";
|
||||
sha256 = "1d1ab08b85bd6898ce6273fa50818de0d314fc6e5377fb6ee05494827043321b";
|
||||
let
|
||||
dotty-bare = callPackage ./dotty-bare.nix {
|
||||
inherit stdenv fetchurl makeWrapper jre;
|
||||
};
|
||||
in
|
||||
|
||||
propagatedBuildInputs = [ jre ] ;
|
||||
buildInputs = [ makeWrapper ] ;
|
||||
stdenv.mkDerivation {
|
||||
name = "dotty-${dotty-bare.version}";
|
||||
|
||||
unpackPhase = ":";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
mv * $out
|
||||
|
||||
mkdir -p $out/shared
|
||||
mv $out/bin/common $out/shared
|
||||
mkdir -p $out/bin
|
||||
ln -s ${dotty-bare}/bin/dotc $out/bin/dotc
|
||||
ln -s ${dotty-bare}/bin/dotd $out/bin/dotd
|
||||
ln -s ${dotty-bare}/bin/dotr $out/bin/dotr
|
||||
'';
|
||||
|
||||
fixupPhase = ''
|
||||
for file in $out/bin/* ; do
|
||||
substituteInPlace $file \
|
||||
--replace '$PROG_HOME/bin/common' $out/shared/common
|
||||
|
||||
wrapProgram $file \
|
||||
--set JAVA_HOME ${jre}
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Research platform for new language concepts and compiler technologies for Scala.";
|
||||
longDescription = ''
|
||||
Dotty is a platform to try out new language concepts and compiler technologies for Scala.
|
||||
The focus is mainly on simplification. We remove extraneous syntax (e.g. no XML literals),
|
||||
and try to boil down Scala’s types into a smaller set of more fundamental constructs.
|
||||
The theory behind these constructs is researched in DOT, a calculus for dependent object types.
|
||||
'';
|
||||
homepage = http://dotty.epfl.ch/;
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.all;
|
||||
maintainers = [maintainers.karolchmist];
|
||||
};
|
||||
inherit (dotty-bare) meta;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ self: super: {
|
||||
clock = dontCheck super.clock;
|
||||
Dust-crypto = dontCheck super.Dust-crypto;
|
||||
hasql-postgres = dontCheck super.hasql-postgres;
|
||||
hspec = super.hspec.override { stringbuilder = dontCheck super.stringbuilder; };
|
||||
hspec = super.hspec.override { stringbuilder = dontCheck self.stringbuilder; };
|
||||
hspec-core = super.hspec-core.override { silently = dontCheck super.silently; temporary = dontCheck super.temporary; };
|
||||
hspec-expectations = dontCheck super.hspec-expectations;
|
||||
HTTP = dontCheck super.HTTP;
|
||||
@@ -653,7 +653,9 @@ self: super: {
|
||||
ln -s $lispdir $data/share/emacs/site-lisp
|
||||
'';
|
||||
doCheck = false; # https://github.com/chrisdone/hindent/issues/299
|
||||
}));
|
||||
})).override {
|
||||
haskell-src-exts = self.haskell-src-exts_1_20_1;
|
||||
};
|
||||
|
||||
# https://github.com/bos/configurator/issues/22
|
||||
configurator = dontCheck super.configurator;
|
||||
@@ -915,7 +917,8 @@ self: super: {
|
||||
grakn = dontCheck (doJailbreak super.grakn);
|
||||
|
||||
# test suite requires git and does a bunch of git operations
|
||||
restless-git = dontCheck super.restless-git;
|
||||
# doJailbreak because of hardcoded time, seems to be fixed upstream
|
||||
restless-git = dontCheck (doJailbreak super.restless-git);
|
||||
|
||||
# Depends on broken fluid.
|
||||
fluid-idl-http-client = markBroken super.fluid-idl-http-client;
|
||||
@@ -1002,6 +1005,9 @@ self: super: {
|
||||
# https://github.com/alphaHeavy/protobuf/issues/34
|
||||
protobuf = dontCheck super.protobuf;
|
||||
|
||||
# https://github.com/bos/text-icu/issues/32
|
||||
text-icu = dontCheck super.text-icu;
|
||||
|
||||
# https://github.com/strake/lenz.hs/issues/2
|
||||
lenz =
|
||||
let patch = pkgs.fetchpatch
|
||||
@@ -1023,4 +1029,6 @@ self: super: {
|
||||
# https://github.com/Twinside/Juicy.Pixels/issues/149
|
||||
JuicyPixels = dontHaddock super.JuicyPixels;
|
||||
|
||||
# armv7l fixes.
|
||||
happy = if pkgs.stdenv.isArm then dontCheck super.happy else super.happy; # Similar to https://ghc.haskell.org/trac/ghc/ticket/13062
|
||||
}
|
||||
|
||||
@@ -93,4 +93,8 @@ self: super: {
|
||||
sha256 = "06sfxk5cyd8nqgjyb95jkihxxk8m6dw9m3mlv94sm2qwylj86gqy";
|
||||
};
|
||||
in appendPatch super.coordinate patch;
|
||||
|
||||
# https://github.com/purescript/purescript/issues/3189
|
||||
purescript = doJailbreak (super.purescript);
|
||||
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ core-packages:
|
||||
- ghcjs-base-0
|
||||
|
||||
default-package-overrides:
|
||||
# LTS Haskell 10.2
|
||||
# LTS Haskell 10.3
|
||||
- abstract-deque ==0.3
|
||||
- abstract-deque-tests ==0.3
|
||||
- abstract-par ==0.3.3
|
||||
@@ -250,7 +250,7 @@ default-package-overrides:
|
||||
- base-unicode-symbols ==0.2.2.4
|
||||
- basic-prelude ==0.7.0
|
||||
- bbdb ==0.8
|
||||
- bcrypt ==0.0.10
|
||||
- bcrypt ==0.0.11
|
||||
- bench ==1.0.7
|
||||
- benchpress ==0.2.2.10
|
||||
- bencode ==0.6.0.0
|
||||
@@ -415,7 +415,7 @@ default-package-overrides:
|
||||
- cmark-gfm ==0.1.3
|
||||
- cmark-highlight ==0.2.0.0
|
||||
- cmark-lucid ==0.1.0.0
|
||||
- cmdargs ==0.10.18
|
||||
- cmdargs ==0.10.19
|
||||
- code-builder ==0.1.3
|
||||
- codec ==0.2.1
|
||||
- code-page ==0.1.3
|
||||
@@ -449,7 +449,7 @@ default-package-overrides:
|
||||
- conduit-algorithms ==0.0.6.1
|
||||
- conduit-combinators ==1.1.2
|
||||
- conduit-connection ==0.1.0.3
|
||||
- conduit-extra ==1.2.3.1
|
||||
- conduit-extra ==1.2.3.2
|
||||
- conduit-iconv ==0.1.1.2
|
||||
- conduit-parse ==0.1.2.2
|
||||
- conduit-throttle ==0.3.1.0
|
||||
@@ -484,7 +484,7 @@ default-package-overrides:
|
||||
- crackNum ==1.9
|
||||
- criterion ==1.2.6.0
|
||||
- cron ==0.6.1
|
||||
- crypto-api ==0.13.2
|
||||
- crypto-api ==0.13.3
|
||||
- crypto-api-tests ==0.3
|
||||
- cryptocipher ==0.6.2
|
||||
- crypto-cipher-tests ==0.0.11
|
||||
@@ -515,7 +515,7 @@ default-package-overrides:
|
||||
- cubicspline ==0.1.2
|
||||
- cublas ==0.4.0.0
|
||||
- cuda ==0.9.0.0
|
||||
- cue-sheet ==1.0.0
|
||||
- cue-sheet ==1.0.1
|
||||
- cufft ==0.8.0.0
|
||||
- curl ==1.3.8
|
||||
- currencies ==0.1.1.1
|
||||
@@ -847,10 +847,10 @@ default-package-overrides:
|
||||
- ghc-paths ==0.1.0.9
|
||||
- ghc-prof ==1.4.0.4
|
||||
- ghc-syb-utils ==0.2.3.3
|
||||
- ghc-tcplugins-extra ==0.2.1
|
||||
- ghc-typelits-extra ==0.2.3
|
||||
- ghc-typelits-knownnat ==0.3.1
|
||||
- ghc-typelits-natnormalise ==0.5.7
|
||||
- ghc-tcplugins-extra ==0.2.2
|
||||
- ghc-typelits-extra ==0.2.4
|
||||
- ghc-typelits-knownnat ==0.4
|
||||
- ghc-typelits-natnormalise ==0.5.8
|
||||
- ghost-buster ==0.1.1.0
|
||||
- gi-atk ==2.0.14
|
||||
- gi-cairo ==1.0.14
|
||||
@@ -1035,7 +1035,7 @@ default-package-overrides:
|
||||
- hashable ==1.2.6.1
|
||||
- hashable-time ==0.2.0.1
|
||||
- hashids ==1.0.2.3
|
||||
- hashmap ==1.3.2
|
||||
- hashmap ==1.3.3
|
||||
- hashtables ==1.2.2.1
|
||||
- haskeline ==0.7.4.2
|
||||
- haskell-gi ==0.20.3
|
||||
@@ -1055,16 +1055,16 @@ default-package-overrides:
|
||||
- haskell-src-exts-simple ==1.19.0.0
|
||||
- haskell-src-exts-util ==0.2.1.2
|
||||
- haskell-src-meta ==0.8.0.1
|
||||
- haskell-tools-ast ==1.0.0.2
|
||||
- haskell-tools-backend-ghc ==1.0.0.2
|
||||
- haskell-tools-builtin-refactorings ==1.0.0.2
|
||||
- haskell-tools-cli ==1.0.0.2
|
||||
- haskell-tools-daemon ==1.0.0.2
|
||||
- haskell-tools-debug ==1.0.0.2
|
||||
- haskell-tools-demo ==1.0.0.2
|
||||
- haskell-tools-prettyprint ==1.0.0.2
|
||||
- haskell-tools-refactor ==1.0.0.2
|
||||
- haskell-tools-rewrite ==1.0.0.2
|
||||
- haskell-tools-ast ==1.0.0.3
|
||||
- haskell-tools-backend-ghc ==1.0.0.3
|
||||
- haskell-tools-builtin-refactorings ==1.0.0.3
|
||||
- haskell-tools-cli ==1.0.0.3
|
||||
- haskell-tools-daemon ==1.0.0.3
|
||||
- haskell-tools-debug ==1.0.0.3
|
||||
- haskell-tools-demo ==1.0.0.3
|
||||
- haskell-tools-prettyprint ==1.0.0.3
|
||||
- haskell-tools-refactor ==1.0.0.3
|
||||
- haskell-tools-rewrite ==1.0.0.3
|
||||
- haskintex ==0.8.0.0
|
||||
- hasmin ==1.0.1
|
||||
- hasql ==1.1.1
|
||||
@@ -1082,7 +1082,7 @@ default-package-overrides:
|
||||
- hbeanstalk ==0.2.4
|
||||
- Hclip ==3.0.0.4
|
||||
- HCodecs ==0.5
|
||||
- hdaemonize ==0.5.4
|
||||
- hdaemonize ==0.5.5
|
||||
- HDBC ==2.4.0.2
|
||||
- HDBC-mysql ==0.7.1.0
|
||||
- HDBC-session ==0.1.1.1
|
||||
@@ -1171,7 +1171,7 @@ default-package-overrides:
|
||||
- hsignal ==0.2.7.5
|
||||
- hsinstall ==1.6
|
||||
- hslogger ==1.2.10
|
||||
- hslua ==0.9.3
|
||||
- hslua ==0.9.5
|
||||
- hslua-aeson ==0.3.0.1
|
||||
- hslua-module-text ==0.1.2.1
|
||||
- hsndfile ==0.8.0
|
||||
@@ -1297,8 +1297,8 @@ default-package-overrides:
|
||||
- intern ==0.9.1.4
|
||||
- interpolate ==0.1.1
|
||||
- interpolatedstring-perl6 ==1.0.0
|
||||
- interpolation ==0.1.0.2
|
||||
- Interpolation ==0.3.0
|
||||
- interpolation ==0.1.0.2
|
||||
- IntervalMap ==0.5.3.1
|
||||
- intervals ==0.8.1
|
||||
- intro ==0.3.0.1
|
||||
@@ -1351,7 +1351,7 @@ default-package-overrides:
|
||||
- json-rpc-generic ==0.2.1.3
|
||||
- json-schema ==0.7.4.1
|
||||
- json-stream ==0.4.1.5
|
||||
- JuicyPixels ==3.2.9.2
|
||||
- JuicyPixels ==3.2.9.3
|
||||
- JuicyPixels-extra ==0.2.2
|
||||
- JuicyPixels-scale-dct ==0.1.1.2
|
||||
- justified-containers ==0.2.0.1
|
||||
@@ -1433,8 +1433,8 @@ default-package-overrides:
|
||||
- ListLike ==4.5.1
|
||||
- listsafe ==0.1.0.1
|
||||
- list-t ==1.0.0.1
|
||||
- llvm-hs ==5.1.2
|
||||
- llvm-hs-pure ==5.1.1
|
||||
- llvm-hs ==5.1.3
|
||||
- llvm-hs-pure ==5.1.2
|
||||
- lmdb ==0.2.5
|
||||
- load-env ==0.1.2
|
||||
- loch-th ==0.2.1
|
||||
@@ -1533,12 +1533,12 @@ default-package-overrides:
|
||||
- mltool ==0.1.0.2
|
||||
- mmap ==0.5.9
|
||||
- mmark ==0.0.4.0
|
||||
- mmark-ext ==0.0.1.1
|
||||
- mmark-ext ==0.0.1.2
|
||||
- mmorph ==1.1.0
|
||||
- mnist-idx ==0.1.2.8
|
||||
- mockery ==0.3.5
|
||||
- model ==0.4.4
|
||||
- modern-uri ==0.1.2.0
|
||||
- modern-uri ==0.1.2.1
|
||||
- modify-fasta ==0.8.2.3
|
||||
- moesocks ==1.0.0.43
|
||||
- mole ==0.0.6
|
||||
@@ -1667,10 +1667,10 @@ default-package-overrides:
|
||||
- numhask-range ==0.1.3.0
|
||||
- NumInstances ==1.4
|
||||
- numtype-dk ==0.5.0.1
|
||||
- nvim-hs ==0.2.4
|
||||
- nvim-hs ==0.2.5
|
||||
- nvim-hs-contrib ==0.2.0
|
||||
- nvim-hs-ghcid ==0.2.0
|
||||
- nvvm ==0.8.0.1
|
||||
- nvvm ==0.8.0.2
|
||||
- objective ==1.1.2
|
||||
- ObjectName ==1.1.0.1
|
||||
- ochintin-daicho ==0.1.0.1
|
||||
@@ -1711,7 +1711,7 @@ default-package-overrides:
|
||||
- pagination ==0.2.1
|
||||
- palette ==0.1.0.5
|
||||
- pandoc ==2.0.6
|
||||
- pandoc-citeproc ==0.12.2.2
|
||||
- pandoc-citeproc ==0.12.2.5
|
||||
- pandoc-types ==1.17.3
|
||||
- pango ==0.13.4.0
|
||||
- papillon ==0.1.0.5
|
||||
@@ -1721,7 +1721,7 @@ default-package-overrides:
|
||||
- parsec ==3.1.11
|
||||
- parsec-numeric ==0.1.0.0
|
||||
- ParsecTools ==0.0.2.0
|
||||
- parser-combinators ==0.2.1
|
||||
- parser-combinators ==0.4.0
|
||||
- parsers ==0.12.8
|
||||
- partial-handler ==1.0.2
|
||||
- partial-isomorphisms ==0.2.2.1
|
||||
@@ -1753,8 +1753,8 @@ default-package-overrides:
|
||||
- persistent ==2.7.1
|
||||
- persistent-mongoDB ==2.6.0
|
||||
- persistent-mysql ==2.6.2.1
|
||||
- persistent-mysql-haskell ==0.3.5
|
||||
- persistent-postgresql ==2.6.2.1
|
||||
- persistent-mysql-haskell ==0.3.6
|
||||
- persistent-postgresql ==2.6.2.2
|
||||
- persistent-refs ==0.4
|
||||
- persistent-sqlite ==2.6.4
|
||||
- persistent-template ==2.5.3
|
||||
@@ -2003,8 +2003,8 @@ default-package-overrides:
|
||||
- say ==0.1.0.0
|
||||
- sbp ==2.3.2
|
||||
- sbv ==7.4
|
||||
- scalendar ==1.2.0
|
||||
- SCalendar ==1.1.0
|
||||
- scalendar ==1.2.0
|
||||
- scalpel ==0.5.1
|
||||
- scalpel-core ==0.5.1
|
||||
- scanner ==0.2
|
||||
@@ -2232,7 +2232,7 @@ default-package-overrides:
|
||||
- tasty-ant-xml ==1.1.1
|
||||
- tasty-auto ==0.2.0.0
|
||||
- tasty-dejafu ==0.7.1.1
|
||||
- tasty-discover ==4.1.2
|
||||
- tasty-discover ==4.1.3
|
||||
- tasty-expected-failure ==0.11.0.4
|
||||
- tasty-fail-fast ==0.0.3
|
||||
- tasty-golden ==2.3.1.2
|
||||
@@ -2324,7 +2324,7 @@ default-package-overrides:
|
||||
- time-compat ==0.1.0.3
|
||||
- timeit ==1.0.0.0
|
||||
- timelens ==0.2.0.2
|
||||
- time-lens ==0.4.0.1
|
||||
- time-lens ==0.4.0.2
|
||||
- time-locale-compat ==0.1.1.3
|
||||
- time-locale-vietnamese ==1.0.0.0
|
||||
- timemap ==0.0.6
|
||||
@@ -2336,7 +2336,7 @@ default-package-overrides:
|
||||
- tinylog ==0.14.0
|
||||
- tinytemplate ==0.1.2.0
|
||||
- titlecase ==1.0.1
|
||||
- tldr ==0.2.3
|
||||
- tldr ==0.2.4
|
||||
- tls ==1.4.0
|
||||
- tls-debug ==0.4.5
|
||||
- tls-session-manager ==0.0.0.2
|
||||
@@ -2374,7 +2374,7 @@ default-package-overrides:
|
||||
- type-combinators ==0.2.4.3
|
||||
- type-combinators-singletons ==0.1.0.0
|
||||
- TypeCompose ==0.9.12
|
||||
- typed-process ==0.2.0.0
|
||||
- typed-process ==0.2.1.0
|
||||
- type-fun ==0.1.1
|
||||
- type-hint ==0.1
|
||||
- type-level-integers ==0.0.1
|
||||
@@ -2389,7 +2389,7 @@ default-package-overrides:
|
||||
- tzdata ==0.1.20170320.0
|
||||
- ua-parser ==0.7.4.1
|
||||
- uglymemo ==0.1.0.1
|
||||
- unagi-chan ==0.4.0.0
|
||||
- unagi-chan ==0.4.1.0
|
||||
- unbounded-delays ==0.1.1.0
|
||||
- unbound-generics ==0.3.1
|
||||
- unboxed-ref ==0.4.0.0
|
||||
@@ -2420,7 +2420,7 @@ default-package-overrides:
|
||||
- unix-compat ==0.5.0.1
|
||||
- unix-time ==0.3.7
|
||||
- unliftio ==0.2.2.0
|
||||
- unliftio-core ==0.1.0.0
|
||||
- unliftio-core ==0.1.1.0
|
||||
- unlit ==0.4.0.0
|
||||
- unordered-containers ==0.2.8.0
|
||||
- unordered-intmap ==0.1.0.0
|
||||
@@ -2482,7 +2482,7 @@ default-package-overrides:
|
||||
- vivid-osc ==0.3.0.0
|
||||
- vivid-supercollider ==0.3.0.0
|
||||
- void ==0.7.2
|
||||
- vty ==5.19
|
||||
- vty ==5.19.1
|
||||
- wai ==3.2.1.1
|
||||
- wai-app-static ==3.1.6.1
|
||||
- wai-cli ==0.1.1
|
||||
@@ -2500,7 +2500,7 @@ default-package-overrides:
|
||||
- wai-middleware-crowd ==0.1.4.2
|
||||
- wai-middleware-metrics ==0.2.4
|
||||
- wai-middleware-prometheus ==0.3.0
|
||||
- wai-middleware-rollbar ==0.8.0
|
||||
- wai-middleware-rollbar ==0.8.1
|
||||
- wai-middleware-static ==0.8.1
|
||||
- wai-middleware-throttle ==0.2.2.0
|
||||
- wai-predicates ==0.10.0
|
||||
@@ -2519,14 +2519,14 @@ default-package-overrides:
|
||||
- webdriver-angular ==0.1.11
|
||||
- webpage ==0.0.5
|
||||
- web-plugins ==0.2.9
|
||||
- web-routes ==0.27.12
|
||||
- web-routes ==0.27.13
|
||||
- web-routes-boomerang ==0.28.4.2
|
||||
- web-routes-happstack ==0.23.11
|
||||
- web-routes-hsp ==0.24.6.1
|
||||
- web-routes-th ==0.22.6.2
|
||||
- web-routes-wai ==0.24.3
|
||||
- webrtc-vad ==0.1.0.3
|
||||
- websockets ==0.12.2.0
|
||||
- websockets ==0.12.3.0
|
||||
- websockets-rpc ==0.6.0
|
||||
- websockets-simple ==0.0.6.3
|
||||
- websockets-snap ==0.10.2.4
|
||||
@@ -2534,7 +2534,7 @@ default-package-overrides:
|
||||
- weigh ==0.0.7
|
||||
- wide-word ==0.1.0.5
|
||||
- wikicfp-scraper ==0.1.0.9
|
||||
- wild-bind ==0.1.0.3
|
||||
- wild-bind ==0.1.1.0
|
||||
- wild-bind-x11 ==0.1.0.7
|
||||
- Win32 ==2.5.4.1
|
||||
- Win32-notify ==0.3.0.3
|
||||
@@ -2557,8 +2557,8 @@ default-package-overrides:
|
||||
- Workflow ==0.8.3
|
||||
- wrap ==0.0.0
|
||||
- wrecker ==1.2.3.0
|
||||
- wreq ==0.5.1.0
|
||||
- wreq-stringless ==0.5.1.0
|
||||
- wreq ==0.5.2.0
|
||||
- wreq-stringless ==0.5.2.0
|
||||
- writer-cps-full ==0.1.0.0
|
||||
- writer-cps-lens ==0.1.0.1
|
||||
- writer-cps-morph ==0.1.0.2
|
||||
@@ -2582,7 +2582,7 @@ default-package-overrides:
|
||||
- xlsx-tabular ==0.2.2
|
||||
- xml ==1.3.14
|
||||
- xml-basic ==0.1.2
|
||||
- xml-conduit ==1.7.0
|
||||
- xml-conduit ==1.7.0.1
|
||||
- xml-conduit-parse ==0.3.1.2
|
||||
- xml-conduit-writer ==0.1.1.2
|
||||
- xmlgen ==0.6.2.1
|
||||
@@ -2683,11 +2683,13 @@ extra-packages:
|
||||
- haddock < 2.17 # required on GHC 7.10.x
|
||||
- haddock-api == 2.15.* # required on GHC 7.8.x
|
||||
- haddock-api == 2.16.* # required on GHC 7.10.x
|
||||
- haddock-api == 2.17.* # required on GHC 8.0.x
|
||||
- haddock-library == 1.2.* # required for haddock-api-2.16.x
|
||||
- haddock-library == 1.4.4 # required for haddock-api-2.18.x
|
||||
- happy <1.19.6 # newer versions break Agda
|
||||
- haskell-gi-overloading == 0.0 # gi-* packages use this dependency to disable overloading support
|
||||
- haskell-src-exts == 1.19.* # required by hindent and structured-haskell-mode
|
||||
- hoogle == 5.0.14 # required by hie-hoogle
|
||||
- hpack == 0.20.* # required by stack-1.6.1
|
||||
- inline-c < 0.6 # required on GHC 8.0.x
|
||||
- inline-c-cpp < 0.2 # required on GHC 8.0.x
|
||||
@@ -2758,6 +2760,7 @@ package-maintainers:
|
||||
- lambdabot
|
||||
alunduil:
|
||||
- collection-json
|
||||
- network-arbitrary
|
||||
- network-uri-json
|
||||
- siren-json
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ let
|
||||
(optionalString (enableSharedExecutables && stdenv.isDarwin) "--ghc-option=-optl=-Wl,-headerpad_max_install_names")
|
||||
(optionalString enableParallelBuilding "--ghc-option=-j$NIX_BUILD_CORES")
|
||||
(optionalString useCpphs "--with-cpphs=${cpphs}/bin/cpphs --ghc-options=-cpp --ghc-options=-pgmP${cpphs}/bin/cpphs --ghc-options=-optP--cpp")
|
||||
(enableFeature (enableDeadCodeElimination && (versionAtLeast "8.0.1" ghc.version)) "split-objs")
|
||||
(enableFeature (enableDeadCodeElimination && !stdenv.isArm && !stdenv.isAarch64 && (versionAtLeast "8.0.1" ghc.version)) "split-objs")
|
||||
(enableFeature enableLibraryProfiling "library-profiling")
|
||||
(enableFeature enableExecutableProfiling (if versionOlder ghc.version "8" then "executable-profiling" else "profiling"))
|
||||
(enableFeature enableSharedLibraries "shared")
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -28,6 +28,7 @@ let src = pkgs.fetchFromGitHub
|
||||
};
|
||||
cabal-helper = self.cabal-helper_hie;
|
||||
haddock-library = self.haddock-library_1_4_4;
|
||||
hoogle = self.hoogle_5_0_14;
|
||||
ghc-dump-tree = self.ghc-dump-tree_hie;
|
||||
ghc-mod = self.ghc-mod_hie;
|
||||
HaRe = self.HaRe_hie;
|
||||
@@ -259,7 +260,7 @@ in
|
||||
homepage = "http://github.com/githubuser/haskell-ide-engine#readme";
|
||||
description = "Provide a common engine to power any Haskell IDE";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
}) {};
|
||||
}) { inherit hoogle; };
|
||||
hie-apply-refact = callPackage
|
||||
({ mkDerivation, aeson, apply-refact, base, either, extra, ghc-mod
|
||||
, ghc-mod-core, haskell-src-exts, hie-base, hie-plugin-api, hlint
|
||||
@@ -435,7 +436,7 @@ in
|
||||
];
|
||||
description = "Haskell IDE Hoogle plugin";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
}) { inherit ghc-mod; };
|
||||
}) { inherit ghc-mod hoogle; };
|
||||
hie-plugin-api = callPackage
|
||||
({ mkDerivation, aeson, base, containers, Diff, directory, either
|
||||
, filepath, fingertree, ghc, ghc-mod-core, haskell-lsp, hie-base
|
||||
|
||||
@@ -102,6 +102,7 @@ let
|
||||
|
||||
withPackages = packages: buildPackages.callPackage ./with-packages-wrapper.nix {
|
||||
inherit (self) llvmPackages;
|
||||
inherit ghc;
|
||||
inherit packages;
|
||||
};
|
||||
|
||||
|
||||
@@ -338,22 +338,22 @@ let
|
||||
|
||||
in {
|
||||
php56 = generic {
|
||||
version = "5.6.32";
|
||||
sha256 = "0lfbmdkvijkm6xc4p9sykv66y8xwhws0vsmka8v5cax4bxx4xr1y";
|
||||
version = "5.6.33";
|
||||
sha256 = "1k1ip1slk89hkp57qiqp8k2m5yrg9lx5rja542g87k8xfslrdxh7";
|
||||
};
|
||||
|
||||
php70 = generic {
|
||||
version = "7.0.25";
|
||||
sha256 = "09fc2lj447phprvilvq2sb6n0r1snj142f8faphrd896s6b4v8lm";
|
||||
version = "7.0.27";
|
||||
sha256 = "0ca174kp2l3fjcp8z0mqnkbjfhijjzz7rs7bkzg1qk2cpdijbylr";
|
||||
};
|
||||
|
||||
php71 = generic {
|
||||
version = "7.1.11";
|
||||
sha256 = "0ww5493w8w3jlks0xqlfm3v6mm53vpnv5vjy63inkj8zf3gdfikn";
|
||||
version = "7.1.13";
|
||||
sha256 = "18cqry8jy7q9fp82p3n9ndxffyba6f6q3maz3100jq245lfsbz9m";
|
||||
};
|
||||
|
||||
php72 = generic {
|
||||
version = "7.2.0";
|
||||
sha256 = "0jn642bm4ah6a5cjavpz8mzw3ddxa270fcwxkj3rg6vb4bjgmzib";
|
||||
version = "7.2.1";
|
||||
sha256 = "0ygbcilbp3fiswd240ib2mvnhy0yy0az8kjzpjfd4kca4qzpj1py";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -28,7 +28,8 @@ in stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "dev" ];
|
||||
separateDebugInfo = stdenv.isLinux;
|
||||
|
||||
buildInputs = [ cmake curl ];
|
||||
nativeBuildInputs = [ cmake curl ];
|
||||
buildInputs = [ zlib curl openssl ];
|
||||
|
||||
cmakeFlags =
|
||||
lib.optional (!customMemoryManagement) "-DCUSTOM_MEMORY_MANAGEMENT=0"
|
||||
@@ -51,10 +52,6 @@ in stdenv.mkDerivation rec {
|
||||
rm aws-cpp-sdk-core-tests/aws/auth/AWSCredentialsProviderTest.cpp
|
||||
'';
|
||||
|
||||
NIX_LDFLAGS = lib.concatStringsSep " " (
|
||||
(map (pkg: "-rpath ${lib.getOutput "lib" pkg}/lib"))
|
||||
[ curl openssl zlib stdenv.cc.cc ]);
|
||||
|
||||
meta = {
|
||||
description = "A C++ interface for Amazon Web Services";
|
||||
homepage = https://github.com/awslabs/aws-sdk-cpp;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, writeTextDir }:
|
||||
|
||||
let self =
|
||||
stdenv.mkDerivation rec {
|
||||
name = "c-ares-1.13.0";
|
||||
|
||||
@@ -14,4 +15,28 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
# Adapted from running a cmake build
|
||||
passthru.cmake-config = writeTextDir "c-ares-config.cmake"
|
||||
''
|
||||
set(c-ares_INCLUDE_DIR "${self}/include")
|
||||
|
||||
set(c-ares_LIBRARY c-ares::cares)
|
||||
|
||||
add_library(c-ares::cares SHARED IMPORTED)
|
||||
|
||||
set_target_properties(c-ares::cares PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${self}/include"
|
||||
INTERFACE_LINK_LIBRARIES "nsl;rt"
|
||||
)
|
||||
set_property(TARGET c-ares::cares APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
set_target_properties(c-ares::cares PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${self}/lib/libcares.so.2.2.0"
|
||||
IMPORTED_SONAME_RELEASE "libcares.so.2"
|
||||
)
|
||||
add_library(c-ares::cares_shared INTERFACE IMPORTED)
|
||||
set_target_properties(c-ares::cares_shared PROPERTIES INTERFACE_LINK_LIBRARIES "c-ares::cares")
|
||||
set(c-ares_SHARED_LIBRARY c-ares::cares_shared)
|
||||
'';
|
||||
|
||||
}; in self
|
||||
|
||||
19
pkgs/development/libraries/c-ares/release.patch
Normal file
19
pkgs/development/libraries/c-ares/release.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
diff -aur c-ares-cares-1_13_0/ares_version.h c-ares-1.13.0/ares_version.h
|
||||
--- c-ares-cares-1_13_0/ares_version.h 2017-06-20 02:00:21.000000000 -0400
|
||||
+++ c-ares-1.13.0/ares_version.h 2017-06-20 02:03:54.000000000 -0400
|
||||
@@ -6,12 +6,12 @@
|
||||
#define ARES_COPYRIGHT "2004 - 2016 Daniel Stenberg, <daniel@haxx.se>."
|
||||
|
||||
#define ARES_VERSION_MAJOR 1
|
||||
-#define ARES_VERSION_MINOR 12
|
||||
-#define ARES_VERSION_PATCH 1
|
||||
+#define ARES_VERSION_MINOR 13
|
||||
+#define ARES_VERSION_PATCH 0
|
||||
#define ARES_VERSION ((ARES_VERSION_MAJOR<<16)|\
|
||||
(ARES_VERSION_MINOR<<8)|\
|
||||
(ARES_VERSION_PATCH))
|
||||
-#define ARES_VERSION_STR "1.12.1-DEV"
|
||||
+#define ARES_VERSION_STR "1.13.0"
|
||||
|
||||
#if (ARES_VERSION >= 0x010700)
|
||||
# define CARES_HAVE_ARES_LIBRARY_INIT 1
|
||||
@@ -2,15 +2,18 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cdk-${version}";
|
||||
version ="5.0-20161210";
|
||||
version ="5.0-20171209";
|
||||
|
||||
buildInputs = [
|
||||
ncurses
|
||||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://invisible-island.net/cdk/cdk-${version}.tgz";
|
||||
sha256 = "1bazwcwz4qhxyc8jaahdd2nlm30f5dhy0f6cnix5rjjhi35mhxcy";
|
||||
urls = [
|
||||
"ftp://ftp.invisible-island.net/cdk/cdk-${version}.tgz"
|
||||
"https://invisible-mirror.net/archives/cdk/cdk-${version}.tgz"
|
||||
];
|
||||
sha256 = "0jq0dx7gm7gl6lv5mhlfkxhw5362g9dxqdlpjlrag069nns8xdc8";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ cmake curl ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://josephp91.github.io/curlcpp/;
|
||||
homepage = https://josephp91.github.io/curlcpp/;
|
||||
description = "Object oriented C++ wrapper for CURL";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -175,7 +175,7 @@ stdenv.mkDerivation rec {
|
||||
configureFlags = configureFlags ++ [
|
||||
"--cross-prefix=${stdenv.cc.targetPrefix}"
|
||||
"--enable-cross-compile"
|
||||
"--target_os=${hostPlatform.parsed.kernel}"
|
||||
"--target_os=${hostPlatform.parsed.kernel.name}"
|
||||
"--arch=${hostPlatform.arch}"
|
||||
];
|
||||
};
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.2.1";
|
||||
version = "2.2.3";
|
||||
name = "gdal-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.osgeo.org/gdal/${version}/${name}.tar.xz";
|
||||
sha256 = "0rk0p0k787whzzdl8m1f9wcrm7h9bf1pny3z96d93b4383arhw4j";
|
||||
sha256 = "a328d63d476b3653f5a25b5f7971e87a15cdf8860ab0729d4b1157ba988b8d0b";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip libjpeg libtiff libpng proj openssl sqlite
|
||||
|
||||
10
pkgs/development/libraries/gflags/default.nix
Normal file
10
pkgs/development/libraries/gflags/default.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ stdenv, fetchurl, cmake }:
|
||||
|
||||
stdenv.mkDerivation
|
||||
{ name = "gflags-2.2.1";
|
||||
src = fetchurl
|
||||
{ url = "https://github.com/gflags/gflags/archive/v2.2.1.tar.gz";
|
||||
sha256 = "03lxc2ah8i392kh1naq99iip34k4fpv22kwflyx3byd2ssycs9xf";
|
||||
};
|
||||
nativeBuildInputs = [ cmake ];
|
||||
}
|
||||
32
pkgs/development/libraries/gmtk/default.nix
Normal file
32
pkgs/development/libraries/gmtk/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{stdenv, substituteAll, fetchFromGitHub, libtool, pkgconfig, intltool, glib, gtk3
|
||||
, libpulseaudio, mplayer, gnome_mplayer }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gmtk-${version}";
|
||||
version = "1.0.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kdekorte";
|
||||
repo = "gmtk";
|
||||
rev = "v${version}";
|
||||
sha256 = "1zb5m1y1gckal3140gvx31572a6xpccwfmdwa1w5lx2wdq1pwk1i";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ libtool pkgconfig intltool ];
|
||||
buildInputs = [ glib gtk3 libpulseaudio ];
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./fix-paths.patch;
|
||||
mplayer = "${mplayer}/bin/mplayer";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Common functions for gnome-mplayer and gecko-mediaplayer";
|
||||
homepage = https://sites.google.com/site/kdekorte2/gnomemplayer;
|
||||
license = licenses.gpl2;
|
||||
maintainers = gnome_mplayer.meta.maintainers;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
20
pkgs/development/libraries/gmtk/fix-paths.patch
Normal file
20
pkgs/development/libraries/gmtk/fix-paths.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
--- a/src/gmtk_media_player.c
|
||||
+++ b/src/gmtk_media_player.c
|
||||
@@ -2449,7 +2449,7 @@
|
||||
player->minimum_mplayer = detect_mplayer_features(player);
|
||||
|
||||
if (player->mplayer_binary == NULL || !g_file_test(player->mplayer_binary, G_FILE_TEST_EXISTS)) {
|
||||
- argv[argn++] = g_strdup_printf("mplayer");
|
||||
+ argv[argn++] = g_strdup_printf("@mplayer@");
|
||||
} else {
|
||||
argv[argn++] = g_strdup_printf("%s", player->mplayer_binary);
|
||||
}
|
||||
@@ -4135,7 +4135,7 @@
|
||||
return ret;
|
||||
|
||||
if (player->mplayer_binary == NULL || !g_file_test(player->mplayer_binary, G_FILE_TEST_EXISTS)) {
|
||||
- av[ac++] = g_strdup_printf("mplayer");
|
||||
+ av[ac++] = g_strdup_printf("@mplayer@");
|
||||
} else {
|
||||
av[ac++] = g_strdup_printf("%s", player->mplayer_binary);
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
, libgsf, libxml2, libxslt, cairo, pango, librsvg, libspectre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "goffice-0.10.36";
|
||||
name = "goffice-0.10.38";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/goffice/0.10/${name}.tar.xz";
|
||||
sha256 = "cfe65fc0a665538704c7bab8541784291cf0781df8b4cff73cb0a513ee0baad6";
|
||||
sha256 = "443199d7a9833fddaadfc4f9065c289e639eed480de316f37da816e396bb9764";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig intltool ];
|
||||
|
||||
19
pkgs/development/libraries/grpc/default.nix
Normal file
19
pkgs/development/libraries/grpc/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ stdenv, fetchurl, cmake, zlib, c-ares, pkgconfig, openssl, protobuf, gflags }:
|
||||
|
||||
stdenv.mkDerivation rec
|
||||
{ name = "grpc-1.8.3";
|
||||
src = fetchurl
|
||||
{ url = "https://github.com/grpc/grpc/archive/v1.8.3.tar.gz";
|
||||
sha256 = "14ichjllvhkbv8sjh9j5njnagpqw2sl12n41ga90jnj7qvfwwjy1";
|
||||
};
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
buildInputs = [ zlib c-ares c-ares.cmake-config openssl protobuf gflags ];
|
||||
cmakeFlags =
|
||||
[ "-DgRPC_ZLIB_PROVIDER=package"
|
||||
"-DgRPC_CARES_PROVIDER=package"
|
||||
"-DgRPC_SSL_PROVIDER=package"
|
||||
"-DgRPC_PROTOBUF_PROVIDER=package"
|
||||
"-DgRPC_GFLAGS_PROVIDER=package"
|
||||
];
|
||||
enableParallelBuilds = true;
|
||||
}
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://ignitionrobotics.org/libraries/math;
|
||||
homepage = https://ignitionrobotics.org/libraries/math;
|
||||
description = "Math library by Ingition Robotics, created for the Gazebo project";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ pxc ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jemalloc-${version}";
|
||||
@@ -19,6 +19,13 @@ stdenv.mkDerivation rec {
|
||||
++ stdenv.lib.optional stdenv.isArm "--disable-thp";
|
||||
doCheck = true;
|
||||
|
||||
patches = stdenv.lib.optional stdenv.isAarch64 (fetchpatch {
|
||||
url = "https://patch-diff.githubusercontent.com/raw/jemalloc/jemalloc/pull/1035.patch";
|
||||
sha256 = "02y0q3dp253bipxv4r954nqipbjbj92p6ww9bx5bk3d8pa81wkqq";
|
||||
});
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://jemalloc.net;
|
||||
description = "General purpose malloc(3) implementation";
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libfilezilla-${version}";
|
||||
version = "0.11.1";
|
||||
version = "0.11.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.filezilla-project.org/libfilezilla/${name}.tar.bz2";
|
||||
sha256 = "1xv4is3zaz66h6iblj9pikapsjasjcbxx31bhkgn62xdq1sadfpc";
|
||||
sha256 = "0wl42yxrha633dbh1vcbhrpsd7sv4zwskbmlpx549ygnzi39krcn";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
cmakeFlags = [ "-DMYSQL_LIB_DIR=${mysql}/lib" ];
|
||||
|
||||
meta = {
|
||||
homepage = http://dev.mysql.com/downloads/connector/cpp/;
|
||||
homepage = https://dev.mysql.com/downloads/connector/cpp/;
|
||||
description = "C++ library for connecting to mysql servers.";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
|
||||
@@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
|
||||
name = "libserialport-0.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://sigrok.org/download/source/libserialport/${name}.tar.gz";
|
||||
url = "https://sigrok.org/download/source/libserialport/${name}.tar.gz";
|
||||
sha256 = "17ajlwgvyyrap8z7f16zcs59pksvncwbmd3mzf98wj7zqgczjaja";
|
||||
};
|
||||
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cross-platform shared library for serial port access";
|
||||
homepage = http://sigrok.org/;
|
||||
homepage = https://sigrok.org/;
|
||||
license = licenses.gpl3Plus;
|
||||
# macOS, Windows and Android is also supported (according to upstream).
|
||||
platforms = platforms.linux;
|
||||
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A collection of GTK+ widgets";
|
||||
homepage = http://blog.chipx86.com/tag/libsexy/;
|
||||
homepage = https://blog.chipx86.com/tag/libsexy/;
|
||||
license = licenses.lgpl21;
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -10,11 +10,6 @@ stdenv.mkDerivation rec {
|
||||
url = "mirror://gnome/sources/libsigc++/${ver_maj}/${name}.tar.xz";
|
||||
sha256 = "f843d6346260bfcb4426259e314512b99e296e8ca241d771d21ac64f28298d81";
|
||||
};
|
||||
patches = [(fetchpatch {
|
||||
url = "https://anonscm.debian.org/cgit/collab-maint/libsigc++-2.0.git/plain"
|
||||
+ "/debian/patches/0002-Enforce-c-11-via-pkg-config.patch?id=d451a4d195b1";
|
||||
sha256 = "19g19473syp2z3kg8vdrli89lm9kcvaqajkqfmdig1vfpkbq0nci";
|
||||
})];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gnum4 ];
|
||||
|
||||
|
||||
@@ -5,14 +5,14 @@ stdenv.mkDerivation rec {
|
||||
version = "1.0.18";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.libsrs2.org/srs/libsrs2-${version}.tar.gz";
|
||||
url = "https://www.libsrs2.org/srs/libsrs2-${version}.tar.gz";
|
||||
sha256 = "9d1191b705d7587a5886736899001d04168392bbb6ed6345a057ade50943a492";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "The next generation SRS library from the original designer of SRS";
|
||||
license = with lib.licenses; [ gpl2 bsd3 ];
|
||||
homepage = http://www.libsrs2.org/;
|
||||
homepage = https://www.libsrs2.org/;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [] ++ stdenv.lib.optional stdenv.isDarwin IOKit;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.i-scream.org/libstatgrab/;
|
||||
homepage = https://www.i-scream.org/libstatgrab/;
|
||||
description = "A library that provides cross platforms access to statistics about the running system";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
||||
version = "3.20";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.csie.ntu.edu.tw/~cjlin/libsvm/libsvm-${version}.tar.gz";
|
||||
url = "https://www.csie.ntu.edu.tw/~cjlin/libsvm/libsvm-${version}.tar.gz";
|
||||
sha256 = "1gj5v5zp1qnsnv0iwxq0ikhf8262d3s5dq6syr6yqkglps0284hg";
|
||||
};
|
||||
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A library for support vector machines";
|
||||
homepage = http://www.csie.ntu.edu.tw/~cjlin/libsvm/;
|
||||
homepage = https://www.csie.ntu.edu.tw/~cjlin/libsvm/;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.spwhitt ];
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
args@{ callPackage, fetchpatch, ... }:
|
||||
|
||||
callPackage (import ./generic.nix {
|
||||
version = "1.0.11";
|
||||
sha256 = "17p34d3n29q04pvz975gfl1fyj3sg9cl5l6j673xqfq3fpyis58i";
|
||||
patches = [
|
||||
# Compatibility with new Boost
|
||||
(fetchpatch {
|
||||
url = "https://github.com/arvidn/libtorrent/commit/7eb3cf6bc6dbada3fa7bb7ff4d5981182813a0e2.patch";
|
||||
sha256 = "07agbrii6i8q4wmgpqbln7ldhhadaf5npcinvi6hnyipsr48jbj5";
|
||||
})
|
||||
];
|
||||
}) args
|
||||
@@ -1,6 +1,6 @@
|
||||
args@{ callPackage, ... }:
|
||||
|
||||
callPackage (import ./generic.nix {
|
||||
version = "1.1.5";
|
||||
sha256 = "1ifpcqw5mj2dwk23lhc2vpb47mg3j573v5z4zp8dkczpz7wg5jxq";
|
||||
version = "1.1.6";
|
||||
sha256 = "1xlh0sqypjbx0imw3bkbjwgwb4bm6zl7c0y01p0xsw8ncfmwjll7";
|
||||
}) args
|
||||
|
||||
@@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
|
||||
name = "libvdpau-1.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://people.freedesktop.org/~aplattner/vdpau/${name}.tar.bz2";
|
||||
url = "https://people.freedesktop.org/~aplattner/vdpau/${name}.tar.bz2";
|
||||
sha256 = "857a01932609225b9a3a5bf222b85e39b55c08787d0ad427dbd9ec033d58d736";
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
installFlags = [ "moduledir=$(out)/lib/vdpau" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://people.freedesktop.org/~aplattner/vdpau/;
|
||||
homepage = https://people.freedesktop.org/~aplattner/vdpau/;
|
||||
description = "Library to use the Video Decode and Presentation API for Unix (VDPAU)";
|
||||
license = licenses.mit; # expat version
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://xiph.org/vorbis/;
|
||||
homepage = https://xiph.org/vorbis/;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.ehmry ];
|
||||
platforms = platforms.all;
|
||||
|
||||
@@ -173,7 +173,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "WebM VP8/VP9 codec SDK";
|
||||
homepage = http://www.webmproject.org/;
|
||||
homepage = https://www.webmproject.org/;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ codyopel ];
|
||||
platforms = platforms.all;
|
||||
|
||||
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.nih.at/libzip/${name}.tar.gz";
|
||||
url = "https://www.nih.at/libzip/${name}.tar.gz";
|
||||
sha256 = "1633dvjc08zwwhzqhnv62rjf1abx8y5njmm8y16ik9iwd07ka6d9";
|
||||
};
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.nih.at/libzip;
|
||||
homepage = https://www.nih.at/libzip;
|
||||
description = "A C library for reading, creating and modifying zip archives";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
|
||||
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Distributed tracing system built on top of the OpenTracing standard";
|
||||
homepage = "http://lightstep.com/";
|
||||
homepage = "https://lightstep.com/";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ cstrahan ];
|
||||
|
||||
@@ -214,7 +214,7 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An open source implementation of OpenGL";
|
||||
homepage = http://www.mesa3d.org/;
|
||||
homepage = https://www.mesa3d.org/;
|
||||
license = licenses.mit; # X11 variant, in most files
|
||||
platforms = platforms.mesaPlatforms;
|
||||
maintainers = with maintainers; [ eduarrrd vcunat ];
|
||||
|
||||
@@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Open source multimedia framework, designed for television broadcasting";
|
||||
homepage = http://www.mltframework.org/;
|
||||
homepage = https://www.mltframework.org/;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = platforms.linux;
|
||||
|
||||
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
||||
version = "1.116.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.ravenbrook.com/project/mps/release/${version}/mps-kit-${version}.tar.gz";
|
||||
url = "https://www.ravenbrook.com/project/mps/release/${version}/mps-kit-${version}.tar.gz";
|
||||
sha256 = "1k7vnanpgawnj84x2xs6md57pfib9p7c3acngqzkl3c2aqw8qay0";
|
||||
};
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "A flexible memory management and garbage collection library";
|
||||
homepage = "http://www.ravenbrook.com/project/mps";
|
||||
homepage = "https://www.ravenbrook.com/project/mps";
|
||||
license = stdenv.lib.licenses.sleepycat;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
||||
|
||||
@@ -18,11 +18,16 @@ stdenv.mkDerivation rec {
|
||||
url = "mirror://gnu/ncurses/${name}.tar.gz";
|
||||
sha256 = "0fsn7xis81za62afan0vvm38bvgzg5wfmv1m86flqcj0nj7jjilh";
|
||||
} else {
|
||||
url = "ftp://ftp.invisible-island.net/ncurses/current/${name}.tgz";
|
||||
urls = [
|
||||
"ftp://ftp.invisible-island.net/ncurses/current/${name}.tgz"
|
||||
"https://invisible-mirror.net/archives/ncurses/current/${name}.tgz"
|
||||
];
|
||||
sha256 = "11adzj0k82nlgpfrflabvqn2m7fmhp2y6pd7ivmapynxqb9vvb92";
|
||||
});
|
||||
|
||||
patches = [ ./clang.patch ] ++ lib.optional (abiVersion == "5" && stdenv.cc.isGNU) ./gcc-5.patch;
|
||||
# Unnecessarily complicated in order to avoid mass-rebuilds
|
||||
patches = lib.optional (!stdenv.cc.isClang || abiVersion == "5") ./clang.patch
|
||||
++ lib.optional (stdenv.cc.isGNU && abiVersion == "5") ./gcc-5.patch;
|
||||
|
||||
outputs = [ "out" "dev" "man" ];
|
||||
setOutputFlags = false; # some aren't supported
|
||||
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
longDescription = ''
|
||||
nDPI is a library for deep-packet inspection based on OpenDPI.
|
||||
'';
|
||||
homepage = http://www.ntop.org/products/deep-packet-inspection/ndpi/;
|
||||
homepage = https://www.ntop.org/products/deep-packet-inspection/ndpi/;
|
||||
license = with licenses; lgpl3;
|
||||
maintainers = with maintainers; [ takikawa ];
|
||||
platforms = with platforms; unix;
|
||||
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "C++ API to manipulate netcdf files";
|
||||
homepage = http://www.unidata.ucar.edu/software/netcdf/;
|
||||
homepage = https://www.unidata.ucar.edu/software/netcdf/;
|
||||
license = stdenv.lib.licenses.free;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
|
||||
11
pkgs/development/libraries/nss/ckpem.patch
Normal file
11
pkgs/development/libraries/nss/ckpem.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- nss/lib/ckfw/pem/ckpem.h 2018-01-03 13:36:12.000000000 -0800
|
||||
+++ nss/lib/ckfw/pem/ckpem.h 2018-01-03 13:36:20.000000000 -0800
|
||||
@@ -156,8 +156,6 @@
|
||||
NSS_EXTERN_DATA pemInternalObject nss_pem_data[];
|
||||
NSS_EXTERN_DATA const PRUint32 nss_pem_nObjects;
|
||||
|
||||
- PRBool logged_in;
|
||||
-
|
||||
/* our raw object data array */
|
||||
NSS_EXTERN_DATA pemInternalObject nss_pem_data[];
|
||||
NSS_EXTERN_DATA const PRUint32 nss_pem_nObjects;
|
||||
@@ -28,6 +28,7 @@ in stdenv.mkDerivation rec {
|
||||
[
|
||||
# Based on http://patch-tracker.debian.org/patch/series/dl/nss/2:3.15.4-1/85_security_load.patch
|
||||
./85_security_load.patch
|
||||
./ckpem.patch
|
||||
];
|
||||
|
||||
patchFlags = "-p0";
|
||||
@@ -45,7 +46,8 @@ in stdenv.mkDerivation rec {
|
||||
"NSS_ENABLE_ECC=1"
|
||||
"USE_SYSTEM_ZLIB=1"
|
||||
"NSS_USE_SYSTEM_SQLITE=1"
|
||||
] ++ stdenv.lib.optional stdenv.is64bit "USE_64=1";
|
||||
] ++ stdenv.lib.optional stdenv.is64bit "USE_64=1"
|
||||
++ stdenv.lib.optional stdenv.isDarwin "CCC=clang++";
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||
|
||||
@@ -84,15 +86,22 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
postFixup = ''
|
||||
for libname in freebl3 nssdbm3 softokn3
|
||||
do
|
||||
libfile="$out/lib/lib$libname.so"
|
||||
LD_LIBRARY_PATH=$out/lib $out/bin/shlibsign -v -i "$libfile"
|
||||
do '' +
|
||||
(if stdenv.isDarwin
|
||||
then ''
|
||||
libfile="$out/lib/lib$libname.dylib"
|
||||
DYLD_LIBRARY_PATH=$out/lib:${nspr.out}/lib \
|
||||
'' else ''
|
||||
libfile="$out/lib/lib$libname.so"
|
||||
LD_LIBRARY_PATH=$out/lib:${nspr.out}/lib \
|
||||
'') + ''
|
||||
$out/bin/shlibsign -v -i "$libfile"
|
||||
done
|
||||
|
||||
moveToOutput bin "$tools"
|
||||
moveToOutput bin/nss-config "$dev"
|
||||
moveToOutput lib/libcrmf.a "$dev" # needed by firefox, for example
|
||||
rm "$out"/lib/*.a
|
||||
rm -f "$out"/lib/*.a
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
description = "A 3D engine";
|
||||
homepage = http://www.ogre3d.org/;
|
||||
homepage = https://www.ogre3d.org/;
|
||||
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
, enableTesseract ? false, tesseract, leptonica
|
||||
, enableDocs ? false, doxygen, graphviz-nox
|
||||
|
||||
, AVFoundation, Cocoa, QTKit
|
||||
, AVFoundation, Cocoa, QTKit, VideoDecodeAcceleration, bzip2
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -168,6 +168,8 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optionals enableEXR [ openexr ilmbase ]
|
||||
++ lib.optional enableJPEG2K jasper
|
||||
++ lib.optional enableFfmpeg ffmpeg
|
||||
++ lib.optionals (enableFfmpeg && stdenv.isDarwin)
|
||||
[ VideoDecodeAcceleration bzip2 ]
|
||||
++ lib.optionals enableGStreamer (with gst_all_1; [ gstreamer gst-plugins-base ])
|
||||
++ lib.optional enableEigen eigen
|
||||
++ lib.optional enableOpenblas openblas
|
||||
|
||||
@@ -85,7 +85,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Open Computer Vision Library with more than 500 algorithms";
|
||||
homepage = http://opencv.org/;
|
||||
homepage = https://opencv.org/;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ viric ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
|
||||
11
pkgs/development/libraries/openslp/CVE-2016-4912.patch
Normal file
11
pkgs/development/libraries/openslp/CVE-2016-4912.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/common/slp_xmalloc.c
|
||||
+++ b/common/slp_xmalloc.c
|
||||
@@ -206,7 +206,7 @@ void * _xrealloc(const char * file, int line, void * ptr, size_t size)
|
||||
if (newptr == 0)
|
||||
return 0;
|
||||
memcpy(newptr, ptr, x->size);
|
||||
- _xfree(file, line, x);
|
||||
+ _xfree(file, line, ptr);
|
||||
}
|
||||
return newptr;
|
||||
}
|
||||
@@ -19,6 +19,7 @@ stdenv.mkDerivation {
|
||||
url = "https://src.fedoraproject.org/cgit/rpms/openslp.git/plain/openslp-2.0.0-cve-2016-7567.patch";
|
||||
sha256 = "0zp61axx93b7nrbsyhn2x4dnw7n9y6g4rys21hyqxk4khrnc2yr9";
|
||||
})
|
||||
./CVE-2016-4912.patch
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ stdenv, fetchurl, buildPackages, perl
|
||||
, hostPlatform
|
||||
, fetchpatch
|
||||
, withCryptodev ? false, cryptodevHeaders
|
||||
, enableSSL2 ? false
|
||||
}:
|
||||
@@ -114,6 +115,13 @@ in {
|
||||
openssl_1_1_0 = common {
|
||||
version = "1.1.0g";
|
||||
sha256 = "1bvka2wf33w2vxv7yw578nnjqyhz2b3chvfb0l4k2ffscw950kfy";
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2017-3738.patch";
|
||||
url = "https://github.com/openssl/openssl/commit/563066.patch";
|
||||
sha256 = "0ni9fwpxf8raw8b58pfa15akbqmxx4q64v0ldsm4b9dqhbxf8mkz";
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -51,8 +51,8 @@ let
|
||||
qtscript = [ ./qtscript.patch ];
|
||||
qtserialport = [ ./qtserialport.patch ];
|
||||
qttools = [ ./qttools.patch ];
|
||||
qtwebengine =
|
||||
optional stdenv.needsPax ./qtwebengine-paxmark-mksnapshot.patch;
|
||||
qtwebengine = [ ./qtwebengine-seccomp.patch ]
|
||||
++ optional stdenv.needsPax ./qtwebengine-paxmark-mksnapshot.patch;
|
||||
qtwebkit = [ ./qtwebkit.patch ];
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
Backported to Qt 5.6 for epoll_pwait fix on newer glibc
|
||||
Part of upstream Chromium's 4e8083b4ab953ba298aedfc4e79d464be15e4012
|
||||
Review URL: https://codereview.chromium.org/1613883002
|
||||
---
|
||||
diff --git a/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc b/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
|
||||
index 10278dc5fc9b..b30b3e6acef6 100644
|
||||
--- a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
|
||||
+++ b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
|
||||
@@ -414,6 +414,7 @@ bool SyscallSets::IsAllowedEpoll(int sysno) {
|
||||
case __NR_epoll_create:
|
||||
case __NR_epoll_wait:
|
||||
#endif
|
||||
+ case __NR_epoll_pwait:
|
||||
case __NR_epoll_create1:
|
||||
case __NR_epoll_ctl:
|
||||
return true;
|
||||
@@ -421,7 +422,6 @@ bool SyscallSets::IsAllowedEpoll(int sysno) {
|
||||
#if defined(__x86_64__)
|
||||
case __NR_epoll_ctl_old:
|
||||
#endif
|
||||
- case __NR_epoll_pwait:
|
||||
#if defined(__x86_64__)
|
||||
case __NR_epoll_wait_old:
|
||||
#endif
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.speex.org/;
|
||||
homepage = https://www.speex.org/;
|
||||
description = "An Open Source/Free Software patent-free audio compression format designed for speech";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A C library for property-based testing";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
homepage = "http://github.com/silentbicycle/theft/";
|
||||
homepage = "https://github.com/silentbicycle/theft/";
|
||||
license = stdenv.lib.licenses.isc;
|
||||
maintainers = [ stdenv.lib.maintainers.kquick ];
|
||||
};
|
||||
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://xiph.org/tremor/;
|
||||
homepage = https://xiph.org/tremor/;
|
||||
description = "Fixed-point version of the Ogg Vorbis decoder";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://cgit.freedesktop.org/vaapi/intel-driver/;
|
||||
homepage = https://cgit.freedesktop.org/vaapi/intel-driver/;
|
||||
license = licenses.mit;
|
||||
description = "Intel driver for the VAAPI library";
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
|
||||
meta = {
|
||||
homepage = http://cgit.freedesktop.org/vaapi/vdpau-driver/;
|
||||
homepage = https://cgit.freedesktop.org/vaapi/vdpau-driver/;
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
description = "VDPAU driver for the VAAPI library";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
|
||||
@@ -28,7 +28,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Novel computer vision C++ library with customizable algorithms and data structures";
|
||||
homepage = http://hci.iwr.uni-heidelberg.de/vigra;
|
||||
homepage = https://hci.iwr.uni-heidelberg.de/vigra;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.viric ];
|
||||
platforms = platforms.linux;
|
||||
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.vmime.org/;
|
||||
homepage = https://www.vmime.org/;
|
||||
description = "Free mail library for C++";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
|
||||
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||
computations and frustum culling classes, and spatial data structures'';
|
||||
|
||||
license = licenses.bsd2;
|
||||
homepage = http://github.com/VMML/vmmlib/;
|
||||
homepage = https://github.com/VMML/vmmlib/;
|
||||
maintainers = [ maintainers.adev ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
version = "1.14.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
|
||||
url = "https://wayland.freedesktop.org/releases/${name}.tar.xz";
|
||||
sha256 = "1f3sla6h0bw15fz8pjc67jhwj7pwmfdc7qlj42j5k9v116ycm07d";
|
||||
};
|
||||
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
description = "Reference implementation of the wayland protocol";
|
||||
homepage = http://wayland.freedesktop.org/;
|
||||
homepage = https://wayland.freedesktop.org/;
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ codyopel wkennington ];
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ cmake ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.zaphoyd.com/websocketpp/;
|
||||
homepage = https://www.zaphoyd.com/websocketpp/;
|
||||
description = "C++/Boost Asio based websocket client/server library";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa darwin.stubs.setfile darwin.stubs.rez darwin.stubs.derez ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://utelle.github.io/wxsqlite3/ ;
|
||||
homepage = https://utelle.github.io/wxsqlite3/ ;
|
||||
description = "A C++ wrapper around the public domain SQLite 3.x for wxWidgets";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
|
||||
@@ -16,14 +16,14 @@ in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "x265-${version}";
|
||||
version = "2.5";
|
||||
version = "2.6";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"http://get.videolan.org/x265/x265_${version}.tar.gz"
|
||||
"https://github.com/videolan/x265/archive/${version}.tar.gz"
|
||||
];
|
||||
sha256 = "05rxbnfcc8yl05q3xqkl1kk90k7zn5ih305r46dxnzjaa2djalrf";
|
||||
sha256 = "1gyd94jkwdii9308m07nymsbxrmrcl81c0j8i10zhslr2mj07w0v";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@@ -27,7 +27,7 @@ let
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Search engine library";
|
||||
homepage = http://xapian.org/;
|
||||
homepage = https://xapian.org/;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ chaoflow ];
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "XCB cursor library (libxcursor port)";
|
||||
homepage = http://cgit.freedesktop.org/xcb/util-cursor;
|
||||
homepage = https://cgit.freedesktop.org/xcb/util-cursor;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lovek323 ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{stdenv, androidsdk, titaniumsdk, titanium, alloy, xcodewrapper, jdk, python, nodejs, which, xcodeBaseDir}:
|
||||
{ name, src, target, androidPlatformVersions ? [ "23" ], androidAbiVersions ? [ "armeabi" "armeabi-v7a" ], tiVersion ? null
|
||||
{stdenv, androidsdk, titaniumsdk, titanium, alloy, xcodewrapper, jdk, python, nodejs, which, file, xcodeBaseDir}:
|
||||
{ name, src, preBuild ? "", target, androidPlatformVersions ? [ "25" ], androidAbiVersions ? [ "armeabi" "armeabi-v7a" ], tiVersion ? null
|
||||
, release ? false, androidKeyStore ? null, androidKeyAlias ? null, androidKeyStorePassword ? null
|
||||
, iosMobileProvisioningProfile ? null, iosCertificateName ? null, iosCertificate ? null, iosCertificatePassword ? null, iosVersion ? "10.2"
|
||||
, iosMobileProvisioningProfile ? null, iosCertificateName ? null, iosCertificate ? null, iosCertificatePassword ? null, iosVersion ? "11.2"
|
||||
, enableWirelessDistribution ? false, installURL ? null
|
||||
}:
|
||||
|
||||
@@ -47,9 +47,11 @@ stdenv.mkDerivation {
|
||||
name = stdenv.lib.replaceChars [" "] [""] name;
|
||||
inherit src;
|
||||
|
||||
buildInputs = [ nodejs titanium alloy jdk python which ] ++ stdenv.lib.optional (stdenv.system == "x86_64-darwin") xcodewrapper;
|
||||
buildInputs = [ nodejs titanium alloy jdk python which file ] ++ stdenv.lib.optional (stdenv.system == "x86_64-darwin") xcodewrapper;
|
||||
|
||||
buildPhase = ''
|
||||
${preBuild}
|
||||
|
||||
export HOME=$TMPDIR
|
||||
|
||||
${stdenv.lib.optionalString (tiVersion != null) ''
|
||||
@@ -77,9 +79,9 @@ stdenv.mkDerivation {
|
||||
export JAVA_HOME=${javaVersionFixWrapper}
|
||||
javac -version
|
||||
''}
|
||||
|
||||
titanium config --config-file $TMPDIR/config.json --no-colors android.sdk ${androidsdkComposition}/libexec
|
||||
|
||||
|
||||
titanium config --config-file $TMPDIR/config.json --no-colors android.sdkPath ${androidsdkComposition}/libexec
|
||||
|
||||
export PATH=$(echo ${androidsdkComposition}/libexec/tools):$(echo ${androidsdkComposition}/libexec/build-tools/android-*):$PATH
|
||||
|
||||
${if release then
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{pkgs, pkgs_i686, xcodeVersion ? "8.2.1", xcodeBaseDir ? "/Applications/Xcode.app", tiVersion ? "6.0.2.GA"}:
|
||||
{pkgs, pkgs_i686, xcodeVersion ? "9.2", xcodeBaseDir ? "/Applications/Xcode.app", tiVersion ? "6.3.1.GA"}:
|
||||
|
||||
rec {
|
||||
androidenv = pkgs.androidenv;
|
||||
@@ -9,9 +9,7 @@ rec {
|
||||
} else null;
|
||||
|
||||
titaniumsdk = let
|
||||
titaniumSdkFile = if tiVersion == "5.1.2.GA" then ./titaniumsdk-5.1.nix
|
||||
else if tiVersion == "5.2.3.GA" then ./titaniumsdk-5.2.nix
|
||||
else if tiVersion == "6.0.2.GA" then ./titaniumsdk-6.0.nix
|
||||
titaniumSdkFile = if tiVersion == "6.3.1.GA" then ./titaniumsdk-6.3.nix
|
||||
else throw "Titanium version not supported: "+tiVersion;
|
||||
in
|
||||
import titaniumSdkFile {
|
||||
@@ -19,8 +17,8 @@ rec {
|
||||
};
|
||||
|
||||
buildApp = import ./build-app.nix {
|
||||
inherit (pkgs) stdenv python which jdk nodejs;
|
||||
inherit (pkgs.nodePackages_4_x) titanium alloy;
|
||||
inherit (pkgs) stdenv python which file jdk nodejs;
|
||||
inherit (pkgs.nodePackages_6_x) alloy titanium;
|
||||
inherit (androidenv) androidsdk;
|
||||
inherit (xcodeenv) xcodewrapper;
|
||||
inherit titaniumsdk xcodeBaseDir;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ nixpkgs ? <nixpkgs>
|
||||
, systems ? [ "x86_64-linux" "x86_64-darwin" ]
|
||||
, xcodeVersion ? "8.2.1"
|
||||
, xcodeVersion ? "9.2"
|
||||
, xcodeBaseDir ? "/Applications/Xcode.app"
|
||||
, tiVersion ? "6.0.2.GA"
|
||||
, tiVersion ? "6.3.1.GA"
|
||||
, rename ? false
|
||||
, newBundleId ? "com.example.kitchensink", iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? "Example", iosCertificatePassword ? "", iosVersion ? "10.2"
|
||||
, newBundleId ? "com.example.kitchensink", iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? "Example", iosCertificatePassword ? "", iosVersion ? "11.2"
|
||||
, enableWirelessDistribution ? false, installURL ? null
|
||||
}:
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ titaniumenv, fetchgit, target, androidPlatformVersions ? [ "23" ], tiVersion ? "5.1.2.GA", release ? false
|
||||
, rename ? false, stdenv ? null, newBundleId ? null, iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? null, iosCertificatePassword ? null, iosVersion ? "8.1"
|
||||
{ titaniumenv, fetchgit, target, androidPlatformVersions ? [ "25" "26" ], tiVersion ? "6.3.1.GA", release ? false
|
||||
, rename ? false, stdenv ? null, newBundleId ? null, iosMobileProvisioningProfile ? null, iosCertificate ? null, iosCertificateName ? null, iosCertificatePassword ? null, iosVersion ? "11.2"
|
||||
, enableWirelessDistribution ? false, installURL ? null
|
||||
}:
|
||||
|
||||
@@ -9,9 +9,9 @@ let
|
||||
src = fetchgit {
|
||||
url = https://github.com/appcelerator/KitchenSink.git;
|
||||
rev = "ec9edebf35030f61368000a8a9071dd7a0773884";
|
||||
sha256 = "1j41w4nhcbl40x550pjgabqrach80f9dybv7ya32771wnw2000iy";
|
||||
sha256 = "3e020004b73c9c2386f2672fdf9203083295f1524f5e504a07842e062de181c8";
|
||||
};
|
||||
|
||||
|
||||
# Rename the bundle id to something else
|
||||
renamedSrc = stdenv.mkDerivation {
|
||||
name = "KitchenSink-renamedsrc";
|
||||
@@ -29,14 +29,17 @@ in
|
||||
titaniumenv.buildApp {
|
||||
name = "KitchenSink-${target}-${if release then "release" else "debug"}";
|
||||
src = if rename then renamedSrc else src;
|
||||
preBuild = ''
|
||||
sed -i -e "s|23|25|" tiapp.xml
|
||||
''; # Raise minimum android SDK from 23 to 25
|
||||
inherit tiVersion;
|
||||
|
||||
|
||||
inherit target androidPlatformVersions release;
|
||||
|
||||
|
||||
androidKeyStore = ./keystore;
|
||||
androidKeyAlias = "myfirstapp";
|
||||
androidKeyStorePassword = "mykeystore";
|
||||
|
||||
|
||||
inherit iosMobileProvisioningProfile iosCertificate iosCertificateName iosCertificatePassword iosVersion;
|
||||
inherit enableWirelessDistribution installURL;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user