Merge branch 'staging'
This commit is contained in:
commit
0bc4216bf0
@ -1,4 +1,4 @@
|
|||||||
{ callPackage, boost155, boost162, boost163, openssl_1_1_0, haskellPackages, darwin, libsForQt5 }:
|
{ callPackage, boost155, boost162, openssl_1_1_0, haskellPackages, darwin, libsForQt5 }:
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
|
|
||||||
@ -59,6 +59,5 @@ rec {
|
|||||||
zcash = callPackage ./zcash {
|
zcash = callPackage ./zcash {
|
||||||
withGui = false;
|
withGui = false;
|
||||||
openssl = openssl_1_1_0;
|
openssl = openssl_1_1_0;
|
||||||
boost = boost163;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, makeDesktopItem, cmake, boost163, zlib, openssl,
|
{ stdenv, fetchurl, fetchpatch, makeDesktopItem, cmake, boost, zlib, openssl,
|
||||||
R, qt5, libuuid, hunspellDicts, unzip, ant, jdk, gnumake, makeWrapper, pandoc
|
R, qt5, libuuid, hunspellDicts, unzip, ant, jdk, gnumake, makeWrapper, pandoc
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -10,7 +10,9 @@ in
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "RStudio-${version}";
|
name = "RStudio-${version}";
|
||||||
|
|
||||||
buildInputs = [ cmake boost163 zlib openssl R qt5.full qt5.qtwebkit qt5.qtwebchannel libuuid unzip ant jdk makeWrapper pandoc ];
|
nativeBuildInputs = [ cmake unzip ant jdk makeWrapper pandoc ];
|
||||||
|
|
||||||
|
buildInputs = [ boost zlib openssl R qt5.full qt5.qtwebkit qt5.qtwebchannel libuuid ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/rstudio/rstudio/archive/v${version}.tar.gz";
|
url = "https://github.com/rstudio/rstudio/archive/v${version}.tar.gz";
|
||||||
@ -96,6 +98,8 @@ stdenv.mkDerivation rec {
|
|||||||
cp ${pandoc}/bin/pandoc dependencies/common/pandoc/
|
cp ${pandoc}/bin/pandoc dependencies/common/pandoc/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
cmakeFlags = [ "-DRSTUDIO_TARGET=Desktop" "-DQT_QMAKE_EXECUTABLE=$NIX_QT5_TMP/bin/qmake" ];
|
cmakeFlags = [ "-DRSTUDIO_TARGET=Desktop" "-DQT_QMAKE_EXECUTABLE=$NIX_QT5_TMP/bin/qmake" ];
|
||||||
|
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
|
12
pkgs/development/libraries/boost/1.65.nix
Normal file
12
pkgs/development/libraries/boost/1.65.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{ stdenv, callPackage, fetchurl, ... } @ args:
|
||||||
|
|
||||||
|
callPackage ./generic.nix (args // rec {
|
||||||
|
version = "1.65.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/boost/boost_1_65_1.tar.bz2";
|
||||||
|
# SHA256 from http://www.boost.org/users/history/version_1_65_1.html
|
||||||
|
sha256 = "9807a5d16566c57fd74fb522764e0b134a8bbe6b6e8967b83afefd30dcd3be81";
|
||||||
|
};
|
||||||
|
|
||||||
|
})
|
@ -9,6 +9,8 @@
|
|||||||
, enableStatic ? !enableShared
|
, enableStatic ? !enableShared
|
||||||
, enablePIC ? false
|
, enablePIC ? false
|
||||||
, enableExceptions ? false
|
, enableExceptions ? false
|
||||||
|
, enablePython ? hostPlatform == buildPlatform
|
||||||
|
, enableNumpy ? false, numpy ? null
|
||||||
, taggedLayout ? ((enableRelease && enableDebug) || (enableSingleThreaded && enableMultiThreaded) || (enableShared && enableStatic))
|
, taggedLayout ? ((enableRelease && enableDebug) || (enableSingleThreaded && enableMultiThreaded) || (enableShared && enableStatic))
|
||||||
, patches ? null
|
, patches ? null
|
||||||
, mpi ? null
|
, mpi ? null
|
||||||
@ -21,6 +23,9 @@
|
|||||||
# We must build at least one type of libraries
|
# We must build at least one type of libraries
|
||||||
assert !enableShared -> enableStatic;
|
assert !enableShared -> enableStatic;
|
||||||
|
|
||||||
|
assert enablePython -> hostPlatform == buildPlatform;
|
||||||
|
assert enableNumpy -> enablePython;
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -62,7 +67,8 @@ let
|
|||||||
] ++ optional (link != "static") "runtime-link=${runtime-link}" ++ [
|
] ++ optional (link != "static") "runtime-link=${runtime-link}" ++ [
|
||||||
"link=${link}"
|
"link=${link}"
|
||||||
"${cflags}"
|
"${cflags}"
|
||||||
] ++ optional (variant == "release") "debug-symbols=off";
|
] ++ optional (variant == "release") "debug-symbols=off"
|
||||||
|
++ optional (!enablePython) "--without-python";
|
||||||
|
|
||||||
nativeB2Flags = [
|
nativeB2Flags = [
|
||||||
"-sEXPAT_INCLUDE=${expat.dev}/include"
|
"-sEXPAT_INCLUDE=${expat.dev}/include"
|
||||||
@ -76,7 +82,6 @@ let
|
|||||||
"-sEXPAT_LIBPATH=${expat.crossDrv}/lib"
|
"-sEXPAT_LIBPATH=${expat.crossDrv}/lib"
|
||||||
"--user-config=user-config.jam"
|
"--user-config=user-config.jam"
|
||||||
"toolset=gcc-cross"
|
"toolset=gcc-cross"
|
||||||
"--without-python"
|
|
||||||
] ++ optionals (hostPlatform.libc == "msvcrt") [
|
] ++ optionals (hostPlatform.libc == "msvcrt") [
|
||||||
"target-os=windows"
|
"target-os=windows"
|
||||||
"threadapi=win32"
|
"threadapi=win32"
|
||||||
@ -148,8 +153,10 @@ stdenv.mkDerivation {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildInputs = [ expat zlib bzip2 libiconv ]
|
buildInputs = [ expat zlib bzip2 libiconv ]
|
||||||
++ stdenv.lib.optionals (hostPlatform == buildPlatform) [ python icu ]
|
++ optional (hostPlatform == buildPlatform) icu
|
||||||
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
++ optional stdenv.isDarwin fixDarwinDylibNames
|
||||||
|
++ optional enablePython python
|
||||||
|
++ optional enableNumpy numpy;
|
||||||
|
|
||||||
configureScript = "./bootstrap.sh";
|
configureScript = "./bootstrap.sh";
|
||||||
configureFlags = commonConfigureFlags
|
configureFlags = commonConfigureFlags
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libpthreadstubs, libpciaccess, valgrind-light }:
|
{ stdenv, fetchurl, pkgconfig, libpthreadstubs, libpciaccess, valgrind-light }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libdrm-2.4.83";
|
name = "libdrm-2.4.84";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://dri.freedesktop.org/libdrm/${name}.tar.bz2";
|
url = "http://dri.freedesktop.org/libdrm/${name}.tar.bz2";
|
||||||
sha256 = "1minzvsyz5hgm6ixpj8ysa6jsv7vm8qc8nx390jxdsk0v9ljd983";
|
sha256 = "7ae9c24d91139ac9a2cdee06fe46dbe1c401a1eda1c0bd2a6d1ecf72f479e0aa";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" "bin" ];
|
outputs = [ "out" "dev" "bin" ];
|
||||||
|
@ -1,6 +1,13 @@
|
|||||||
{ callPackage, ... } @ args:
|
args@{ callPackage, fetchpatch, ... }:
|
||||||
|
|
||||||
callPackage ./generic.nix (args // {
|
callPackage (import ./generic.nix {
|
||||||
version = "1.0.11";
|
version = "1.0.11";
|
||||||
sha256 = "17p34d3n29q04pvz975gfl1fyj3sg9cl5l6j673xqfq3fpyis58i";
|
sha256 = "17p34d3n29q04pvz975gfl1fyj3sg9cl5l6j673xqfq3fpyis58i";
|
||||||
})
|
patches = [
|
||||||
|
# Compatibility with new Boost
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/arvidn/libtorrent/commit/7eb3cf6bc6dbada3fa7bb7ff4d5981182813a0e2.patch";
|
||||||
|
sha256 = "07agbrii6i8q4wmgpqbln7ldhhadaf5npcinvi6hnyipsr48jbj5";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}) args
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ callPackage, ... } @ args:
|
args@{ callPackage, ... }:
|
||||||
|
|
||||||
callPackage ./generic.nix (args // {
|
callPackage (import ./generic.nix {
|
||||||
version = "1.1.4";
|
version = "1.1.5";
|
||||||
sha256 = "1rrp4b7zfz0fnjvax2r9r5rrh6z1s4xqb9dx20gzr4gs8x5v5jws";
|
sha256 = "1ifpcqw5mj2dwk23lhc2vpb47mg3j573v5z4zp8dkczpz7wg5jxq";
|
||||||
})
|
}) args
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, automake, autoconf, boost, openssl, lib, libtool, pkgconfig, zlib, python, libiconv, geoip
|
|
||||||
# Version specific options
|
# Version specific options
|
||||||
, version, sha256
|
{ version, sha256, patches ? [] }:
|
||||||
, ... }:
|
|
||||||
|
{ stdenv, fetchurl, automake, autoconf, boost, openssl, lib, libtool, pkgconfig, zlib, python, libiconv, geoip, ... }:
|
||||||
|
|
||||||
let formattedVersion = lib.replaceChars ["."] ["_"] version;
|
let formattedVersion = lib.replaceChars ["."] ["_"] version;
|
||||||
|
|
||||||
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
|||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
inherit patches;
|
||||||
|
|
||||||
nativeBuildInputs = [ automake autoconf libtool pkgconfig ];
|
nativeBuildInputs = [ automake autoconf libtool pkgconfig ];
|
||||||
buildInputs = [ boost openssl zlib python libiconv geoip ];
|
buildInputs = [ boost openssl zlib python libiconv geoip ];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
{ stdenv, buildPythonPackage, fetchFromGitHub, isPy3k
|
||||||
, boost, freetype, ftgl, mesa }:
|
, boost, freetype, ftgl, mesa }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -11,6 +11,10 @@ buildPythonPackage rec {
|
|||||||
sha256 = "12zcjv4cwwjihiaf74kslrdmmk4bs47h7006gyqfwdfchfjdgg4r";
|
sha256 = "12zcjv4cwwjihiaf74kslrdmmk4bs47h7006gyqfwdfchfjdgg4r";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = stdenv.lib.optional isPy3k ''
|
||||||
|
sed -i "s,'boost_python','boost_python3',g" setup.py
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ boost freetype ftgl mesa ];
|
buildInputs = [ boost freetype ftgl mesa ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, ncurses, boost }:
|
{ stdenv, fetchFromGitHub, fetchpatch, ncurses, boost }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "bastet-${version}";
|
name = "bastet-${version}";
|
||||||
@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "09kamxapm9jw9przpsgjfg33n9k94bccv65w95dakj0br33a75wn";
|
sha256 = "09kamxapm9jw9przpsgjfg33n9k94bccv65w95dakj0br33a75wn";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Compatibility with new Boost
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/fph/bastet/commit/0e03f8d4d6bc6949cf1c447e632ce0d1b98c4be1.patch";
|
||||||
|
sha256 = "1475hisbm44jirsrhdlnddppsyn83xmvcx09gfkm9drcix05alzj";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out"/bin
|
mkdir -p "$out"/bin
|
||||||
cp bastet "$out"/bin/
|
cp bastet "$out"/bin/
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "kexec-tools-${version}";
|
name = "kexec-tools-${version}";
|
||||||
version = "2.0.14";
|
version = "2.0.15";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls = [
|
urls = [
|
||||||
"mirror://kernel/linux/utils/kernel/kexec/${name}.tar.xz"
|
"mirror://kernel/linux/utils/kernel/kexec/${name}.tar.xz"
|
||||||
"http://horms.net/projects/kexec/kexec-tools/${name}.tar.xz"
|
"http://horms.net/projects/kexec/kexec-tools/${name}.tar.xz"
|
||||||
];
|
];
|
||||||
sha256 = "1ihd3kzw8xnc5skq4pb633rr80007knjm4n1dd67a24xkplygcpz";
|
sha256 = "1rwl04y1mpb28yq5ynnk8j124dmhj5p8c4hcdn453sri2j37p6w9";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardeningDisable = [ "format" "pic" "relro" ];
|
hardeningDisable = [ "format" "pic" "relro" ];
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "povray-${version}";
|
name = "povray-${version}";
|
||||||
version = "3.7.0.3";
|
version = "3.7.0.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "POV-Ray";
|
owner = "POV-Ray";
|
||||||
repo = "povray";
|
repo = "povray";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0mzkgk3gn8jfrw1fq0z3kqbysdfq8nwdl8a28l18v8gzb31bblhq";
|
sha256 = "1wkwb43w5r9pa79yazy4w4s8n6g280igag97hgl7dyi289q39n0q";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub
|
{ stdenv, fetchFromGitHub, fetchpatch
|
||||||
, autoreconfHook, pkgconfig, docbook_xsl, libxslt, docbook_xml_dtd_45
|
, autoreconfHook, pkgconfig, docbook_xsl, libxslt, docbook_xml_dtd_45
|
||||||
, acl, attr, boost, btrfs-progs, dbus_libs, diffutils, e2fsprogs, libxml2
|
, acl, attr, boost, btrfs-progs, dbus_libs, diffutils, e2fsprogs, libxml2
|
||||||
, lvm2, pam, python, utillinux }:
|
, lvm2, pam, python, utillinux }:
|
||||||
@ -14,6 +14,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "14hrv23film4iihyclcvc2r2dgxl8w3as50r81xjjc85iyp6yxkm";
|
sha256 = "14hrv23film4iihyclcvc2r2dgxl8w3as50r81xjjc85iyp6yxkm";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix build with new Boost
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/openSUSE/snapper/commit/2e3812d2c1d1f54861fb79f5c2b0197de96a00a3.patch";
|
||||||
|
sha256 = "0yrzss1v7lmcvkajmchz917yqsvlsdfz871szzw790v6pql1322s";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook pkgconfig
|
autoreconfHook pkgconfig
|
||||||
docbook_xsl libxslt docbook_xml_dtd_45
|
docbook_xsl libxslt docbook_xml_dtd_45
|
||||||
|
@ -645,9 +645,7 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
aria = aria2;
|
aria = aria2;
|
||||||
|
|
||||||
aspcud = callPackage ../tools/misc/aspcud {
|
aspcud = callPackage ../tools/misc/aspcud { };
|
||||||
boost = boost163;
|
|
||||||
};
|
|
||||||
|
|
||||||
at = callPackage ../tools/system/at { };
|
at = callPackage ../tools/system/at { };
|
||||||
|
|
||||||
@ -1402,9 +1400,7 @@ with pkgs;
|
|||||||
|
|
||||||
citrix_receiver = callPackage ../applications/networking/remote/citrix-receiver { };
|
citrix_receiver = callPackage ../applications/networking/remote/citrix-receiver { };
|
||||||
|
|
||||||
citra = libsForQt5.callPackage ../misc/emulators/citra {
|
citra = libsForQt5.callPackage ../misc/emulators/citra { };
|
||||||
boost = boost163;
|
|
||||||
};
|
|
||||||
|
|
||||||
cmst = libsForQt5.callPackage ../tools/networking/cmst { };
|
cmst = libsForQt5.callPackage ../tools/networking/cmst { };
|
||||||
|
|
||||||
@ -7825,8 +7821,9 @@ with pkgs;
|
|||||||
boost162 = callPackage ../development/libraries/boost/1.62.nix { };
|
boost162 = callPackage ../development/libraries/boost/1.62.nix { };
|
||||||
boost163 = callPackage ../development/libraries/boost/1.63.nix { };
|
boost163 = callPackage ../development/libraries/boost/1.63.nix { };
|
||||||
boost164 = callPackage ../development/libraries/boost/1.64.nix { };
|
boost164 = callPackage ../development/libraries/boost/1.64.nix { };
|
||||||
boost16x = boost164;
|
boost165 = callPackage ../development/libraries/boost/1.65.nix { };
|
||||||
boost = boost162;
|
boost16x = boost165;
|
||||||
|
boost = boost16x;
|
||||||
|
|
||||||
boost_process = callPackage ../development/libraries/boost-process { };
|
boost_process = callPackage ../development/libraries/boost-process { };
|
||||||
|
|
||||||
@ -12930,7 +12927,6 @@ with pkgs;
|
|||||||
|
|
||||||
systemd = callPackage ../os-specific/linux/systemd {
|
systemd = callPackage ../os-specific/linux/systemd {
|
||||||
utillinux = utillinuxMinimal; # break the cyclic dependency
|
utillinux = utillinuxMinimal; # break the cyclic dependency
|
||||||
gperf = gperf_3_0; # fix build until v233
|
|
||||||
}
|
}
|
||||||
// {
|
// {
|
||||||
udev.bin = systemd; # ${systemd.udev.bin}/bin/udevadm
|
udev.bin = systemd; # ${systemd.udev.bin}/bin/udevadm
|
||||||
|
@ -1476,7 +1476,10 @@ in {
|
|||||||
|
|
||||||
# Build boost for this specific Python version
|
# Build boost for this specific Python version
|
||||||
# TODO: use separate output for libboost_python.so
|
# TODO: use separate output for libboost_python.so
|
||||||
boost = pkgs.boost.override {inherit python;};
|
boost = pkgs.boost.override {
|
||||||
|
inherit (self) python numpy;
|
||||||
|
enablePython = true;
|
||||||
|
};
|
||||||
|
|
||||||
buttersink = buildPythonPackage rec {
|
buttersink = buildPythonPackage rec {
|
||||||
name = "buttersink-0.6.8";
|
name = "buttersink-0.6.8";
|
||||||
@ -1531,7 +1534,6 @@ in {
|
|||||||
python = self.python;
|
python = self.python;
|
||||||
boost = self.boost;
|
boost = self.boost;
|
||||||
numpy = self.numpy;
|
numpy = self.numpy;
|
||||||
pythonSupport = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
capstone = buildPythonPackage rec {
|
capstone = buildPythonPackage rec {
|
||||||
|
Loading…
Reference in New Issue
Block a user