Merge master into staging-next

This commit is contained in:
Frederik Rietdijk 2019-04-07 15:14:52 +02:00
commit 7f7da0a16f
76 changed files with 362 additions and 213 deletions

View File

@ -32,7 +32,7 @@ let
cd ${pkgs.nextcloud} cd ${pkgs.nextcloud}
exec /run/wrappers/bin/sudo -u nextcloud \ exec /run/wrappers/bin/sudo -u nextcloud \
NEXTCLOUD_CONFIG_DIR="${cfg.home}/config" \ NEXTCLOUD_CONFIG_DIR="${cfg.home}/config" \
${config.services.phpfpm.phpPackage}/bin/php \ ${phpPackage}/bin/php \
-c ${pkgs.writeText "php.ini" phpOptionsStr}\ -c ${pkgs.writeText "php.ini" phpOptionsStr}\
occ $* occ $*
''; '';
@ -360,7 +360,7 @@ in {
environment.NEXTCLOUD_CONFIG_DIR = "${cfg.home}/config"; environment.NEXTCLOUD_CONFIG_DIR = "${cfg.home}/config";
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
serviceConfig.User = "nextcloud"; serviceConfig.User = "nextcloud";
serviceConfig.ExecStart = "${pkgs.php}/bin/php -f ${pkgs.nextcloud}/cron.php"; serviceConfig.ExecStart = "${phpPackage}/bin/php -f ${pkgs.nextcloud}/cron.php";
}; };
}; };

View File

@ -1,14 +1,14 @@
{ stdenv, fetchurl, pkgconfig, alsaLib, libjack2, dbus, qtbase, qttools, qtx11extras }: { stdenv, fetchurl, pkgconfig, alsaLib, libjack2, dbus, qtbase, qttools, qtx11extras }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.5.5"; version = "0.5.6";
name = "qjackctl-${version}"; name = "qjackctl-${version}";
# some dependencies such as killall have to be installed additionally # some dependencies such as killall have to be installed additionally
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/qjackctl/${name}.tar.gz"; url = "mirror://sourceforge/qjackctl/${name}.tar.gz";
sha256 = "1rzzqa39a6llr52vjkjr0a86nc776kmr5xs52qqga8ms9697psz5"; sha256 = "0wlmbb9m7cf3wr7c2h2hji18592x2b119m7mx85wksjs6rjaq2mj";
}; };
buildInputs = [ buildInputs = [

View File

@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, qt5, alsaLib, libjack2 }: { stdenv, fetchurl, pkgconfig, qt5, alsaLib, libjack2 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.5.2"; version = "0.5.3";
name = "qmidinet-${version}"; name = "qmidinet-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/qmidinet/${name}.tar.gz"; url = "mirror://sourceforge/qmidinet/${name}.tar.gz";
sha256 = "0y2w3rymvc35r291sp2qaxn36wjwvxzk2iaw9y30q9fqc0vlpdns"; sha256 = "0li6iz1anm8pzz7j12yrfyxlyslsfsksmz0kk0iapa4yx3kifn10";
}; };
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];

View File

@ -3,11 +3,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "qsampler-${version}"; name = "qsampler-${version}";
version = "0.5.3"; version = "0.5.4";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/qsampler/${name}.tar.gz"; url = "mirror://sourceforge/qsampler/${name}.tar.gz";
sha256 = "02xazvz8iaksglbgq3jhw4fq3f5pdcq9sss79jxs082md0mry17d"; sha256 = "1hk0j63zzdyji5dd89spbyw79i74n28zjryyy0a4gsaq0m7j2dry";
}; };
nativeBuildInputs = [ autoconf automake libtool pkgconfig qttools ]; nativeBuildInputs = [ autoconf automake libtool pkgconfig qttools ];

View File

@ -4,11 +4,11 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "traverso-${version}"; name = "traverso-${version}";
version = "0.49.5"; version = "0.49.6";
src = fetchurl { src = fetchurl {
url = "http://traverso-daw.org/traverso-0.49.5.tar.gz"; url = "http://traverso-daw.org/traverso-0.49.6.tar.gz";
sha256 = "169dsqrf807ciavrd82d3iil0xy0r3i1js08xshcrn80ws9hv63m"; sha256 = "12f7x8kw4fw1j0xkwjrp54cy4cv1ql0zwz2ba5arclk4pf6bhl7q";
}; };
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];

View File

@ -1,8 +1,8 @@
{ stdenv, appimage-run, fetchurl }: { stdenv, appimage-run, fetchurl, gsettings-desktop-schemas, gtk3, gobject-introspection, wrapGAppsHook }:
let let
version = "1.0.140"; version = "1.0.142";
sha256 = "1114v141jayqhvkkxf7dr864j09nf5nz002c7z0pprzr00fifqzx"; sha256 = "0k7lnv3qqz17a2a2d431sic3ggi3373r5k0kwxm4017ama7d72m1";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "joplin-${version}"; name = "joplin-${version}";
@ -12,7 +12,8 @@ in
inherit sha256; inherit sha256;
}; };
buildInputs = [ appimage-run ]; nativeBuildInputs = [ wrapGAppsHook ];
buildInputs = [ appimage-run gtk3 gsettings-desktop-schemas gobject-introspection ];
unpackPhase = ":"; unpackPhase = ":";

View File

@ -11,7 +11,7 @@
, hunspell, libevent, libstartup_notification, libvpx , hunspell, libevent, libstartup_notification, libvpx
, icu, libpng, jemalloc, glib , icu, libpng, jemalloc, glib
, autoconf213, which, gnused, cargo, rustc, llvmPackages , autoconf213, which, gnused, cargo, rustc, llvmPackages
, rust-cbindgen, nodejs, nasm , rust-cbindgen, nodejs, nasm, fetchpatch
, debugBuild ? false , debugBuild ? false
### optionals ### optionals
@ -30,11 +30,13 @@
, privacySupport ? isTorBrowserLike || isIceCatLike , privacySupport ? isTorBrowserLike || isIceCatLike
# WARNING: NEVER set any of the options below to `true` by default. # WARNING: NEVER set any of the options below to `true` by default.
# Set to `privacySupport` or `false`. # Set to `!privacySupport` or `false`.
# webrtcSupport breaks the aarch64 build on version >= 60. # webrtcSupport breaks the aarch64 build on version >= 60, fixed in 63.
# https://bugzilla.mozilla.org/show_bug.cgi?id=1434589 # https://bugzilla.mozilla.org/show_bug.cgi?id=1434589
, webrtcSupport ? (if lib.versionAtLeast ffversion "60" && stdenv.isAarch64 then false else !privacySupport) , webrtcSupport ? !privacySupport && (!stdenv.isAarch64 || !(
lib.versionAtLeast ffversion "60" && lib.versionOlder ffversion "63"
))
, geolocationSupport ? !privacySupport , geolocationSupport ? !privacySupport
, googleAPISupport ? geolocationSupport , googleAPISupport ? geolocationSupport
, crashreporterSupport ? false , crashreporterSupport ? false
@ -92,6 +94,15 @@ let
browserPatches = [ browserPatches = [
./env_var_for_system_dir.patch ./env_var_for_system_dir.patch
] ++ lib.optionals (stdenv.isAarch64 && lib.versionAtLeast ffversion "66") [
(fetchpatch {
url = "https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/09c7fa0dc1d87922e3b464c0fa084df1227fca79/extra/firefox/arm.patch";
sha256 = "1vbpih23imhv5r3g21m3m541z08n9n9j1nvmqax76bmyhn7mxp32";
})
(fetchpatch {
url = "https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/09c7fa0dc1d87922e3b464c0fa084df1227fca79/extra/firefox/build-arm-libopus.patch";
sha256 = "1zg56v3lc346fkzcjjx21vjip2s9hb2xw4pvza1dsfdnhsnzppfp";
})
] ++ patches; ] ++ patches;
in in

View File

@ -2,7 +2,7 @@
let let
stableVersion = "2.1.15"; stableVersion = "2.1.15";
previewVersion = "2.2.0a3"; previewVersion = "2.2.0a4";
addVersion = args: addVersion = args:
let version = if args.stable then stableVersion else previewVersion; let version = if args.stable then stableVersion else previewVersion;
branch = if args.stable then "stable" else "preview"; branch = if args.stable then "stable" else "preview";
@ -18,7 +18,7 @@ in {
}; };
guiPreview = mkGui { guiPreview = mkGui {
stable = false; stable = false;
sha256Hash = "110mghkhanz92p8vfzyh4199mnihb24smxsc44a8v534ds6hww74"; sha256Hash = "1a64c314v7mbaiipyap2skqgf69pyp1ld58cn2g3d89w2zrhf5q7";
}; };
serverStable = mkServer { serverStable = mkServer {
@ -27,6 +27,6 @@ in {
}; };
serverPreview = mkServer { serverPreview = mkServer {
stable = false; stable = false;
sha256Hash = "104pvrba7n9gp7mx31xg520cfahcy0vsmbzx23007c50kp0nxc56"; sha256Hash = "1jlz8a34q3s1sz9r6swh3jnlp96602axnvh1byywry5fb9ga8mfy";
}; };
} }

View File

@ -2,10 +2,10 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "jmeter-${version}"; name = "jmeter-${version}";
version = "4.0"; version = "5.1";
src = fetchurl { src = fetchurl {
url = "https://archive.apache.org/dist/jmeter/binaries/apache-${name}.tgz"; url = "https://archive.apache.org/dist/jmeter/binaries/apache-${name}.tgz";
sha256 = "1dvngvi6j8qb6nmf5a3gpi5wxck4xisj41qkrj8sjwb1f8jq6nw4"; sha256 = "04n7srrg47iyrzhskm2w5g8pd8269kjsly5ixsgifl6aqcbvxpcz";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "0wfj9kkhar6jb5639f5wxpwsraxw4v9yzg71rsdidvj5fyncjjq2"; sha256 = "0wfj9kkhar6jb5639f5wxpwsraxw4v9yzg71rsdidvj5fyncjjq2";
}; };
buildInputs = [ libsmbios ]; buildInputs = stdenv.lib.optional (stdenv.hostPlatform.isx86) libsmbios;
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];
autoreconfPhase = '' autoreconfPhase = ''
autoreconf -i -I src/missing/m4 autoreconf -i -I src/missing/m4

View File

@ -1,35 +1,22 @@
{ stdenv, fetchgit, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, qttools, sqlite { stdenv, fetchgit, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, qttools, sqlite
, inotify-tools, makeWrapper, openssl_1_1, pcre, qtwebengine, libsecret, fetchpatch , inotify-tools, makeWrapper, openssl_1_1, pcre, qtwebengine, libsecret, fetchpatch
, libcloudproviders
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "nextcloud-client-${version}"; name = "nextcloud-client-${version}";
version = "2.5.1"; version = "2.5.2";
src = fetchgit { src = fetchgit {
url = "git://github.com/nextcloud/desktop.git"; url = "git://github.com/nextcloud/desktop.git";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "0r6jj3vbmwh7ipv83c8w1b25pbfq3mzrjgcijdw2gwfxwx9pfq7d"; sha256 = "1brpxdgyy742dqw6cyyv2257d6ihwiqhbzfk2hb8zjgbi6p9lhsr";
fetchSubmodules = true; fetchSubmodules = true;
}; };
# Patches contained in next (>2.5.1) release
patches = [
(fetchpatch {
name = "fix-qt-5.12-build";
url = "https://github.com/nextcloud/desktop/commit/071709ab5e3366e867dd0b0ea931aa7d6f80f528.patch";
sha256 = "14k635jwm8hz6i22lz88jj2db8v5czwa3zg0667i4hwhkqqmy61n";
})
(fetchpatch {
name = "fix-qtwebengine-crash";
url = "https://patch-diff.githubusercontent.com/raw/nextcloud/desktop/pull/959.patch";
sha256 = "00qx976az2rb1gwl1rxapm8gqj42yzqp8k2fasn3h7b30lnxdyr0";
})
];
nativeBuildInputs = [ pkgconfig cmake makeWrapper ]; nativeBuildInputs = [ pkgconfig cmake makeWrapper ];
buildInputs = [ qtbase qtwebkit qtkeychain qttools qtwebengine sqlite openssl_1_1.out pcre inotify-tools ]; buildInputs = [ qtbase qtwebkit qtkeychain qttools qtwebengine sqlite openssl_1_1.out pcre inotify-tools libcloudproviders ];
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -9,12 +9,12 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "resilio-sync-${version}"; name = "resilio-sync-${version}";
version = "2.6.2"; version = "2.6.3";
src = fetchurl { src = fetchurl {
url = "https://download-cdn.resilio.com/${version}/linux-${arch}/resilio-sync_${arch}.tar.gz"; url = "https://download-cdn.resilio.com/${version}/linux-${arch}/resilio-sync_${arch}.tar.gz";
sha256 = { sha256 = {
"x86_64-linux" = "0vq8jz4v740zz3pvgqfya8mhy35fh49wpn8d08xjrs5062hl1yc2"; "x86_64-linux" = "114k7dsxn7lzv6mjq9alsqxypvkah4lmjn5w6brbvgd6m6pdwslz";
"i686-linux" = "1gvq29bkdqvbcgnnhl3018h564rswk3r88s33lx5iph1rpxc6v5h"; "i686-linux" = "1gvq29bkdqvbcgnnhl3018h564rswk3r88s33lx5iph1rpxc6v5h";
}.${stdenv.hostPlatform.system}; }.${stdenv.hostPlatform.system};
}; };

View File

@ -3,14 +3,14 @@
let let
common = { stname, target, postInstall ? "" }: common = { stname, target, postInstall ? "" }:
buildGoPackage rec { buildGoPackage rec {
version = "1.1.0"; version = "1.1.1";
name = "${stname}-${version}"; name = "${stname}-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "syncthing"; owner = "syncthing";
repo = "syncthing"; repo = "syncthing";
rev = "v${version}"; rev = "v${version}";
sha256 = "1qmrh3c4p5vxzjqd0zdmvcqffq75gl4qfg0s8qpkgvdc7qrzzi7i"; sha256 = "1nkc4ivc8mg9c1njqlkhb9i5f4c1via1rdqfbhwgkj86s6cnxrg7";
}; };
goPackagePath = "github.com/syncthing/syncthing"; goPackagePath = "github.com/syncthing/syncthing";

View File

@ -392,8 +392,8 @@
fetch = { fetch = {
type = "git"; type = "git";
url = "https://go.googlesource.com/crypto"; url = "https://go.googlesource.com/crypto";
rev = "0fcca4842a8d"; rev = "c2843e01d9a2";
sha256 = "033ghifvrxmqr54nm8gmgxz7qxlqgw9z7z976kp88yf1rmxm2kjr"; sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r";
}; };
} }
{ {
@ -419,8 +419,8 @@
fetch = { fetch = {
type = "git"; type = "git";
url = "https://go.googlesource.com/sys"; url = "https://go.googlesource.com/sys";
rev = "4d1cda033e06"; rev = "d0b11bdaac8a";
sha256 = "1wgaldbnkmh568v8kkgvnmkskaj96fqrbzhx23yji2kh1432q6gh"; sha256 = "18yfsmw622l7gc5sqriv5qmck6903vvhivpzp8i3xfy3z33dybdl";
}; };
} }
{ {

View File

@ -69,6 +69,11 @@ stdenv.mkDerivation rec {
installTargets = [ "install" "install-info" "install-pdf" ]; installTargets = [ "install" "install-info" "install-pdf" ];
# The store path to "which" is baked into src/library/base/R/unix/system.unix.R,
# but Nix cannot detect it as a run-time dependency because the installed file
# is compiled and compressed, which hides the store path.
postInstall = "echo ${which} > $out/nix-support/undetected-runtime-dependencies";
doCheck = true; doCheck = true;
preCheck = "export TZ=CET; bin/Rscript -e 'sessionInfo()'"; preCheck = "export TZ=CET; bin/Rscript -e 'sessionInfo()'";

View File

@ -1,78 +1,55 @@
{ stdenv, fetchurl, fontconfig, libjpeg, libcap, freetype, fribidi, pkgconfig { stdenv, fetchurl, fontconfig, libjpeg, libcap, freetype, fribidi, pkgconfig
, gettext, ncurses, systemd, perl , gettext, systemd, perl, lib
, enableSystemd ? true , enableSystemd ? true
, enableBidi ? true , enableBidi ? true
}: }: stdenv.mkDerivation rec {
let
version = "2.4.0";
name = "vdr-${version}"; name = "vdr-${version}";
version = "2.4.0";
mkPlugin = name: stdenv.mkDerivation { src = fetchurl {
name = "vdr-${name}-${version}"; url = "ftp://ftp.tvdr.de/vdr/${name}.tar.bz2";
inherit (vdr) src; sha256 = "1klcgy9kr7n6z8d2c77j63bl8hvhx5qnqppg73f77004hzz4kbwk";
buildInputs = [ vdr ];
preConfigure = "cd PLUGINS/src/${name}";
installFlags = [ "DESTDIR=$(out)" ];
}; };
vdr = stdenv.mkDerivation { enableParallelBuilding = true;
inherit name; postPatch = "substituteInPlace Makefile --replace libsystemd-daemon libsystemd";
src = fetchurl { buildInputs = [ fontconfig libjpeg libcap freetype ]
url = "ftp://ftp.tvdr.de/vdr/${name}.tar.bz2"; ++ lib.optional enableSystemd systemd
sha256 = "1klcgy9kr7n6z8d2c77j63bl8hvhx5qnqppg73f77004hzz4kbwk"; ++ lib.optional enableBidi fribidi;
};
enableParallelBuilding = true; buildFlags = [ "vdr" "i18n" ]
++ lib.optional enableSystemd "SDNOTIFY=1"
++ lib.optional enableBidi "BIDI=1";
postPatch = "substituteInPlace Makefile --replace libsystemd-daemon libsystemd"; nativeBuildInputs = [ perl ];
buildInputs = [ fontconfig libjpeg libcap freetype ] # plugins uses the same build environment as vdr
++ stdenv.lib.optional enableSystemd systemd propagatedNativeBuildInputs = [ pkgconfig gettext ];
++ stdenv.lib.optional enableBidi fribidi;
buildFlags = [ "vdr" "i18n" ] installFlags = [
++ stdenv.lib.optional enableSystemd "SDNOTIFY=1" "DESTDIR=$(out)"
++ stdenv.lib.optional enableBidi "BIDI=1"; "PREFIX=" # needs to be empty, otherwise plugins try to install at same prefix
];
nativeBuildInputs = [ perl ]; installTargets = [ "install-pc" "install-bin" "install-doc" "install-i18n"
"install-includes" ];
# plugins uses the same build environment as vdr postInstall = ''
propagatedNativeBuildInputs = [ pkgconfig gettext ]; mkdir -p $out/lib/vdr # only needed if vdr is started without any plugin
mkdir -p $out/share/vdr/conf
cp *.conf $out/share/vdr/conf
'';
installFlags = [ outputs = [ "out" "dev" "man" ];
"DESTDIR=$(out)"
"PREFIX=" # needs to be empty, otherwise plugins try to install at same prefix
];
installTargets = [ "install-pc" "install-bin" "install-doc" "install-i18n"
"install-includes" ];
postInstall = ''
mkdir -p $out/lib/vdr # only needed if vdr is started without any plugin
mkdir -p $out/share/vdr/conf
cp *.conf $out/share/vdr/conf
'';
outputs = [ "out" "dev" "man" ];
meta = with stdenv.lib; {
homepage = http://www.tvdr.de/;
description = "Video Disc Recorder";
maintainers = [ maintainers.ck3d ];
platforms = [ "i686-linux" "x86_64-linux" ];
license = licenses.gpl2;
};
meta = with lib; {
homepage = http://www.tvdr.de/;
description = "Video Disc Recorder";
maintainers = [ maintainers.ck3d ];
platforms = [ "i686-linux" "x86_64-linux" ];
license = licenses.gpl2;
}; };
in vdr // {
plugins = {
skincurses = (mkPlugin "skincurses").overrideAttrs(
oldAttr: { buildInputs = oldAttr.buildInputs ++ [ ncurses ]; });
} // (stdenv.lib.genAttrs [
"epgtableid0" "hello" "osddemo" "pictures" "servicedemo" "status" "svdrpdemo"
] mkPlugin);
} }

View File

@ -1,7 +1,24 @@
{ stdenv, fetchurl, fetchgit, vdr, ffmpeg_2, alsaLib, fetchFromGitHub { stdenv, fetchurl, fetchgit, vdr, ffmpeg_2, alsaLib, fetchFromGitHub
, libvdpau, libxcb, xcbutilwm, graphicsmagick, libav, pcre, xorgserver, ffmpeg , libvdpau, libxcb, xcbutilwm, graphicsmagick, libav, pcre, xorgserver, ffmpeg
, libiconv, boost, libgcrypt, perl, utillinux, groff, libva, xorg }: , libiconv, boost, libgcrypt, perl, utillinux, groff, libva, xorg, ncurses }:
{ let
mkPlugin = name: stdenv.mkDerivation {
name = "vdr-${vdr.version}-${name}";
inherit (vdr) src;
buildInputs = [ vdr ];
preConfigure = "cd PLUGINS/src/${name}";
installFlags = [ "DESTDIR=$(out)" ];
};
in {
skincurses = (mkPlugin "skincurses").overrideAttrs(oldAttr: {
buildInputs = oldAttr.buildInputs ++ [ ncurses ];
});
inherit (stdenv.lib.genAttrs [
"epgtableid0" "hello" "osddemo" "pictures" "servicedemo" "status" "svdrpdemo"
] mkPlugin);
femon = stdenv.mkDerivation rec { femon = stdenv.mkDerivation rec {
name = "vdr-femon-2.4.0"; name = "vdr-femon-2.4.0";

View File

@ -77,6 +77,11 @@ stdenv.mkDerivation rec {
./no-etc-install.patch ./no-etc-install.patch
./fix-qemu-ga.patch ./fix-qemu-ga.patch
./9p-ignore-noatime.patch ./9p-ignore-noatime.patch
(fetchpatch {
name = "CVE-2019-3812.patch";
url = "https://git.qemu.org/?p=qemu.git;a=patch;h=b05b267840515730dbf6753495d5b7bd8b04ad1c";
sha256 = "03a5vc5wvirbyi5r8kb2r4m2w6f1zmh9bqsr2psh4pblwar0nf55";
})
] ++ optional nixosTestRunner ./force-uid0-on-9p.patch ] ++ optional nixosTestRunner ./force-uid0-on-9p.patch
++ optional pulseSupport ./fix-hda-recording.patch ++ optional pulseSupport ./fix-hda-recording.patch
++ optionals stdenv.hostPlatform.isMusl [ ++ optionals stdenv.hostPlatform.isMusl [

View File

@ -38,6 +38,7 @@ let
go-dbus-generator = callPackage ./go-dbus-generator { }; go-dbus-generator = callPackage ./go-dbus-generator { };
go-gir-generator = callPackage ./go-gir-generator { }; go-gir-generator = callPackage ./go-gir-generator { };
go-lib = callPackage ./go-lib { }; go-lib = callPackage ./go-lib { };
qcef = callPackage ./qcef { };
qt5dxcb-plugin = callPackage ./qt5dxcb-plugin { }; qt5dxcb-plugin = callPackage ./qt5dxcb-plugin { };
qt5integration = callPackage ./qt5integration { }; qt5integration = callPackage ./qt5integration { };

View File

@ -0,0 +1,104 @@
{ stdenv, fetchFromGitHub, pkgconfig, cmake, qtbase, qttools,
qtwebchannel, qtx11extras, dtkcore, dtkwidget, qt5integration,
libXScrnSaver, gnome2, nss, nspr, alsaLib, atk, cairo, cups, dbus,
expat, fontconfig, gdk_pixbuf, glib, gtk2, libX11, libXcomposite,
libXcursor, libXdamage, libXext, libXfixes, libXi, libXrandr,
libXrender, libXtst, libxcb, pango, pulseaudio, xorg, deepin }:
let
rpahtLibraries = [
stdenv.cc.cc.lib # libstdc++.so.6
alsaLib
atk
cairo
cups
dbus
expat
fontconfig
gdk_pixbuf
glib
gnome2.GConf
gtk2
libxcb
nspr
nss
pango
pulseaudio
xorg.libX11
xorg.libXScrnSaver
xorg.libXcomposite
xorg.libXcursor
xorg.libXdamage
xorg.libXext
xorg.libXfixes
xorg.libXi
xorg.libXrandr
xorg.libXrender
xorg.libXtst
];
libPath = stdenv.lib.makeLibraryPath rpahtLibraries;
in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "qcef";
version = "1.1.4.6";
srcs = [
(fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "06909sd0gf7n4hw6p4j96apjym219zabflgpwjafm7v00bgnwxxs";
name = pname;
})
(fetchFromGitHub {
owner = "linuxdeepin";
repo = "cef-binary";
rev = "059a0c9cef4e289a50dc7a2f4c91fe69db95035e";
sha256 = "1h7cq63n94y2a6fprq4g63admh49rcci7avl5z9kdimkhqb2jb84";
name = "cef-binary";
})
];
sourceRoot = pname;
nativeBuildInputs = [
pkgconfig
cmake
qttools
deepin.setupHook
];
buildInputs = [
qtbase
qtwebchannel
qtx11extras
] ++ rpahtLibraries;
postUnpack = ''
rmdir ${pname}/cef
ln -s ../cef-binary ${pname}/cef
'';
postPatch = ''
searchHardCodedPaths
fixPath $out /usr src/core/qcef_global_settings.{h,cpp}
sed '/COMMAND rm -rf Release Resources/a COMMAND ldd qcef/libcef.so' -i src/CMakeLists.txt
sed '/COMMAND rm -rf Release Resources/a COMMAND patchelf --set-rpath ${libPath} qcef/libcef.so' -i src/CMakeLists.txt
'';
postFixup = ''
searchHardCodedPaths $out
'';
passthru.updateScript = deepin.updateScript { inherit name; };
meta = with stdenv.lib; {
description = "Qt5 binding of Chromium Embedded Framework";
homepage = https://github.com/linuxdeepin/qcef;
license = licenses.lgpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}

View File

@ -1,13 +1,13 @@
{ stdenv, fetchFromGitHub, cmake, zlib, c-ares, pkgconfig, openssl, protobuf, gflags }: { stdenv, fetchFromGitHub, cmake, zlib, c-ares, pkgconfig, openssl, protobuf, gflags }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.18.0"; version = "1.19.0";
name = "grpc-${version}"; name = "grpc-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "grpc"; owner = "grpc";
repo = "grpc"; repo = "grpc";
rev = "v${version}"; rev = "v${version}";
sha256 = "0pf8q1z3qhlljlj6h7isvqvsxhh4612z780xcbv1h9lj7cdpr77m"; sha256 = "105hvpn2z3qiyc01wyzpmfbrpmy20kz1nb9j1c2s0kz1r0v92gqi";
}; };
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ zlib c-ares c-ares.cmake-config openssl protobuf gflags ]; buildInputs = [ zlib c-ares c-ares.cmake-config openssl protobuf gflags ];

View File

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, cmake, ninja, libuuid, gtest }:
stdenv.mkDerivation rec {
pname = "lib3mf";
version = "1.8.1";
src = fetchFromGitHub {
owner = "3MFConsortium";
repo = pname;
rev = "v${version}";
sha256 = "11wpk6n9ga2p57h1dcrp37w77mii0r7r6mlrgmykf7rvii1rzgqd";
};
nativeBuildInputs = [ cmake ninja ];
buildInputs = [ libuuid ];
postPatch = ''
rmdir UnitTests/googletest
ln -s ${gtest.src} UnitTests/googletest
'';
meta = with stdenv.lib; {
description = "Reference implementation of the 3D Manufacturing Format file standard";
homepage = "https://3mf.io/";
license = licenses.bsd2;
maintainers = with maintainers; [ gebner ];
platforms = platforms.all;
};
}

View File

@ -4,13 +4,13 @@
buildDunePackage rec { buildDunePackage rec {
pname = "ppxlib"; pname = "ppxlib";
version = "0.3.1"; version = "0.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ocaml-ppx"; owner = "ocaml-ppx";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0qpjl84x8abq9zivifb0k8ld7fa1lrhkbajmmccvfv06ja3as1v4"; sha256 = "0d2nyp4mlx7m3vdvcdhs51x570vw30j645yfbwlhjpwdd8243fya";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -6,11 +6,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "Wand"; pname = "Wand";
version = "0.5.1"; version = "0.5.2";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "7d6b8dc9d4eaccc430b9c86e6b749013220c994970a3f39e902b397e2fa732c3"; sha256 = "0nvdq15gmkzhwpwkln8wmkq0h4izznnr6zmrnwqza8lsa1c0jz5f";
}; };
postPatch = '' postPatch = ''

View File

@ -4,12 +4,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "click-completion"; pname = "click-completion";
version = "0.5.0"; version = "0.5.1";
disabled = (!isPy3k); disabled = (!isPy3k);
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0k3chs301cnyq2jfl12lih5fa6r06nmxmbyp9dwvjm09v8f2c03n"; sha256 = "1ysn6kzv3fgakn0y06i3cxynd8iaybarrygabk9a0pp2spn2w1vq";
}; };
propagatedBuildInputs = [ click jinja2 shellingham six ]; propagatedBuildInputs = [ click jinja2 shellingham six ];

View File

@ -2,11 +2,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dbf"; pname = "dbf";
version = "0.97.11"; version = "0.98.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "8aa5a73d8b140aa3c511a3b5b204a67d391962e90c66b380dd048fcae6ddbb68"; sha256 = "089h98gpjf9ffxzbkbd9k9wd8n3s7g0nhfpn3rf44h51hllgqxxb";
}; };
propagatedBuildInputs = [ aenum ] ++ stdenv.lib.optional (pythonOlder "3.4") [ enum34 ]; propagatedBuildInputs = [ aenum ] ++ stdenv.lib.optional (pythonOlder "3.4") [ enum34 ];

View File

@ -14,13 +14,13 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.8.9"; version = "0.8.10";
pname = "eyeD3"; pname = "eyeD3";
disabled = isPyPy; disabled = isPyPy;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "b6bb626566f2949da409d7a871576271e2d6254dfb3d416b21713dabc4b6b00f"; sha256 = "1jb22n1jczxgbpcnfiw12r8dcs74556g1d09mzms44f52kgs7lgc";
}; };
# https://github.com/nicfit/eyeD3/pull/284 # https://github.com/nicfit/eyeD3/pull/284

View File

@ -2,13 +2,13 @@
requests, mt-940, sepaxml, bleach, isPy3k }: requests, mt-940, sepaxml, bleach, isPy3k }:
buildPythonPackage rec { buildPythonPackage rec {
version = "2.0.1"; version = "2.1.1";
pname = "fints"; pname = "fints";
disabled = !isPy3k; disabled = !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "27427b5e6536b592f964c464a8f0c75c5725176604e9d0f208772a45918d9b78"; sha256 = "06p6p0xxw0n10hmf7z4k1l29fya0sja433s6lasjr1bal5asdhaq";
}; };
propagatedBuildInputs = [ requests mt-940 sepaxml bleach ]; propagatedBuildInputs = [ requests mt-940 sepaxml bleach ];

View File

@ -6,11 +6,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "Fiona"; pname = "Fiona";
version = "1.8.4"; version = "1.8.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "aec9ab2e3513c9503ec123b1a8573bee55fc6a66e2ac07088c3376bf6738a424"; sha256 = "0gpvdrayam4qvpqvz0911nlyvf7ib3slsyml52qx172vhpldycgs";
}; };
CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11"; CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11";

View File

@ -4,7 +4,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "flask-marshmallow"; pname = "flask-marshmallow";
version = "0.9.0"; version = "0.10.0";
meta = { meta = {
homepage = "https://github.com/marshmallow-code/flask-marshmallow"; homepage = "https://github.com/marshmallow-code/flask-marshmallow";
@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "db7aff4130eb99fd05ab78fd2e2c58843ba0f208899aeb1c14aff9cd98ae8c80"; sha256 = "1xvk289628l3pp56gidwhmd54cgdczpsxhxfw0bfcsd120k1svfv";
}; };
propagatedBuildInputs = [ flask marshmallow ]; propagatedBuildInputs = [ flask marshmallow ];

View File

@ -6,11 +6,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "flexmock"; pname = "flexmock";
version = "0.10.3"; version = "0.10.4";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "031c624pdqm7cc0xh4yz5k69gqxn2bbrjz13s17684q5shn0ik21"; sha256 = "0b6qw3grhgx58kxlkj7mdma7xdvlj02zabvcf7w2qifnfjwwwcsh";
}; };
checkInputs = [ pytest ]; checkInputs = [ pytest ];

View File

@ -19,11 +19,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "fs"; pname = "fs";
version = "2.3.1"; version = "2.4.4";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "6c3f79a16dfcbf8a8f437f81dd8afaa3741285d9369574c48e1d27e40b0c980e"; sha256 = "0krf632nz24v2da7g9xivq6l2w9za3vph4vix7mm1k3byzwjnawk";
}; };
buildInputs = [ glibcLocales ]; buildInputs = [ glibcLocales ];

View File

@ -2,12 +2,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "future-fstrings"; pname = "future-fstrings";
version = "0.4.5"; version = "1.0.0";
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
pname = "future_fstrings"; pname = "future_fstrings";
sha256 = "891c5d5f073b3e3ff686bebde0a4c45c479065f45c8cbd6de19323d5a50738a8"; sha256 = "1pra33in6rinrcs5wvdb1rbxmx223j93ahdwhzwgf7wyfsnjda98";
}; };
# No tests included in Pypi archive # No tests included in Pypi archive

View File

@ -7,11 +7,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "GeoAlchemy2"; pname = "GeoAlchemy2";
version = "0.5.0"; version = "0.6.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "7d66d01af82d22bc37d3ebb1e73713b87ac5e116b3bc82ea4ec0584bbaa89f89"; sha256 = "0bzm9zgz2gfy6smlvdgxnf6y14rfhr4vj3mjfwlxdx2vcfc95hqa";
}; };
propagatedBuildInputs = [ sqlalchemy shapely ]; propagatedBuildInputs = [ sqlalchemy shapely ];

View File

@ -5,12 +5,12 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "1.6.0"; version = "1.6.1";
pname = "gsd"; pname = "gsd";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "845a7fe4fd9776cda1bd66112dc2d788cb5ccf8333a205bd4a32807e57d3c875"; sha256 = "18icw5cbsq4gnhx4vsjwhxzcx11mbnz6kmwgrylkf82m7m1v2921";
}; };
propagatedBuildInputs = [ numpy ]; propagatedBuildInputs = [ numpy ];

View File

@ -9,11 +9,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "influxdb"; pname = "influxdb";
version = "5.2.1"; version = "5.2.2";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1dp3fakzp0fqdajf6xsfmisdwj1avk4lvxjmw5k9wkhdbpi6vnbm"; sha256 = "0hriag4d4gx4bsqisiz29478sj54b215p6xzmshlw6x9af4z5vxg";
}; };
# ImportError: No module named tests # ImportError: No module named tests

View File

@ -9,12 +9,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "j2cli"; pname = "j2cli";
version = "0.3.5.post1"; version = "0.3.6.post1";
disabled = isPy3k; disabled = isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "c0439a79308aae320bfd01d82b56893b02fe461195d8b69b438ba9b333075642"; sha256 = "1j8s09b75w041b2lawjz341ri997n9fnxbd2ipm9czxj6fhj8hi2";
}; };
buildInputs = [ nose ]; buildInputs = [ nose ];

View File

@ -4,11 +4,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "jaraco.itertools"; pname = "jaraco.itertools";
version = "4.4.1"; version = "4.4.2";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "d1380ed961c9a4724f0bcca85d2bffebaa2507adfde535d5ee717441c9105fae"; sha256 = "0zxx8ffk5ycapy2d41dfgzskl5jfwjc10hsd91jsrax5alkhrh7x";
}; };
patches = [ ./0001-Don-t-run-flake8-checks-during-the-build.patch ]; patches = [ ./0001-Don-t-run-flake8-checks-during-the-build.patch ];

View File

@ -10,12 +10,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "jupyterlab_server"; pname = "jupyterlab_server";
version = "0.2.0"; version = "0.3.0";
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.5";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "72d916a73957a880cdb885def6d8664a6d1b2760ef5dca5ad665aa1e8d1bb783"; sha256 = "13b728z5ls0g3p1gq5hvfqg7302clxna5grvgjfwbfzss0avlpjc";
}; };
checkInputs = [ requests pytest ]; checkInputs = [ requests pytest ];

View File

@ -1,12 +1,12 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, six, mock }: { stdenv, buildPythonPackage, fetchPypi, pytest, six, mock }:
buildPythonPackage rec { buildPythonPackage rec {
version = "1.4.4"; version = "1.4.5";
pname = "kafka-python"; pname = "kafka-python";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1p9sr9vl96xz8qrgdrjiql9qkch2qx29pkq7igk28clgc6zbn510"; sha256 = "01jlklfgvggkyq5yj0zhk46xv91jhha2cshq8kbxv9f7043c201i";
}; };
checkInputs = [ pytest six mock ]; checkInputs = [ pytest six mock ];

View File

@ -6,11 +6,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "limnoria"; pname = "limnoria";
version = "2018.12.19"; version = "2019.02.23";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "6034e324b3a455f042975006a35dd33fa9175115c7302cb53ca9a646f6594bfc"; sha256 = "0rlv9l1w80n2jpw2yy1g6x83rvldwzkmkafdalxkar32czbi2xv4";
}; };
patchPhase = '' patchPhase = ''

View File

@ -2,14 +2,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "mail-parser"; pname = "mail-parser";
version = "3.9.2"; version = "3.9.3";
# no tests in PyPI tarball # no tests in PyPI tarball
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "SpamScope"; owner = "SpamScope";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0f515a8r3qz3i2cm4lvs5aw59193jl9mk7bmaj9545n4miyar4nr"; sha256 = "0v6hgsz6yvp6csgx4y440ksqj24rdsd06vyfqcihiy3dfvp9229y";
}; };
LC_ALL = "en_US.utf-8"; LC_ALL = "en_US.utf-8";

View File

@ -4,7 +4,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "marshmallow-sqlalchemy"; pname = "marshmallow-sqlalchemy";
version = "0.16.0"; version = "0.16.1";
meta = { meta = {
homepage = "https://github.com/marshmallow-code/marshmallow-sqlalchemy"; homepage = "https://github.com/marshmallow-code/marshmallow-sqlalchemy";
@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "c99d51bb4dfca7e1b35ae12ed96746c0df0464b7eb95bba6835a1231e6ea286c"; sha256 = "0dv9imc41xg0k9xv0fb8ygfip7iznsnf8g33z74zz2bf1dbhricr";
}; };
propagatedBuildInputs = [ marshmallow sqlalchemy ]; propagatedBuildInputs = [ marshmallow sqlalchemy ];

View File

@ -7,12 +7,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "mechanize"; pname = "mechanize";
version = "0.4.0"; version = "0.4.1";
disabled = isPy3k; disabled = isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "15g58z3hy1pgi5sygpif28jyqj79iz4vw2mh5nxdydl4w20micvf"; sha256 = "1fl6zb36cqsdiay1mn3nmjv5jw4jys5av7hb1y9995qlycg0hm49";
}; };
propagatedBuildInputs = [ html5lib ]; propagatedBuildInputs = [ html5lib ];

View File

@ -3,13 +3,13 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "netCDF4"; pname = "netCDF4";
version = "1.4.2"; version = "1.5.0";
disabled = isPyPy; disabled = isPyPy;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0c0sklgrmv15ygliin8qq0hp7vanmbi74m6zpi0r1ksr0hssyd5r"; sha256 = "1nf0cjja94zsfbp8dw83b36c4cmz9v4b0h51yh8g3q2z9w8d2n62";
}; };
checkInputs = [ pytest ]; checkInputs = [ pytest ];

View File

@ -13,13 +13,13 @@ let
# Therefore we create a separate env for it. # Therefore we create a separate env for it.
scons = pkgs.python27.withPackages(ps: [ pkgs.scons ]); scons = pkgs.python27.withPackages(ps: [ pkgs.scons ]);
in buildPythonPackage rec { in buildPythonPackage rec {
version = "0.6.1.1"; version = "0.6.2";
pname = "Nuitka"; pname = "Nuitka";
# Latest version is not yet on PyPi # Latest version is not yet on PyPi
src = fetchurl { src = fetchurl {
url = "https://github.com/kayhayen/Nuitka/archive/${version}.tar.gz"; url = "https://github.com/kayhayen/Nuitka/archive/${version}.tar.gz";
sha256 = "0dlhbgn90nj110kmylyrzxd301611g63ynbpm5dfsb09s9c569zm"; sha256 = "04qmk1diplpvcdmk0clbsy0mdg04pkmgjjysz31g82v477if9m54";
}; };
checkInputs = [ vmprof pyqt4 ]; checkInputs = [ vmprof pyqt4 ];

View File

@ -5,11 +5,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pex"; pname = "pex";
version = "1.6.2"; version = "1.6.3";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "724588ce982222a3020ad3de50e0912915815175771b35e59fe06fdf1db35415"; sha256 = "1xb68q4rdi0is22cwvrfk1xwg6yngdxcvmjpdlkgmbdxf3y1sy33";
}; };
prePatch = '' prePatch = ''

View File

@ -2,11 +2,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "phonenumbers"; pname = "phonenumbers";
version = "8.10.6"; version = "8.10.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "2fe47dbf947cc74643ef1a49411466483d1165ced2b62578a14b513dd09642a9"; sha256 = "1ka7fnlvmvmw984k89mlkdlwbnnyap186a1yfnykx833bp364yg2";
}; };
meta = { meta = {

View File

@ -13,11 +13,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pika"; pname = "pika";
version = "0.13.0"; version = "1.0.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1104b0jm7qs9b211hw6siddflvf56ag4lfsjy6yfbczds4lxhf2k"; sha256 = "119lpjzw8wd7c6ikn35c0pvr3zzfy20rklpxdkcmp12wnf9i597v";
}; };
# Tests require twisted which is only availalble for python-2.x # Tests require twisted which is only availalble for python-2.x

View File

@ -11,11 +11,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "plotly"; pname = "plotly";
version = "3.6.1"; version = "3.7.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "3cfc53346fa5c32432f13b0c20c272f9cf48f9af9c15f8f77745fb602c12bd91"; sha256 = "1gad00c0p56zvmk2yzy03m0f3fcq67q9kdgdfxph2aw905mkwddc";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -5,11 +5,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "portpicker"; pname = "portpicker";
version = "1.3.0"; version = "1.3.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "19c0f950x544ndsdkfhga58x69iiin2vqiz59pqn9mymk2vrlpkg"; sha256 = "0rwn5ca7ns3yh6bp785zdd2l4018ccpd5i0m2d1fsd9nhxvcgkfj";
}; };
meta = { meta = {

View File

@ -16,11 +16,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "progressbar2"; pname = "progressbar2";
version = "3.39.2"; version = "3.39.3";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "6eb5135b987caca4212d2c7abc2923d4ad5ba18bb34ccbe7044b3628f52efc2c"; sha256 = "0fgy4327xzn232br4as74r6ddg5v6ycmfwga7xybp4s1w0cm8nwf";
}; };
postPatch = '' postPatch = ''

View File

@ -16,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyopencl"; pname = "pyopencl";
version = "2018.2.3"; version = "2018.2.5";
checkInputs = [ pytest ]; checkInputs = [ pytest ];
buildInputs = [ opencl-headers ocl-icd pybind11 ]; buildInputs = [ opencl-headers ocl-icd pybind11 ];
@ -25,7 +25,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "ebefe9505cad970dfb4c8024630ef5a546c68d22943dbb3e5677943a6d006ac6"; sha256 = "1qgi6diw9m7yldmql9kh08792053ib6zkplh8v2mqv6waaflmrnn";
}; };
# py.test is not needed during runtime, so remove it from `install_requires` # py.test is not needed during runtime, so remove it from `install_requires`

View File

@ -7,11 +7,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytest-tornado"; pname = "pytest-tornado";
version = "0.5.0"; version = "0.6.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "214fc59d06fb81696fce3028b56dff522168ac1cfc784cfc0077b7b1e425b4cd"; sha256 = "0ndwjsad901km7zw8xxj3igjff651hg1pjcmv5vqx458xhnmbfqw";
}; };
# package has no tests # package has no tests

View File

@ -6,11 +6,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyviz_comms"; pname = "pyviz_comms";
version = "0.7.0"; version = "0.7.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "7ad4ff0c2166f0296ee070049ce21341f868f907003714eb6eaf1630ea8e241a"; sha256 = "045bjs8na3q0fy8zzq4pghyz05d9aid1lcv11992f62z2jrf6m2q";
}; };
propagatedBuildInputs = [ param ]; propagatedBuildInputs = [ param ];

View File

@ -2,11 +2,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "QtPy"; pname = "QtPy";
version = "1.6.0"; version = "1.7.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "fd5c09655e58bf3a013d2940e71f069732ed67f056d4dcb2b0609a3ecd9b320f"; sha256 = "0gjg7farw6mkmrwqcg6ms7j74g8py2msvawddji4wy8yfvql1ifl";
}; };
# no concrete propagatedBuildInputs as multiple backends are supposed # no concrete propagatedBuildInputs as multiple backends are supposed

View File

@ -6,14 +6,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "rasterio"; pname = "rasterio";
version = "1.0.18"; version = "1.0.22";
# Pypi doesn't ship the tests, so we fetch directly from GitHub # Pypi doesn't ship the tests, so we fetch directly from GitHub
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mapbox"; owner = "mapbox";
repo = "rasterio"; repo = "rasterio";
rev = version; rev = version;
sha256 = "05miivbn2c5slc5nn7fpdn1da42qwzg4z046i71f4r70bc49vsj9"; sha256 = "1gx48qjiahlwflmjlkndp3ricd03jmzfx7i9ffgq7a2i6gcm36zp";
}; };
checkInputs = [ boto3 pytest pytestcov packaging hypothesis ]; checkInputs = [ boto3 pytest pytestcov packaging hypothesis ];

View File

@ -1,11 +1,11 @@
{ stdenv, buildPythonPackage, fetchPypi }: { stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "rjsmin"; pname = "rjsmin";
version = "1.0.12"; version = "1.1.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1wc62d0f80kw1kjv8nlxychh0iy66a6pydi4vfvhh2shffm935fx"; sha256 = "0cmc72rlkvzz8fl89bc83czkx0pcvhzj7yn7m29r8pgnf5fcfpdi";
}; };
# The package does not ship tests, and the setup machinary confuses # The package does not ship tests, and the setup machinary confuses

View File

@ -2,11 +2,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "rope"; pname = "rope";
version = "0.12.0"; version = "0.14.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "031eb54b3eeec89f4304ede816995ed2b93a21e6fba16bd02aff10a0d6c257b7"; sha256 = "1bwayj0hh459s3yh0sdrxksr9wfilgi3a49izfaj06kvgyladif5";
}; };
checkInputs = [ nose ]; checkInputs = [ nose ];

View File

@ -7,11 +7,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "scp"; pname = "scp";
version = "0.13.0"; version = "0.13.2";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "09219c45hafq6pb8z6rsinsfhp3rsx5mr9cgz2099rcs4if2gk6g"; sha256 = "1crlpw9lnn58fs1c1rmh7s7s9y5gkgpgjsqlvg9qa51kq1knx7gg";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -9,11 +9,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "sparse"; pname = "sparse";
version = "0.6.0"; version = "0.7.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "2ac6fcbf68b38b999eae98467cf4880b942c13a72036868f78d65a10aeba808d"; sha256 = "0ija4pl8wg36ldsdv5jmqr5i75qi17vijcwwf2jdn1k15kqg35j4";
}; };
checkInputs = [ pytest ]; checkInputs = [ pytest ];

View File

@ -3,11 +3,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "vega"; pname = "vega";
version = "1.4.0"; version = "2.0.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "cf9701dac0111c09ea009ab06cbb81f27b1d9c23ebf58ebdf08b6994a37f13ac"; sha256 = "097jlh1xarnqmcnym5jkfa6rg2f0i6b17v9pck2242axgyi692rm";
}; };
buildInputs = [ pytest ]; buildInputs = [ pytest ];

View File

@ -9,11 +9,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "xarray"; pname = "xarray";
version = "0.11.3"; version = "0.12.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1pc4p7yxvmhn3x121wgslwclaqnjlx51wxs6ihb4cxynh2vcwgfc"; sha256 = "1wspvvp8hh9ar7pl6w1qhmakajsjsg4cm11pmi4a422jqmid0vw5";
}; };
checkInputs = [ pytest ]; checkInputs = [ pytest ];

View File

@ -23,7 +23,7 @@
, cmake, libssh2, openssl, mysql, darwin, git, perl, pcre, gecode_3, curl , cmake, libssh2, openssl, mysql, darwin, git, perl, pcre, gecode_3, curl
, msgpack, qt59, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem , msgpack, qt59, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem
, cairo, re2, rake, gobject-introspection, gdk_pixbuf, zeromq, czmq, graphicsmagick, libcxx , cairo, re2, rake, gobject-introspection, gdk_pixbuf, zeromq, czmq, graphicsmagick, libcxx
, file, libvirt, glib, vips, taglib , file, libvirt, glib, vips, taglib, libopus
, libselinux ? null, libsepol ? null , libselinux ? null, libsepol ? null
}@args: }@args:
@ -275,6 +275,15 @@ in
] ++ lib.optional stdenv.isDarwin "--with-iconv-dir=${libiconv}"; ] ++ lib.optional stdenv.isDarwin "--with-iconv-dir=${libiconv}";
}; };
opus-ruby = attrs: {
dontBuild = false;
postPatch = ''
substituteInPlace lib/opus-ruby.rb \
--replace "ffi_lib 'opus'" \
"ffi_lib '${libopus}/lib/libopus${stdenv.hostPlatform.extensions.sharedLibrary}'"
'';
};
ovirt-engine-sdk = attrs: { ovirt-engine-sdk = attrs: {
buildInputs = [ curl libxml2 ]; buildInputs = [ curl libxml2 ];
}; };

View File

@ -2,14 +2,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "apktool-${version}"; name = "apktool-${version}";
version = "2.3.4"; version = "2.4.0";
src = fetchurl { src = fetchurl {
urls = [ urls = [
"https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_${version}.jar" "https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_${version}.jar"
"https://github.com/iBotPeaches/Apktool/releases/download/v${version}/apktool_${version}.jar" "https://github.com/iBotPeaches/Apktool/releases/download/v${version}/apktool_${version}.jar"
]; ];
sha256 = "07fwp5sczyivdz37ag9fa258gr9jbz3k3395hp5db7cwizaip2vm"; sha256 = "1hdwgsw3ggmdzv523wq037kjxhxqp1xq8n8m1qb22vvdj7l1dwd0";
}; };
phases = [ "installPhase" ]; phases = [ "installPhase" ];

View File

@ -52,6 +52,6 @@ in stdenv.mkDerivation {
homepage = "https://cr.yp.to/cdb"; homepage = "https://cr.yp.to/cdb";
license = lib.licenses.publicDomain; license = lib.licenses.publicDomain;
maintainers = [ lib.maintainers.Profpatsch ]; maintainers = [ lib.maintainers.Profpatsch ];
platforms = [ lib.platforms.unix ]; platforms = lib.platforms.unix;
}; };
} }

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, zlib, pcre }: { stdenv, fetchurl, zlib, pcre }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tintin-2.01.4"; name = "tintin-2.01.7";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/tintin/${name}.tar.gz"; url = "mirror://sourceforge/tintin/${name}.tar.gz";
sha256 = "1g7bh8xs1ml0iyraps3a3dzaycci922y7fk5j0wyr4ssyjzsy8nx"; sha256 = "033n84pyxml3n3gd4dq0497n9w331bnrr1gppwipz9ashmq8jz7v";
}; };
buildInputs = [ zlib pcre ]; buildInputs = [ zlib pcre ];

View File

@ -6,6 +6,7 @@ buildLinux (args // rec {
version = "4.14.111"; version = "4.14.111";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
# branchVersion needs to be x.y # branchVersion needs to be x.y
extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version))); extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));

View File

@ -6,6 +6,7 @@ buildLinux (args // rec {
version = "4.19.34"; version = "4.19.34";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
# branchVersion needs to be x.y # branchVersion needs to be x.y
extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version))); extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));

View File

@ -6,6 +6,7 @@ buildLinux (args // rec {
version = "5.0.7"; version = "5.0.7";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
# branchVersion needs to be x.y # branchVersion needs to be x.y
extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version))); extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));

View File

@ -48,10 +48,7 @@ ls $NIXPKGS/pkgs/os-specific/linux/kernel | while read FILE; do
sed -i "s/sha256 = \".*\"/sha256 = \"$HASH\"/g" $NIXPKGS/pkgs/os-specific/linux/kernel/$FILE sed -i "s/sha256 = \".*\"/sha256 = \"$HASH\"/g" $NIXPKGS/pkgs/os-specific/linux/kernel/$FILE
# Rewrite the expression # Rewrite the expression
sed -i -e '/version = /d' -e '/modDirVersion = /d' $NIXPKGS/pkgs/os-specific/linux/kernel/$FILE sed -i -e '/version = /d' $NIXPKGS/pkgs/os-specific/linux/kernel/$FILE
if grep -q '^[0-9]\+.[0-9]\+$' <<< "$V"; then
sed -i "\#buildLinux (args // rec {#a \ modDirVersion = \"${V}.0\";" $NIXPKGS/pkgs/os-specific/linux/kernel/$FILE
fi
sed -i "\#buildLinux (args // rec {#a \ version = \"$V\";" $NIXPKGS/pkgs/os-specific/linux/kernel/$FILE sed -i "\#buildLinux (args // rec {#a \ version = \"$V\";" $NIXPKGS/pkgs/os-specific/linux/kernel/$FILE
# Commit the changes # Commit the changes

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "nextcloud-${version}"; name = "nextcloud-${version}";
version = "15.0.5"; version = "15.0.6";
src = fetchurl { src = fetchurl {
url = "https://download.nextcloud.com/server/releases/${name}.tar.bz2"; url = "https://download.nextcloud.com/server/releases/${name}.tar.bz2";
sha256 = "125ra0rdgk17d8s80i54w0s58dqvjgkdpcxbczchqd3sg6dqcqa6"; sha256 = "1k1c0wlrhdpkvwf7iq8yjxd8gqmmj7dyd913rqzrg9jbnvz5jc82";
}; };
installPhase = '' installPhase = ''

View File

@ -10,13 +10,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "vips-${version}"; name = "vips-${version}";
version = "8.7.0"; version = "8.7.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libvips"; owner = "libvips";
repo = "libvips"; repo = "libvips";
rev = "v${version}"; rev = "v${version}";
sha256 = "1dwcpmpqbgb9lkajnqv50mrsn97mxbxpq6b5aya7fgfkgdnrs9sw"; sha256 = "0mcax1qg5i4iqlvgkz3s0c938d7ymx24pv3q2n3w2pjylnnd489s";
}; };
nativeBuildInputs = [ pkgconfig autoreconfHook gtk-doc gobject-introspection ]; nativeBuildInputs = [ pkgconfig autoreconfHook gtk-doc gobject-introspection ];

View File

@ -6,11 +6,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "wget-${version}"; name = "wget-${version}";
version = "1.20.1"; version = "1.20.3";
src = fetchurl { src = fetchurl {
url = "mirror://gnu/wget/${name}.tar.lz"; url = "mirror://gnu/wget/${name}.tar.lz";
sha256 = "0a29qsqxkk8145vkyy35q5a1wc7qzwx3qj3gmfrkmi9xs96yhqqg"; sha256 = "1frajd86ds8vz2hprq30wq8ya89z9dcxnwm8nwk12bbc47l7qq39";
}; };
patches = [ patches = [

View File

@ -2,14 +2,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
version = "5.5.1"; version = "5.6.0";
pname = "link-grammar"; pname = "link-grammar";
outputs = [ "bin" "out" "dev" "man" ]; outputs = [ "bin" "out" "dev" "man" ];
src = fetchurl { src = fetchurl {
url = "http://www.abisource.com/downloads/${pname}/${version}/${name}.tar.gz"; url = "http://www.abisource.com/downloads/${pname}/${version}/${name}.tar.gz";
sha256 = "1x8kj1yr3b7b6qrvc5b8mm90ff3m4qdbdqplvzii2xlkpvik92ff"; sha256 = "0v4hn72npjlcf5aaw3kqmvf05vf15mp2r1s2nbj5ggxpprjj6dsm";
}; };
nativeBuildInputs = [ pkgconfig python3 ]; nativeBuildInputs = [ pkgconfig python3 ];

View File

@ -10763,6 +10763,8 @@ in
lib3ds = callPackage ../development/libraries/lib3ds { }; lib3ds = callPackage ../development/libraries/lib3ds { };
lib3mf = callPackage ../development/libraries/lib3mf { };
libaacs = callPackage ../development/libraries/libaacs { }; libaacs = callPackage ../development/libraries/libaacs { };
libaal = callPackage ../development/libraries/libaal { }; libaal = callPackage ../development/libraries/libaal { };
@ -23568,7 +23570,7 @@ in
ghc-standalone-archive = callPackage ../os-specific/darwin/ghc-standalone-archive { inherit (darwin) cctools; }; ghc-standalone-archive = callPackage ../os-specific/darwin/ghc-standalone-archive { inherit (darwin) cctools; };
vdr = callPackage ../applications/video/vdr { }; vdr = callPackage ../applications/video/vdr { };
vdrPlugins = vdr.plugins // (recurseIntoAttrs (callPackages ../applications/video/vdr/plugins.nix { })); vdrPlugins = recurseIntoAttrs (callPackages ../applications/video/vdr/plugins.nix { });
wrapVdr = callPackage ../applications/video/vdr/wrapper.nix {}; wrapVdr = callPackage ../applications/video/vdr/wrapper.nix {};
chrome-gnome-shell = callPackage ../desktops/gnome-3/extensions/chrome-gnome-shell {}; chrome-gnome-shell = callPackage ../desktops/gnome-3/extensions/chrome-gnome-shell {};