Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b4522d230ee7
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 95233e1d3902
Choose a head ref
  • 14 commits
  • 14 files changed
  • 9 contributors

Commits on Jun 23, 2019

  1. gst-plugins-good: Remove jack2 by default

    Averell Dalton committed Jun 23, 2019
    Copy the full SHA
    93f818b View commit details

Commits on Jul 20, 2019

  1. Copy the full SHA
    031c615 View commit details
  2. Copy the full SHA
    bc20384 View commit details

Commits on Jul 22, 2019

  1. x11docker: v5.4.4 -> v6.0.0

    jD91mZM2 committed Jul 22, 2019
    Copy the full SHA
    f1ba9c2 View commit details

Commits on Jul 23, 2019

  1. fcitx-qt5: 1.2.1 -> 1.2.3

    xrelkd authored and worldofpeace committed Jul 23, 2019
    Copy the full SHA
    a354cbb View commit details
  2. Merge pull request #65269 from jD91mZM2/x11docker

    x11docker: v5.4.4 -> v6.0.0
    danbst authored Jul 23, 2019
    Copy the full SHA
    9b20ea0 View commit details
  3. Merge pull request #65122 from marsam/update-timescaledb

    postgresqlPackages.timescaledb: 1.3.2 -> 1.4.0
    danbst authored Jul 23, 2019
    Copy the full SHA
    506379a View commit details
  4. Merge pull request #65121 from marsam/update-pgroonga

    postgresqlPackages.pgroonga: 2.2.0 -> 2.2.1
    danbst authored Jul 23, 2019
    Copy the full SHA
    e028c1a View commit details
  5. Merge pull request #63677 from averelld/gst-plugins-good-build

    gst-plugins-good: Remove jack2 by default
    worldofpeace authored Jul 23, 2019
    Copy the full SHA
    42f527e View commit details
  6. Merge pull request #64674 from xrelkd/update/fcitx-qt5

    fcitx-qt5: 1.2.1 -> 1.2.3
    worldofpeace authored Jul 23, 2019
    Copy the full SHA
    f981d41 View commit details
  7. geekbench: 4.3.3 -> 4.4.0 (#65080)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/geekbench/versions
    r-ryantm authored and aristidb committed Jul 23, 2019
    Copy the full SHA
    36a6109 View commit details
  8. mathematica: 11.3.0 -> 12.0.0 (#65031)

    * mathematica: archive version 11
    
    * mathematica: 11.3.0 -> 12.0.0
    herberteuler authored and aristidb committed Jul 23, 2019
    Copy the full SHA
    6988b0b View commit details
  9. coqPackages.equations: 1.2beta2 -> 1.2 (#65281)

    * coqPackages.equations: 1.2beta2 -> 1.2
    
    * coqPackages.category-theory: 20181016 -> 20190414
    vbgl authored and aristidb committed Jul 23, 2019
    Copy the full SHA
    f9486ce View commit details
  10. Copy the full SHA
    95233e1 View commit details
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -2132,6 +2132,11 @@
github = "henrytill";
name = "Henry Till";
};
herberteuler = {
email = "herberteuler@gmail.com";
github = "herberteuler";
name = "Guanpeng Xu";
};
hhm = {
email = "heehooman+nixpkgs@gmail.com";
github = "hhm0";
150 changes: 150 additions & 0 deletions pkgs/applications/science/math/mathematica/11.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
{ stdenv
, coreutils
, patchelf
, requireFile
, callPackage
, alsaLib
, dbus
, fontconfig
, freetype
, gcc
, glib
, ncurses
, opencv
, openssl
, unixODBC
, xkeyboard_config
, xorg
, zlib
, libxml2
, libuuid
, lang ? "en"
, libGL
, libGLU
}:

let
l10n =
import ./l10ns.nix {
lib = stdenv.lib;
inherit requireFile lang;
majorVersion = "11";
};
in
stdenv.mkDerivation rec {
inherit (l10n) version name src;

buildInputs = [
coreutils
patchelf
alsaLib
coreutils
dbus
fontconfig
freetype
gcc.cc
gcc.libc
glib
ncurses
opencv
openssl
unixODBC
xkeyboard_config
libxml2
libuuid
zlib
libGL
libGLU
] ++ (with xorg; [
libX11
libXext
libXtst
libXi
libXmu
libXrender
libxcb
libXcursor
libXfixes
libXrandr
libICE
libSM
]);

ldpath = stdenv.lib.makeLibraryPath buildInputs
+ stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux")
(":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" buildInputs);

phases = "unpackPhase installPhase fixupPhase";

unpackPhase = ''
echo "=== Extracting makeself archive ==="
# find offset from file
offset=$(${stdenv.shell} -c "$(grep -axm1 -e 'offset=.*' $src); echo \$offset" $src)
dd if="$src" ibs=$offset skip=1 | tar -xf -
cd Unix
'';

installPhase = ''
cd Installer
# don't restrict PATH, that has already been done
sed -i -e 's/^PATH=/# PATH=/' MathInstaller
sed -i -e 's/\/bin\/bash/\/bin\/sh/' MathInstaller
echo "=== Running MathInstaller ==="
./MathInstaller -auto -createdir=y -execdir=$out/bin -targetdir=$out/libexec/Mathematica -silent
# Fix library paths
cd $out/libexec/Mathematica/Executables
for path in mathematica MathKernel Mathematica WolframKernel wolfram math; do
sed -i -e 's#export LD_LIBRARY_PATH$#export LD_LIBRARY_PATH=${zlib}/lib:\''${LD_LIBRARY_PATH}#' $path
done
# Fix xkeyboard config path for Qt
for path in mathematica Mathematica; do
line=$(grep -n QT_PLUGIN_PATH $path | sed 's/:.*//')
sed -i -e "$line iexport QT_XKB_CONFIG_ROOT=\"${xkeyboard_config}/share/X11/xkb\"" $path
done
'';

preFixup = ''
echo "=== PatchElfing away ==="
# This code should be a bit forgiving of errors, unfortunately
set +e
find $out/libexec/Mathematica/SystemFiles -type f -perm -0100 | while read f; do
type=$(readelf -h "$f" 2>/dev/null | grep 'Type:' | sed -e 's/ *Type: *\([A-Z]*\) (.*/\1/')
if [ -z "$type" ]; then
:
elif [ "$type" == "EXEC" ]; then
echo "patching $f executable <<"
patchelf --shrink-rpath "$f"
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath "$(patchelf --print-rpath "$f"):${ldpath}" \
"$f" \
&& patchelf --shrink-rpath "$f" \
|| echo unable to patch ... ignoring 1>&2
elif [ "$type" == "DYN" ]; then
echo "patching $f library <<"
patchelf \
--set-rpath "$(patchelf --print-rpath "$f"):${ldpath}" \
"$f" \
&& patchelf --shrink-rpath "$f" \
|| echo unable to patch ... ignoring 1>&2
else
echo "not patching $f <<: unknown elf type"
fi
done
'';

# all binaries are already stripped
dontStrip = true;

# we did this in prefixup already
dontPatchELF = true;

meta = {
description = "Wolfram Mathematica computational software system";
homepage = http://www.wolfram.com/mathematica/;
license = stdenv.lib.licenses.unfree;
};
}
22 changes: 12 additions & 10 deletions pkgs/applications/science/math/mathematica/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ stdenv
, coreutils
, patchelf
, requireFile
, callPackage
, alsaLib
, dbus
@@ -24,10 +25,10 @@

let
l10n =
with stdenv.lib;
with callPackage ./l10ns.nix {};
flip (findFirst (l: l.lang == lang)) l10ns
(throw "Language '${lang}' not supported");
import ./l10ns.nix {
lib = stdenv.lib;
inherit requireFile lang;
};
in
stdenv.mkDerivation rec {
inherit (l10n) version name src;
@@ -72,8 +73,6 @@ stdenv.mkDerivation rec {
+ stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux")
(":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" buildInputs);

phases = "unpackPhase installPhase fixupPhase";

unpackPhase = ''
echo "=== Extracting makeself archive ==="
# find offset from file
@@ -99,8 +98,7 @@ stdenv.mkDerivation rec {
# Fix xkeyboard config path for Qt
for path in mathematica Mathematica; do
line=$(grep -n QT_PLUGIN_PATH $path | sed 's/:.*//')
sed -i -e "$line iexport QT_XKB_CONFIG_ROOT=\"${xkeyboard_config}/share/X11/xkb\"" $path
sed -i -e "2iexport QT_XKB_CONFIG_ROOT=\"${xkeyboard_config}/share/X11/xkb\"\n" $path
done
'';

@@ -134,15 +132,19 @@ stdenv.mkDerivation rec {
done
'';

dontBuild = true;

# all binaries are already stripped
dontStrip = true;

# we did this in prefixup already
dontPatchELF = true;

meta = {
meta = with stdenv.lib; {
description = "Wolfram Mathematica computational software system";
homepage = http://www.wolfram.com/mathematica/;
license = stdenv.lib.licenses.unfree;
license = licenses.unfree;
maintainers = with maintainers; [ herberteuler ];
platforms = [ "x86_64-linux" ];
};
}
31 changes: 26 additions & 5 deletions pkgs/applications/science/math/mathematica/l10ns.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
{ lib, requireFile }:
{ lib
, requireFile
, lang
, majorVersion ? null
}:

with lib;
{
l10ns = flip map
let allVersions = with lib; flip map
# N.B. Versions in this list should be ordered from newest to oldest.
[
{
version = "12.0.0";
lang = "en";
language = "English";
sha256 = "b9fb71e1afcc1d72c200196ffa434512d208fa2920e207878433f504e58ae9d7";
}
{
version = "11.3.0";
lang = "en";
@@ -30,4 +39,16 @@ with lib;
inherit sha256;
};
});
}
minVersion =
with lib;
if majorVersion == null
then elemAt (builtins.splitVersion (elemAt allVersions 0).version) 0
else majorVersion;
maxVersion = toString (1 + builtins.fromJSON minVersion);
in
with lib;
findFirst (l: (l.lang == lang
&& l.version >= minVersion
&& l.version < maxVersion))
(throw "Version ${minVersion} in language ${lang} not supported")
allVersions
4 changes: 2 additions & 2 deletions pkgs/applications/virtualization/x11docker/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, fetchFromGitHub, makeWrapper, nx-libs, xorg }:
stdenv.mkDerivation rec {
name = "x11docker-${version}";
version = "5.4.4";
version = "6.0.0";
src = fetchFromGitHub {
owner = "mviereck";
repo = "x11docker";
rev = "v${version}";
sha256 = "1p45dyd1zfjxlawsy190q71hwl083f90ryaslslhxsadsi9m64dq";
sha256 = "1sfdxlh50hv8j3dj5bphihqdyf8s7ixm6ckrmvqgr2y3gak1y840";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ nx-libs xorg.xhost xorg.xinit ];
11 changes: 6 additions & 5 deletions pkgs/development/coq-modules/category-theory/default.nix
Original file line number Diff line number Diff line change
@@ -8,15 +8,16 @@ let
rev = "3b9ba7b26a64d49a55e8b6ccea570a7f32c11ead";
sha256 = "0f2nr8dgn1ab7hr7jrdmr1zla9g9h8216q4yf4wnff9qkln8sbbs";
};
v20181016 = {
version = "20181016";
rev = "8049479c5aee00ed0b92e5edc7c8996aebf48208";
sha256 = "14f9rlwh8vgmcl6njykvsiwxx0jn623375afixk26mzpy12zdcph";
v20190414 = {
version = "20190414";
rev = "706fdb4065cc2302d92ac2bce62cb59713253119";
sha256 = "16lg4xs2wzbdbsn148xiacgl4wq4xwfqjnjkdhfr3w0qh1s81hay";
};
in {
"8.6" = v20180709;
"8.7" = v20180709;
"8.8" = v20181016;
"8.8" = v20190414;
"8.9" = v20190414;
};
param = params."${coq.coq-version}";
in
18 changes: 12 additions & 6 deletions pkgs/development/coq-modules/equations/default.nix
Original file line number Diff line number Diff line change
@@ -15,15 +15,21 @@ let
};

"8.8" = {
version = "1.2beta2";
rev = "v1.2-beta2-8.8";
sha256 = "1v9asdlhhks25ngnjn4dafx7nrcc5p0lhriqckh3y79nxbgpq4lx";
version = "1.2";
rev = "v1.2-8.8";
sha256 = "06452fyzalz7zcjjp73qb7d6xvmqb6skljkivf8pfm55fsc8s7kx";
};

"8.9" = {
version = "1.2beta2";
rev = "v1.2-beta2-8.9";
sha256 = "0y2zwv7jxs1crprj5qvg46h0v9wyfn99ln40yskq91y9h1lj5h3j";
version = "1.2";
rev = "v1.2-8.9";
sha256 = "1q3wvicr43bgy7xn1diwh4j43mnrhprrc2xd22qlbz9cl6bhf8bj";
};

"8.10" = {
version = "1.2";
rev = "v1.2-8.10";
sha256 = "1v5kx0xzxzsbs5r4w08rm1lrmjjggnd3ap0sd1my88ds17jzyasd";
};
};
param = params."${coq.coq-version}";
2 changes: 1 addition & 1 deletion pkgs/development/libraries/gstreamer/good/default.nix
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
]
++ optional gtkSupport gtk3 # for gtksink
++ optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ]
++ optionals stdenv.isLinux [ libv4l libpulseaudio libavc1394 libiec61883 libgudev jack2 ]
++ optionals stdenv.isLinux [ libv4l libpulseaudio libavc1394 libiec61883 libgudev ]
++ optionals (stdenv.isLinux && enableJack) [
jack2
];
12 changes: 3 additions & 9 deletions pkgs/development/python-modules/scrapy/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, glibcLocales, mock, pytest, botocore,
{ stdenv, buildPythonPackage, fetchPypi, glibcLocales, mock, pytest, botocore,
testfixtures, pillow, six, twisted, w3lib, lxml, queuelib, pyopenssl,
service-identity, parsel, pydispatcher, cssselect, lib }:
buildPythonPackage rec {
version = "1.7.1";
version = "1.7.2";
pname = "Scrapy";

checkInputs = [ glibcLocales mock pytest botocore testfixtures pillow ];
@@ -16,12 +16,6 @@ buildPythonPackage rec {
# root and readonly. As a consequence scrapy can't edit the
# project templates.
./permissions-fix.patch

# Fix configparser import for python2. See: https://github.com/scrapy/scrapy/pull/3887
(fetchpatch {
url = "https://github.com/scrapy/scrapy/commit/21345dc9ec60dcc1cd2e5c0eace5788aa502ce23.patch";
sha256 = "09834rcjyggvyj6zignvfga2xbqkknygly5p4a96k2mvz0xn3v6z";
})
];

LC_ALL="en_US.UTF-8";
@@ -37,7 +31,7 @@ buildPythonPackage rec {

src = fetchPypi {
inherit pname version;
sha256 = "da8987d199092c3bb33d4d1d021507cd933aa67f5177e2d36f31343e8a6bd7f1";
sha256 = "7a4ed68cfb44dc86e1895f0fb46257ee4adb1090754ac21faec205763f054464";
};

postInstall = ''
4 changes: 2 additions & 2 deletions pkgs/servers/sql/postgresql/ext/pgroonga.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "pgroonga";
version = "2.2.0";
version = "2.2.1";

src = fetchurl {
url = "https://packages.groonga.org/source/${pname}/${pname}-${version}.tar.gz";
sha256 = "1cankcprikx8nf72yg4h8542gqqlfgww6d63kg7l8l8sz962d28b";
sha256 = "0d913rkxx6qlkav6z9crsz3ypqkdffn4c667nsgzh5s9n4wbbpb8";
};

nativeBuildInputs = [ pkgconfig ];
Loading