Skip to content
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a6b64a828d16
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 78763398c3ea
Choose a head ref
  • 14 commits
  • 11 files changed
  • 11 contributors

Commits on Oct 24, 2019

  1. catt: init at 0.10.2

    dtzWill committed Oct 24, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    2bfd58a View commit details

Commits on Oct 25, 2019

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f6c45bf View commit details
  2. mpv: 0.29.1 -> 0.30.0

    tadeokondrak committed Oct 25, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    b225603 View commit details
  3. starship: 0.25.0 -> 0.25.2

    davidtwco committed Oct 25, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    d1100be View commit details
  4. Merge pull request #71963 from dtzWill/security/nextcloud17-php-and-n…

    …ginx-config
    
    Address nextcloud "urgent security issue" w/nginx per upstream recs
    Ma27 authored Oct 25, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    4a5c0e0 View commit details
  5. tbb: 2019_U8 -> 2019_U9

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/tbb/versions
    r-ryantm authored and thoughtpolice committed Oct 25, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    886de2d View commit details
  6. Merge pull request #71987 from tadeokondrak/mpv-0.30.0

    mpv: 0.29.1 -> 0.30.0
    globin authored Oct 25, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    4328c87 View commit details
  7. Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    50208ab View commit details
  8. epsxe: fix link with openssl (#71920)

    * epsxe: fix link with openssl
    
    Epsxe is hardcoded to build with openssl-1.0 (using libcrypto.so.1.0.0),
    but current nixpkgs contains openssl-1.1, which provides
    libcrypto.so.1.1.
    
    This patchs just uses the previous version of the library.
    
    * epsxe: use autoPatchelfHook instead of manual rpath overriding
    
    This simplifies the file AND generates failures at build time if a
    needed dynamic library is not found during build time.
    guibou authored and c0bw3b committed Oct 25, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    4a2475c View commit details
  9. lm_sensors: 3.5.0 -> 3.6.0 (#71668)

    * lm_sensors: 3.5.0 -> 3.6.0
    
    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/lm-sensors/versions
    
    * lm-sensors: proper makeFlags array
    r-ryantm authored and c0bw3b committed Oct 25, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    5d1910c View commit details
  10. shattered-pixel-dungeon: init at 0.7.4c

    fgaz authored and Lassulus committed Oct 25, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    7ff539d View commit details
  11. Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    7bb372b View commit details
  12. Merge pull request #71895 from dtzWill/feature/catt

    catt: init at 0.10.2
    c0bw3b authored Oct 25, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    83da13b View commit details
  13. starship: 0.25.0 -> 0.25.2 (#71988)

    starship: 0.25.0 -> 0.25.2
    dywedir authored Oct 25, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    shuding Shu Ding
    Copy the full SHA
    7876339 View commit details
3 changes: 2 additions & 1 deletion nixos/modules/services/web-apps/nextcloud.nix
Original file line number Diff line number Diff line change
@@ -467,7 +467,7 @@ in {
};
"/" = {
priority = 200;
extraConfig = "rewrite ^ /index.php$request_uri;";
extraConfig = "rewrite ^ /index.php;";
};
"~ ^/store-apps" = {
priority = 201;
@@ -494,6 +494,7 @@ in {
extraConfig = ''
include ${config.services.nginx.package}/conf/fastcgi.conf;
fastcgi_split_path_info ^(.+\.php)(\\/.*)$;
try_files $fastcgi_script_name =404;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param HTTPS ${if cfg.https then "on" else "off"};
fastcgi_param modHeadersAvailable true;
5 changes: 1 addition & 4 deletions pkgs/applications/misc/qpdfview/default.nix
Original file line number Diff line number Diff line change
@@ -23,10 +23,6 @@ mkDerivation {
inherit (s) url sha256;
};

preConfigure = ''
qmakeFlags+=(*.pro)
'';

qmakeFlags = [
"TARGET_INSTALL_PATH=${placeholder "out"}/bin"
"PLUGIN_INSTALL_PATH=${placeholder "out"}/lib/qpdfview"
@@ -35,6 +31,7 @@ mkDerivation {
"ICON_INSTALL_PATH=${placeholder "out"}/share/icons/hicolor/scalable/apps"
"LAUNCHER_INSTALL_PATH=${placeholder "out"}/share/applications"
"APPDATA_INSTALL_PATH=${placeholder "out"}/share/appdata"
"\*.pro" # escaping needed here
];

meta = {
31 changes: 31 additions & 0 deletions pkgs/applications/video/catt/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ buildPythonApplication, fetchPypi, lib
, youtube-dl
, PyChromecast
, click
, ifaddr
, requests
}:

buildPythonApplication rec {
pname = "catt";
version = "0.10.2";

src = fetchPypi {
inherit pname version;
sha256 = "0n6aa2vvbq0z3vcg4cylhpqxch783cxvxk234647knklgg9vdf1r";
};

propagatedBuildInputs = [
youtube-dl PyChromecast click ifaddr requests
];

doCheck = false; # attempts to access various URLs

meta = with lib; {
description = "Cast All The Things allows you to send videos from many, many online sources to your Chromecast";
homepage = "https://github.com/skorokithakis/catt";
license = licenses.bsd2;
maintainers = with maintainers; [ dtzWill ];
};
}

50 changes: 31 additions & 19 deletions pkgs/applications/video/mpv/default.nix
Original file line number Diff line number Diff line change
@@ -20,30 +20,36 @@
, libcdio-paranoia ? null

, vulkanSupport ? stdenv.isLinux
, shaderc ? null
, libplacebo ? null
, shaderc ? null
, vulkan-headers ? null
, vulkan-loader ? null
, vulkan-loader ? null

, drmSupport ? stdenv.isLinux
, libdrm ? null
, mesa ? null

, alsaSupport ? stdenv.isLinux, alsaLib ? null
, bluraySupport ? true, libbluray ? null
, bs2bSupport ? true, libbs2b ? null
, cacaSupport ? true, libcaca ? null
, cmsSupport ? true, lcms2 ? null
, drmSupport ? stdenv.isLinux, libdrm ? null
, dvdnavSupport ? stdenv.isLinux, libdvdnav ? null
, dvdreadSupport ? stdenv.isLinux, libdvdread ? null
, libpngSupport ? true, libpng ? null
, pulseSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio ? null
, rubberbandSupport ? stdenv.isLinux, rubberband ? null
, rubberbandSupport ? stdenv.isLinux, rubberband ? null
, screenSaverSupport ? true, libXScrnSaver ? null
, sambaSupport ? true, samba ? null
, sdl2Support ? true, SDL2 ? null
, sndioSupport ? true, sndio ? null
, speexSupport ? true, speex ? null
, theoraSupport ? true, libtheora ? null
, vaapiSupport ? stdenv.isLinux, libva ? null
, vaapiSupport ? stdenv.isLinux, libva ? null
, vdpauSupport ? true, libvdpau ? null
, xineramaSupport ? stdenv.isLinux, libXinerama ? null
, xvSupport ? stdenv.isLinux, libXv ? null
, youtubeSupport ? true, youtube-dl ? null
, zimgSupport ? true, zimg ? null
, archiveSupport ? false, libarchive ? null
, jackaudioSupport ? false, libjack2 ? null
, openalSupport ? false, openalSoft ? null
@@ -60,28 +66,31 @@ assert archiveSupport -> available libarchive;
assert bluraySupport -> available libbluray;
assert bs2bSupport -> available libbs2b;
assert cacaSupport -> available libcaca;
assert cddaSupport -> all available [libcdio libcdio-paranoia];
assert cddaSupport -> all available [ libcdio libcdio-paranoia ];
assert cmsSupport -> available lcms2;
assert drmSupport -> available libdrm;
assert drmSupport -> all available [ libdrm mesa ];
assert dvdnavSupport -> available libdvdnav;
assert dvdreadSupport -> available libdvdread;
assert jackaudioSupport -> available libjack2;
assert libpngSupport -> available libpng;
assert openalSupport -> available openalSoft;
assert pulseSupport -> available libpulseaudio;
assert rubberbandSupport -> available rubberband;
assert screenSaverSupport -> available libXScrnSaver;
assert sambaSupport -> available samba;
assert sdl2Support -> available SDL2;
assert sndioSupport -> available sndio;
assert speexSupport -> available speex;
assert theoraSupport -> available libtheora;
assert vaapiSupport -> available libva;
assert vapoursynthSupport -> available vapoursynth;
assert vdpauSupport -> available libvdpau;
assert vulkanSupport -> all available [ libplacebo shaderc vulkan-headers vulkan-loader ];
assert waylandSupport -> all available [ wayland wayland-protocols libxkbcommon ];
assert x11Support -> all available [ libGLU_combined libX11 libXext libXxf86vm libXrandr ];
assert xineramaSupport -> x11Support && available libXinerama;
assert xvSupport -> x11Support && available libXv;
assert youtubeSupport -> available youtube-dl;
assert zimgSupport -> available zimg;

let
# Purity: Waf is normally downloaded by bootstrap.py, but
@@ -92,17 +101,17 @@ let
"http://www.freehackers.org/~tnagy/release/waf-${wafVersion}" ];
sha256 = "0j7sbn3w6bgslvwwh5v9527w3gi2sd08kskrgxamx693y0b0i3ia";
};
luaEnv = lua.withPackages(ps: with ps; [ luasocket ]);
luaEnv = lua.withPackages (ps: with ps; [ luasocket ]);

in stdenv.mkDerivation rec {
pname = "mpv";
version = "0.29.1";
version = "0.30.0";

src = fetchFromGitHub {
owner = "mpv-player";
repo = "mpv";
owner = "mpv-player";
repo = "mpv";
rev = "v${version}";
sha256 = "138921kx8g6qprim558xin09xximjhsj9ss8b71ifg2m6kclym8m";
sha256 = "17mxjgcfljlv6h0ik3332xsqbs0ybvk6dkwflyl0cjh15vl1iv6f";
};

postPatch = ''
@@ -115,16 +124,17 @@ in stdenv.mkDerivation rec {
configureFlags = [
"--enable-libmpv-shared"
"--enable-manpage-build"
"--enable-zsh-comp"
"--disable-libmpv-static"
"--disable-static-build"
"--disable-build-date" # Purity
"--disable-macos-cocoa-cb" # Disable whilst Swift isn't supported
(enableFeature archiveSupport "libarchive")
(enableFeature cddaSupport "cdda")
(enableFeature dvdnavSupport "dvdnav")
(enableFeature dvdreadSupport "dvdread")
(enableFeature openalSupport "openal")
(enableFeature sambaSupport "libsmbclient")
(enableFeature sdl2Support "sdl2")
(enableFeature sndioSupport "sndio")
(enableFeature vaapiSupport "vaapi")
(enableFeature waylandSupport "wayland")
(enableFeature stdenv.isLinux "dvbin")
@@ -147,15 +157,15 @@ in stdenv.mkDerivation rec {
++ optional bs2bSupport libbs2b
++ optional cacaSupport libcaca
++ optional cmsSupport lcms2
++ optional drmSupport libdrm
++ optional dvdreadSupport libdvdread
++ optional jackaudioSupport libjack2
++ optional libpngSupport libpng
++ optional openalSupport openalSoft
++ optional pulseSupport libpulseaudio
++ optional rubberbandSupport rubberband
++ optional sambaSupport samba
++ optional screenSaverSupport libXScrnSaver
++ optional sdl2Support SDL2
++ optional sndioSupport sndio
++ optional speexSupport speex
++ optional theoraSupport libtheora
++ optional vaapiSupport libva
@@ -164,13 +174,15 @@ in stdenv.mkDerivation rec {
++ optional xineramaSupport libXinerama
++ optional xvSupport libXv
++ optional youtubeSupport youtube-dl
++ optional zimgSupport zimg
++ optional stdenv.isDarwin libiconv
++ optional stdenv.isLinux nv-codec-headers
++ optionals cddaSupport [ libcdio libcdio-paranoia ]
++ optionals drmSupport [ libdrm mesa ]
++ optionals dvdnavSupport [ libdvdnav libdvdnav.libdvdread ]
++ optionals waylandSupport [ wayland wayland-protocols libxkbcommon ]
++ optionals x11Support [ libX11 libXext libGLU_combined libXxf86vm libXrandr ]
++ optionals vulkanSupport [ shaderc vulkan-headers vulkan-loader ]
++ optionals vulkanSupport [ libplacebo shaderc vulkan-headers vulkan-loader ]
++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
CoreFoundation Cocoa CoreAudio
]);
4 changes: 2 additions & 2 deletions pkgs/development/libraries/tbb/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

with stdenv.lib; stdenv.mkDerivation rec {
pname = "tbb";
version = "2019_U8";
version = "2019_U9";

src = fetchFromGitHub {
owner = "01org";
repo = "tbb";
rev = version;
sha256 = "0z0kh1a5g28gckcxlv3x7qqskh5fsl8knf2ypbbvk7z9ln9k3wfq";
sha256 = "1a39nflw7b2n51jfp3fdprnkpgzaspzww1dckfvaigflfli9s8rj";
};

makeFlags = concatStringsSep " " (
78 changes: 78 additions & 0 deletions pkgs/games/shattered-pixel-dungeon/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{ stdenv
, fetchurl
, makeWrapper
, fetchFromGitHub
, gradle_5
, perl
, jre
, xorg
, openal
}:

let
pname = "shattered-pixel-dungeon";
version = "0.7.4c";

src = fetchFromGitHub {
owner = "00-Evan";
repo = "shattered-pixel-dungeon-gdx";
rev = "v${version}";
sha256 = "0bsr8fnc4pips0dbpizzp347nr875b14vkh4jkgnsv03myq2nva4";
};

postPatch = ''
# disable gradle plugins with native code and their targets
perl -i.bak1 -pe "s#(^\s*id '.+' version '.+'$)#// \1#" build.gradle
perl -i.bak2 -pe "s#(.*)#// \1# if /^(buildscript|task portable|task nsis|task proguard|task tgz|task\(afterEclipseImport\)|launch4j|macAppBundle|buildRpm|buildDeb|shadowJar)/ ... /^}/" build.gradle
'';

# fake build to pre-download deps into fixed-output derivation
deps = stdenv.mkDerivation {
pname = "${pname}-deps";
inherit version src postPatch;
nativeBuildInputs = [ gradle_5 perl ];
buildPhase = ''
export GRADLE_USER_HOME=$(mktemp -d)
gradle --no-daemon desktop:dist
'';
# perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar)
installPhase = ''
find $GRADLE_USER_HOME/caches/modules-2 -type f -regex '.*\.\(jar\|pom\)' \
| perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \
| sh
'';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "1xi0km54rhlfsis50j1v5pqs6fr36dqkmqgvk0j7qyij7i6qjrnj";
};

in stdenv.mkDerivation rec {
inherit pname version src postPatch;

nativeBuildInputs = [ gradle_5 perl makeWrapper ];

buildPhase = ''
export GRADLE_USER_HOME=$(mktemp -d)
# point to offline repo
sed -ie "s#mavenLocal()#mavenLocal(); maven { url '${deps}' }#g" build.gradle
gradle --offline --no-daemon desktop:dist
'';

installPhase = ''
install -Dm644 desktop/build/libs/desktop-${version}.jar $out/share/shattered-pixel-dungeon.jar
mkdir $out/bin
makeWrapper ${jre}/bin/java $out/bin/shattered-pixel-dungeon \
--prefix LD_LIBRARY_PATH : ${xorg.libXxf86vm}/lib:${openal}/lib \
--add-flags "-jar $out/share/shattered-pixel-dungeon.jar"
'';

meta = with stdenv.lib; {
homepage = "https://shatteredpixel.com/";
downloadPage = "https://github.com/00-Evan/shattered-pixel-dungeon-gdx/releases";
description = "Traditional roguelike game with pixel-art graphics and simple interface";
license = licenses.gpl3;
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}

10 changes: 3 additions & 7 deletions pkgs/misc/emulators/epsxe/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, alsaLib, curl, gdk-pixbuf, glib, gtk3, libGLU_combined,
libX11, openssl, ncurses5, SDL, SDL_ttf, unzip, zlib, wrapGAppsHook }:
libX11, openssl_1_0_2, ncurses5, SDL, SDL_ttf, unzip, zlib, wrapGAppsHook, autoPatchelfHook }:

with stdenv.lib;

@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
else "1677lclam557kp8jwvchdrk27zfj50fqx2q9i3bcx26d9k61q3kl";
};

nativeBuildInputs = [ unzip wrapGAppsHook ];
nativeBuildInputs = [ unzip wrapGAppsHook autoPatchelfHook ];
sourceRoot = ".";

buildInputs = [
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
gtk3
libX11
libGLU_combined
openssl
openssl_1_0_2
ncurses5
SDL
SDL_ttf
@@ -40,10 +40,6 @@ stdenv.mkDerivation rec {

installPhase = ''
install -D ${if stdenv.is64bit then "epsxe_x64" else "ePSXe"} $out/bin/epsxe
patchelf \
--set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) \
--set-rpath ${makeLibraryPath buildInputs} \
$out/bin/epsxe
'';

meta = {
18 changes: 9 additions & 9 deletions pkgs/os-specific/linux/lm-sensors/default.nix
Original file line number Diff line number Diff line change
@@ -6,26 +6,26 @@ assert sensord -> rrdtool != null;

stdenv.mkDerivation rec {
pname = "lm-sensors";
version = "3.5.0";
version = "3.6.0";
dashedVersion = stdenv.lib.replaceStrings ["."] ["-"] version;

src = fetchzip {
url = "https://github.com/lm-sensors/lm-sensors/archive/V${stdenv.lib.replaceStrings ["."] ["-"] version}.tar.gz";
sha256 = "1mdrnb9r01z1xfdm6dpkywvf9yy9a4yzb59paih9sijwmigv19fj";
url = "https://github.com/lm-sensors/lm-sensors/archive/V${dashedVersion}.tar.gz";
sha256 = "1ipf6wjx037sqyhy0r5jh4983h216anq9l68ckn2x5c3qc4wfmzn";
};

nativeBuildInputs = [ bison flex which ];
buildInputs = [ perl ]
++ stdenv.lib.optional sensord rrdtool;

preBuild = ''
makeFlagsArray=(PREFIX=$out ETCDIR=$out/etc
${stdenv.lib.optionalString sensord "PROG_EXTRA=sensord"})
'';
makeFlags = [ "PREFIX=${placeholder "out"}" "ETCDIR=${placeholder "out"}/etc" ]
++ stdenv.lib.optional sensord "PROG_EXTRA=sensord";

meta = with stdenv.lib; {
homepage = https://hwmon.wiki.kernel.org/lm_sensors;
homepage = "https://hwmon.wiki.kernel.org/lm_sensors";
changelog = "https://raw.githubusercontent.com/lm-sensors/lm-sensors/V${dashedVersion}/CHANGES";
description = "Tools for reading hardware sensors";
license = with licenses; [ gpl2Plus lgpl21Plus ];
license = with licenses; [ lgpl21Plus gpl2Plus ];
platforms = platforms.linux;
};
}
Loading