Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge staging-next into staging

+264 -176
+1 -1
nixos/doc/manual/release-notes/rl-1412.xml
··· 17 17 </listitem> 18 18 <listitem> 19 19 <para> 20 - <link xlink:href="http://thread.gmane.org/gmane.linux.distributions.nixos/15165"> 20 + <link xlink:href="https://www.mail-archive.com/nix-dev@lists.science.uu.nl/msg13957.html"> 21 21 Nix has been updated to 1.8.</link> 22 22 </para> 23 23 </listitem>
+2
nixos/modules/services/desktops/geoclue2.nix
··· 61 61 wantedBy = [ "default.target" ]; 62 62 }; 63 63 }; 64 + 65 + environment.etc."geoclue/geoclue.conf".source = "${package}/etc/geoclue/geoclue.conf"; 64 66 }; 65 67 66 68 }
+2 -2
pkgs/applications/editors/eclipse/plugins.nix
··· 555 555 556 556 spotbugs = buildEclipseUpdateSite rec { 557 557 name = "spotbugs-${version}"; 558 - version = "3.1.9"; 558 + version = "3.1.10"; 559 559 560 560 src = fetchzip { 561 561 stripRoot = false; 562 562 url = "https://github.com/spotbugs/spotbugs/releases/download/${version}/eclipsePlugin.zip"; 563 - sha256 = "0m68jbyaiz0rm4qq3nnwnvgndzv2c6ay6i29kh0p0vdbanggq3xz"; 563 + sha256 = "0xrflgw0h05z3za784ach2fx6dh04lgmfr426m1q235vv2ibds5y"; 564 564 }; 565 565 566 566 meta = with stdenv.lib; {
+2 -2
pkgs/applications/misc/girara/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "girara-${version}"; 6 - version = "0.3.1"; 6 + version = "0.3.2"; 7 7 8 8 src = fetchurl { 9 9 url = "https://pwmt.org/projects/girara/download/${name}.tar.xz"; 10 - sha256 = "1ddwap5q5cnfdr1q1b110wy7mw1z3khn86k01jl8lqmn02n9nh1w"; 10 + sha256 = "1kc6n1mxjxa7wvwnqy94qfg8l9jvx9qrvrr2kc7m4g0z20x3a00p"; 11 11 }; 12 12 13 13 nativeBuildInputs = [ meson ninja pkgconfig gettext ];
+2 -2
pkgs/applications/misc/masterpdfeditor/default.nix
··· 1 1 { stdenv, fetchurl, sane-backends, qtbase, qtsvg, nss, autoPatchelfHook, lib, makeWrapper }: 2 2 3 3 let 4 - version = "5.1.60"; 4 + version = "5.2.20"; 5 5 6 6 in stdenv.mkDerivation { 7 7 name = "masterpdfeditor-${version}"; 8 8 9 9 src = fetchurl { 10 10 url = "https://code-industry.net/public/master-pdf-editor-${version}_qt5.amd64.tar.gz"; 11 - sha256 = "0br5f04klzpbd25igbjjj1dqasmrcrw2zsan5bv0ydnr2lmpb2fz"; 11 + sha256 = "1399zv3m7a2rxvmy213f5yii3krsqyahpwdzsw8j535xrb9f3z1m"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
+2 -2
pkgs/applications/networking/instant-messengers/psi-plus/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "psi-plus-${version}"; 8 - version = "1.4.404"; 8 + version = "1.4.504"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "psi-plus"; 12 12 repo = "psi-plus-snapshots"; 13 13 rev = "${version}"; 14 - sha256 = "05dcr1i7ic6nff70w4zfpdcmwf19kkhgxm7mcznmlr484d5i1v2m"; 14 + sha256 = "1nv1ynad2gcn7r8mm2w3kixmahaql7xax1lccsqyxqmj1r0klk8q"; 15 15 }; 16 16 17 17 resources = fetchFromGitHub {
+2 -2
pkgs/applications/office/skrooge/default.nix
··· 7 7 8 8 mkDerivation rec { 9 9 name = "skrooge-${version}"; 10 - version = "2.16.2"; 10 + version = "2.17.0"; 11 11 12 12 src = fetchurl { 13 13 url = "http://download.kde.org/stable/skrooge/${name}.tar.xz"; 14 - sha256 = "0idvqbra8a71jb5kq9y5v377l7k3shf4z7w71apc3rjvb4l0jkhj"; 14 + sha256 = "0v83bcabchsz5fs0iv5i75ps01sga48hq4cx29dajcq3kf9xgwhr"; 15 15 }; 16 16 17 17 nativeBuildInputs = [
+1 -1
pkgs/build-support/fetchgit/nix-prefetch-git
··· 152 152 if "$deepClone"; then 153 153 # The caller explicitly asked for a deep clone. Deep clones 154 154 # allow "git describe" and similar tools to work. See 155 - # http://thread.gmane.org/gmane.linux.distributions.nixos/3569 155 + # https://marc.info/?l=nix-dev&m=139641582514772 156 156 # for a discussion. 157 157 return 1 158 158 fi
+2 -2
pkgs/development/compilers/jsonnet/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "jsonnet-${version}"; 5 - version = "0.11.2"; 5 + version = "0.12.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 rev = "v${version}"; 9 9 owner = "google"; 10 10 repo = "jsonnet"; 11 - sha256 = "05rl5i4g36k2ikxv4sw726mha1qf5bb66wiqpi0s09wj9azm7vym"; 11 + sha256 = "13a0sf1k8ivxhc28w0d0axzr0sj3jccl9sjq6l0dkyzrnmbxzmkb"; 12 12 }; 13 13 14 14 enableParallelBuilding = true;
+2 -2
pkgs/development/interpreters/python/cpython/3.6/default.nix
··· 26 26 27 27 let 28 28 majorVersion = "3.6"; 29 - minorVersion = "7"; 29 + minorVersion = "8"; 30 30 minorVersionSuffix = ""; 31 31 version = "${majorVersion}.${minorVersion}${minorVersionSuffix}"; 32 32 libPrefix = "python${majorVersion}"; ··· 51 51 52 52 src = fetchurl { 53 53 url = "https://www.python.org/ftp/python/${majorVersion}.${minorVersion}/Python-${version}.tar.xz"; 54 - sha256 = "0zgp8nvz3rkiz5cxd42vgpah4rvw3kmg9qz9lfq36rfnm40i9zc1"; 54 + sha256 = "14qi6n5gpcjnwy165wi9hkfcmbadc95ny6bxxldknxwmx50n4i1m"; 55 55 }; 56 56 57 57 NIX_LDFLAGS = optionalString stdenv.isLinux "-lgcc_s";
+2 -2
pkgs/development/interpreters/python/cpython/3.7/default.nix
··· 27 27 28 28 let 29 29 majorVersion = "3.7"; 30 - minorVersion = "1"; 30 + minorVersion = "2"; 31 31 minorVersionSuffix = ""; 32 32 version = "${majorVersion}.${minorVersion}${minorVersionSuffix}"; 33 33 libPrefix = "python${majorVersion}"; ··· 56 56 57 57 src = fetchurl { 58 58 url = "https://www.python.org/ftp/python/${majorVersion}.${minorVersion}/Python-${version}.tar.xz"; 59 - sha256 = "0v9x4h22rh5cwpsq1mwpdi3c9lc9820lzp2nmn9g20llij72nzps"; 59 + sha256 = "1fzi9d2gibh0wzwidyckzbywsxcsbckgsl05ryxlifxia77fhgyq"; 60 60 }; 61 61 62 62 NIX_LDFLAGS = optionalString stdenv.isLinux "-lgcc_s";
+1 -1
pkgs/development/libraries/adns/default.nix
··· 18 18 preConfigure = 19 19 stdenv.lib.optionalString stdenv.isDarwin "sed -i -e 's|-Wl,-soname=$(SHLIBSONAME)||' configure"; 20 20 21 - # http://thread.gmane.org/gmane.linux.distributions.nixos/1328 for details. 21 + # https://www.mail-archive.com/nix-dev@cs.uu.nl/msg01347.html for details. 22 22 doCheck = false; 23 23 24 24 postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
+55
pkgs/development/libraries/geoclue/add-option-for-installation-sysconfdir.patch
··· 1 + --- a/data/meson.build 2 + +++ b/data/meson.build 3 + @@ -7,7 +7,7 @@ 4 + conf.set('demo_agent', '') 5 + endif 6 + 7 + - conf_dir = join_paths(get_option('sysconfdir'), 'geoclue') 8 + + conf_dir = join_paths(sysconfdir_install, 'geoclue') 9 + configure_file(output: 'geoclue.conf', 10 + input: 'geoclue.conf.in', 11 + configuration: conf, 12 + @@ -26,7 +26,7 @@ 13 + # DBus Service policy file 14 + dbus_service_dir = get_option('dbus-sys-dir') 15 + if dbus_service_dir == '' 16 + - dbus_service_dir = join_paths(get_option('sysconfdir'), 'dbus-1', 'system.d') 17 + + dbus_service_dir = join_paths(sysconfdir_install, 'dbus-1', 'system.d') 18 + endif 19 + configure_file(output: 'org.freedesktop.GeoClue2.conf', 20 + input: 'org.freedesktop.GeoClue2.conf.in', 21 + --- a/demo/meson.build 22 + +++ b/demo/meson.build 23 + @@ -56,8 +56,7 @@ 24 + install_dir: desktop_dir) 25 + 26 + # Also install in the autostart directory. 27 + - autostart_dir = join_paths(get_option('prefix'), 28 + - get_option('sysconfdir'), 29 + + autostart_dir = join_paths(sysconfdir_install, 30 + 'xdg', 'autostart') 31 + meson.add_install_script('install-file.py', 32 + desktop_file.full_path(), 33 + --- a/meson.build 34 + +++ b/meson.build 35 + @@ -22,6 +22,11 @@ 36 + datadir = join_paths(get_option('prefix'), get_option('datadir')) 37 + conf.set_quoted('LOCALEDIR', datadir + '/locale') 38 + conf.set_quoted('SYSCONFDIR', get_option('sysconfdir')) 39 + +if get_option('sysconfdir_install') != '' 40 + + sysconfdir_install = join_paths(get_option('prefix'), get_option('sysconfdir_install')) 41 + +else 42 + + sysconfdir_install = get_option('sysconfdir') 43 + +endif 44 + 45 + configure_file(output: 'config.h', configuration : conf) 46 + configinc = include_directories('.') 47 + --- a/meson_options.txt 48 + +++ b/meson_options.txt 49 + @@ -34,3 +34,6 @@ 50 + option('dbus-srv-user', 51 + type: 'string', value: 'root', 52 + description: 'The user (existing) as which the service will run') 53 + +option('sysconfdir_install', 54 + + type: 'string', value: '', 55 + + description: 'sysconfdir to use during installation')
+6
pkgs/development/libraries/geoclue/default.nix
··· 17 17 sha256 = "0vww6irijw5ss7vawkdi5z5wdpcgw4iqljn5vs3vbd4y3d0lzrbs"; 18 18 }; 19 19 20 + patches = [ 21 + ./add-option-for-installation-sysconfdir.patch 22 + ]; 23 + 20 24 outputs = [ "out" "dev" "devdoc" ]; 21 25 22 26 nativeBuildInputs = [ ··· 36 40 mesonFlags = [ 37 41 "-Dsystemd-system-unit-dir=${placeholder "out"}/etc/systemd/system" 38 42 "-Ddemo-agent=${if withDemoAgent then "true" else "false"}" 43 + "--sysconfdir=/etc" 44 + "-Dsysconfdir_install=${placeholder "out"}/etc" 39 45 ] ++ optionals stdenv.isDarwin [ 40 46 "-D3g-source=false" 41 47 "-Dcdma-source=false"
-11
pkgs/development/libraries/gnome-sharp/Makefile.in.patch
··· 1 - --- a/sample/gnomevfs/Makefile.in 2009-03-03 16:09:52.000000000 +0000 2 - +++ b/sample/gnomevfs/Makefile.in 2014-10-14 13:35:51.020427244 +0100 3 - @@ -218,7 +218,7 @@ 4 - 5 - @ENABLE_GNOMEVFS_FALSE@EXTRA_TARGETS = 6 - @ENABLE_GNOMEVFS_TRUE@@ENABLE_MONOGETOPTIONS_FALSE@EXTRA_TARGETS = 7 - -@ENABLE_GNOMEVFS_TRUE@@ENABLE_MONOGETOPTIONS_TRUE@EXTRA_TARGETS = TestXfer.exe 8 - +@ENABLE_GNOMEVFS_TRUE@@ENABLE_MONOGETOPTIONS_TRUE@EXTRA_TARGETS = 9 - assemblies = ../../gnomevfs/gnome-vfs-sharp.dll 10 - references = $(GTKSHARP_LIBS) $(addprefix /r:, $(assemblies)) 11 - noinst_SCRIPTS = $(TARGETS) $(EXTRA_TARGETS)
+27 -9
pkgs/development/libraries/gnome-sharp/default.nix
··· 1 - {stdenv, fetchurl, pkgconfig, gtk2, mono, gtk-sharp-2_0, gnome2}: 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , pkgconfig 5 + , gtk2 6 + , mono 7 + , gtk-sharp-2_0 8 + , gnome2 9 + , autoconf 10 + , automake 11 + , libtool 12 + , which 13 + }: 2 14 3 - stdenv.mkDerivation { 4 - name = "gnome-sharp-2.24.1"; 5 - src = fetchurl { 6 - url = http://ftp.gnome.org/pub/gnome/sources/gnome-sharp/2.24/gnome-sharp-2.24.1.tar.gz; 7 - sha256 = "0cfvs7hw67fp0wimskqd0gdfx323gv6hi0c5pf59krnmhdrl6z8p"; 15 + stdenv.mkDerivation rec { 16 + name = "gnome-sharp-${version}"; 17 + version = "2.24.4"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "mono"; 21 + repo = "gnome-sharp"; 22 + rev = "${version}"; 23 + sha256 = "15jsm6n0sih0nf3w8vmvik97q7l3imz4vkdzmp9k7bssiz4glj1z"; 8 24 }; 9 25 10 - nativeBuildInputs = [ pkgconfig ]; 26 + nativeBuildInputs = [ pkgconfig autoconf automake libtool which ]; 11 27 buildInputs = [ gtk2 mono gtk-sharp-2_0 ] 12 - ++ (with gnome2; [ libart_lgpl gnome_vfs libgnome libgnomecanvas libgnomeui]); 28 + ++ (with gnome2; [ libart_lgpl gnome_vfs libgnome libgnomecanvas libgnomeui ]); 13 29 14 - patches = [ ./Makefile.in.patch ]; 30 + preConfigure = '' 31 + ./bootstrap-${lib.versions.majorMinor version} 32 + ''; 15 33 16 34 dontStrip = true; 17 35
+6
pkgs/development/libraries/gtest/default.nix
··· 3 3 name = "gtest-${version}"; 4 4 version = "1.8.1"; 5 5 6 + outputs = [ "out" "dev" ]; 7 + 6 8 src = fetchFromGitHub { 7 9 owner = "google"; 8 10 repo = "googletest"; ··· 11 13 }; 12 14 13 15 nativeBuildInputs = [ cmake ninja ]; 16 + 17 + cmakeFlags = [ 18 + "-DBUILD_SHARED_LIBS=ON" 19 + ]; 14 20 15 21 meta = with stdenv.lib; { 16 22 description = "Google's framework for writing C++ tests";
+29 -13
pkgs/development/libraries/gtk-sharp/2.0.nix
··· 1 - { stdenv, fetchurl, pkgconfig, mono 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , pkgconfig 5 + , mono 2 6 , glib 3 7 , pango 4 8 , gtk2 ··· 12 16 , libgnomeprintui ? null 13 17 , libxml2 14 18 , monoDLLFixer 19 + , autoconf 20 + , automake 21 + , libtool 22 + , which 15 23 }: 16 24 17 - stdenv.mkDerivation { 18 - name = "gtk-sharp-2.12.10"; 25 + stdenv.mkDerivation rec { 26 + name = "gtk-sharp-${version}"; 27 + version = "2.12.45"; 19 28 20 29 builder = ./builder.sh; 21 - src = fetchurl { 22 - url = mirror://gnome/sources/gtk-sharp/2.12/gtk-sharp-2.12.10.tar.gz; 23 - sha256 = "1y55vc2cp4lggmbil2lb28d0gn71iq6wfyja1l9mya5xll8svzwc"; 30 + src = fetchFromGitHub { 31 + owner = "mono"; 32 + repo = "gtk-sharp"; 33 + rev = version; 34 + sha256 = "1vy6yfwkfv6bb45bzf4g6dayiqkvqqvlr02rsnhd10793hlpqlgg"; 24 35 }; 25 36 26 - # patches = [ ./dllmap-glue.patch ]; 27 - 28 - # patch bad usage of glib, which wasn't tolerated anymore 29 - prePatch = '' 30 - for f in glib/glue/{thread,list,slist}.c; do 31 - sed -i 's,#include <glib/.*\.h>,#include <glib.h>,g' "$f" 37 + postInstall = '' 38 + pushd $out/bin 39 + for f in gapi2-* 40 + do 41 + substituteInPlace $f --replace mono ${mono}/bin/mono 32 42 done 43 + popd 33 44 ''; 34 45 35 - nativeBuildInputs = [ pkgconfig ]; 46 + nativeBuildInputs = [ pkgconfig autoconf automake libtool which ]; 47 + 36 48 buildInputs = [ 37 49 mono glib pango gtk2 GConf libglade libgnomecanvas 38 50 libgtkhtml libgnomeui libgnomeprint libgnomeprintui gtkhtml libxml2 39 51 ]; 52 + 53 + preConfigure = '' 54 + ./bootstrap-${lib.versions.majorMinor version} 55 + ''; 40 56 41 57 dontStrip = true; 42 58
+2 -2
pkgs/development/libraries/libhandy/default.nix
··· 6 6 7 7 let 8 8 pname = "libhandy"; 9 - version = "0.0.5"; 9 + version = "0.0.6"; 10 10 in stdenv.mkDerivation rec { 11 11 name = "${pname}-${version}"; 12 12 ··· 18 18 owner = "Librem5"; 19 19 repo = pname; 20 20 rev = "v${version}"; 21 - sha256 = "0h25ckdfx3slc2mn4vi06bhw42nrqpzn75i9d7wby9iq0cl13l08"; 21 + sha256 = "0gmqsxkpi288qjfdczfrbvjqyy9sbn3gligqwgqj27ask95zl1q5"; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/libqmatrixclient/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "libqmatrixclient-${version}"; 6 - version = "0.4.0"; 6 + version = "0.4.1"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "QMatrixClient"; 10 10 repo = "libqmatrixclient"; 11 11 rev = "v${version}"; 12 - sha256 = "1llzqjagvp91kcg26q5c4qw9aaz7wna3rh6k06rc3baivrjqf3cn"; 12 + sha256 = "16hi2xqlb4afspqw31c5w63qp0j4gkd6sl7j637b8cac2yigbbns"; 13 13 }; 14 14 15 15 buildInputs = [ qtbase ];
+17 -11
pkgs/development/libraries/libuchardet/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake }: 1 + { stdenv, fetchurl, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "libuchardet-${version}"; 4 + pname = "uchardet"; 5 + version = "0.0.6"; 5 6 6 - version = "0.0.5"; 7 + outputs = [ "bin" "out" "man" "dev" ]; 7 8 8 - src = fetchFromGitHub { 9 - owner = "BYVoid"; 10 - repo = "uchardet"; 11 - rev = "v${version}"; 12 - sha256 = "0rkym5bhq3hn7623fy0fggw0qaghha71k8bi41ywqd2lchpahrrm"; 9 + src = fetchurl { 10 + url = "https://www.freedesktop.org/software/${pname}/releases/${pname}-${version}.tar.xz"; 11 + sha256 = "0q9c02b6nmw41yfsiqsnphgc3f0yg3fj31wkccp47cmwvy634lc3"; 13 12 }; 14 13 15 14 buildInputs = [ cmake ]; 16 15 17 - doCheck = false; # fails all the tests (ctest) 16 + cmakeFlags = [ 17 + "-DCMAKE_SKIP_BUILD_RPATH=OFF" # for tests 18 + # TODO: move the following to CMake setup hook 19 + "-DCMAKE_INSTALL_BINDIR=${placeholder "bin"}/bin" 20 + "-DCMAKE_INSTALL_MANDIR=${placeholder "man"}/share/man" 21 + ]; 22 + 23 + doCheck = true; 18 24 19 25 meta = with stdenv.lib; { 20 26 description = "Mozilla's Universal Charset Detector C/C++ API"; 21 - homepage = https://www.byvoid.com/zht/project/uchardet; 22 - license = licenses.mpl11; 27 + homepage = https://www.freedesktop.org/wiki/Software/uchardet/; 28 + license = licenses.mpl11; 23 29 maintainers = with maintainers; [ cstrahan ]; 24 30 platforms = with platforms; unix; 25 31 };
+2 -2
pkgs/development/python-modules/buildbot/default.nix
··· 1 1 { stdenv, lib, buildPythonPackage, fetchPypi, makeWrapper, isPy3k, 2 2 python, twisted, jinja2, zope_interface, future, sqlalchemy, 3 3 sqlalchemy_migrate, dateutil, txaio, autobahn, pyjwt, treq, txrequests, 4 - txgithub, pyjade, boto3, moto, mock, lz4, setuptoolsTrial, isort, pylint, 4 + txgithub, pyjade, boto3, moto, mock, python-lz4, setuptoolsTrial, isort, pylint, 5 5 flake8, buildbot-worker, buildbot-pkg, glibcLocales }: 6 6 7 7 let ··· 55 55 boto3 56 56 moto 57 57 mock 58 - lz4 58 + python-lz4 59 59 setuptoolsTrial 60 60 isort 61 61 pylint
+2 -1
pkgs/development/python-modules/goobook/default.nix
··· 4 4 , isPy3k 5 5 , oauth2client 6 6 , gdata 7 + , google_api_python_client 7 8 , simplejson 8 9 , httplib2 9 10 , keyring ··· 21 22 sha256 = "139a98d646d5c5963670944d5cfcc1a107677ee11fa98329221bd600457fda6d"; 22 23 }; 23 24 24 - propagatedBuildInputs = [ oauth2client gdata simplejson httplib2 keyring six rsa ]; 25 + propagatedBuildInputs = [ oauth2client gdata google_api_python_client simplejson httplib2 keyring six rsa ]; 25 26 26 27 preConfigure = '' 27 28 sed -i '/distribute/d' setup.py
+2
pkgs/development/python-modules/jsonrpclib-pelix/default.nix
··· 12 12 sha256 = "14d288d1b3d3273cf96a729dd21a2470851c4962be8509f3dd62f0137ff90339"; 13 13 }; 14 14 15 + doCheck = false; # test_suite="tests" in setup.py but no tests in pypi. 16 + 15 17 meta = with lib; { 16 18 description = "JSON RPC client library - Pelix compatible fork"; 17 19 homepage = https://pypi.python.org/pypi/jsonrpclib-pelix/;
-29
pkgs/development/python-modules/lz4/default.nix
··· 1 - { stdenv 2 - , buildPythonPackage 3 - , fetchPypi 4 - , pytestrunner 5 - , pytest 6 - , psutil 7 - , pkgconfig 8 - , setuptools_scm 9 - }: 10 - 11 - buildPythonPackage rec { 12 - pname = "lz4"; 13 - version = "2.1.2"; 14 - 15 - src = fetchPypi { 16 - inherit pname version; 17 - sha256 = "ec265f7c3fc3df706e9579bde632ceeef9278858d7ae87c376a2954d11e9ea39"; 18 - }; 19 - 20 - buildInputs = [ setuptools_scm pytestrunner pkgconfig ]; 21 - checkInputs = [ pytest psutil ]; 22 - 23 - meta = with stdenv.lib; { 24 - description = "Compression library"; 25 - homepage = https://github.com/python-lz4/python-lz4; 26 - license = licenses.bsd3; 27 - }; 28 - 29 - }
+2 -1
pkgs/development/python-modules/ofxparse/default.nix
··· 3 3 , fetchPypi 4 4 , six 5 5 , beautifulsoup4 6 + , lxml 6 7 }: 7 8 8 9 buildPythonPackage rec { ··· 14 15 sha256 = "d8c81fd5089332106da1a2e8919c412c7c677f08af04d557ca767701a04e0918"; 15 16 }; 16 17 17 - propagatedBuildInputs = [ six beautifulsoup4 ]; 18 + propagatedBuildInputs = [ six beautifulsoup4 lxml ]; 18 19 19 20 meta = with stdenv.lib; { 20 21 homepage = "http://sites.google.com/site/ofxparse";
+4 -3
pkgs/development/python-modules/parsel/default.nix
··· 1 - { stdenv 1 + { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , pytest 5 5 , pytestrunner 6 + , functools32 6 7 , six 7 8 , w3lib 8 9 , lxml ··· 19 20 }; 20 21 21 22 buildInputs = [ pytest pytestrunner ]; 22 - propagatedBuildInputs = [ six w3lib lxml cssselect ]; 23 + propagatedBuildInputs = [ functools32 six w3lib lxml cssselect ]; 23 24 24 25 checkPhase = '' 25 26 py.test 26 27 ''; 27 28 28 - meta = with stdenv.lib; { 29 + meta = with lib; { 29 30 homepage = "https://github.com/scrapy/parsel"; 30 31 description = "Parsel is a library to extract data from HTML and XML using XPath and CSS selectors"; 31 32 license = licenses.bsd3;
+3 -3
pkgs/development/python-modules/python-lz4/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "python-lz4"; 15 - version = "2.1.0"; 15 + version = "2.1.2"; 16 16 17 17 # get full repository inorder to run tests 18 18 src = fetchFromGitHub { 19 19 owner = pname; 20 20 repo = pname; 21 21 rev = "v${version}"; 22 - sha256 = "1vjfplj37jcw1mf8l810dv76dx0raia3ylgyfy7sfsb3g17brjq6"; 22 + sha256 = "1kzzdfkrq9nnlh0wssa6ccncvv0sk4wmhivhgyndjxz6d6przl5d"; 23 23 }; 24 24 25 25 buildInputs = [ setuptools_scm pkgconfig pytestrunner ]; ··· 34 34 meta = { 35 35 description = "LZ4 Bindings for Python"; 36 36 homepage = https://github.com/python-lz4/python-lz4; 37 - license = lib.licenses.bsd0; 37 + license = lib.licenses.bsd3; 38 38 maintainers = with lib.maintainers; [ costrouc ]; 39 39 }; 40 40 }
+32 -11
pkgs/development/python-modules/pytorch/default.nix
··· 1 - { buildPythonPackage, pythonOlder, 1 + { stdenv, fetchurl, buildPythonPackage, pythonOlder, 2 2 cudaSupport ? false, cudatoolkit ? null, cudnn ? null, 3 - fetchFromGitHub, lib, numpy, pyyaml, cffi, typing, cmake, 3 + fetchFromGitHub, lib, numpy, pyyaml, cffi, typing, cmake, hypothesis, numactl, 4 4 linkFarm, symlinkJoin, 5 5 utillinux, which }: 6 6 ··· 25 25 "LD_LIBRARY_PATH=${cudaStub}\${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} "; 26 26 27 27 in buildPythonPackage rec { 28 - version = "0.4.1"; 28 + version = "1.0.0"; 29 29 pname = "pytorch"; 30 30 31 31 src = fetchFromGitHub { ··· 33 33 repo = "pytorch"; 34 34 rev = "v${version}"; 35 35 fetchSubmodules = true; 36 - sha256 = "1cr8h47jxgfar5bamyvlayvqymnb2qvp7rr0ka2d2d4rdldf9lrp"; 36 + sha256 = "076cpbig4sywn9vv674c0xdg832sdrd5pk1d0725pjkm436kpvlm"; 37 37 }; 38 38 39 + patches = 40 + [ # Skips two tests that are only meant to run on multi GPUs 41 + (fetchurl { 42 + url = "https://github.com/pytorch/pytorch/commit/bfa666eb0deebac21b03486e26642fd70d66e478.patch"; 43 + sha256 = "1fgblcj02gjc0y62svwc5gnml879q3x2z7m69c9gax79dpr37s9i"; 44 + }) 45 + ]; 46 + 39 47 preConfigure = lib.optionalString cudaSupport '' 40 48 export CC=${cudatoolkit.cc}/bin/gcc CXX=${cudatoolkit.cc}/bin/g++ 41 49 '' + lib.optionalString (cudaSupport && cudnn != null) '' ··· 58 66 done 59 67 ''; 60 68 69 + # Override the (weirdly) wrong version set by default. See 70 + # https://github.com/NixOS/nixpkgs/pull/52437#issuecomment-449718038 71 + # https://github.com/pytorch/pytorch/blob/v1.0.0/setup.py#L267 72 + PYTORCH_BUILD_VERSION = version; 73 + PYTORCH_BUILD_NUMBER = 0; 74 + 75 + # Suppress a weird warning in mkl-dnn, part of ideep in pytorch 76 + # (upstream seems to have fixed this in the wrong place?) 77 + # https://github.com/intel/mkl-dnn/commit/8134d346cdb7fe1695a2aa55771071d455fae0bc 78 + NIX_CFLAGS_COMPILE = lib.optionals (numpy.blasImplementation == "mkl") [ "-Wno-error=array-bounds" ]; 79 + 61 80 buildInputs = [ 62 81 cmake 63 82 numpy.blas 64 83 utillinux 65 84 which 66 - ] ++ lib.optionals cudaSupport [cudatoolkit_joined cudnn]; 85 + ] ++ lib.optionals cudaSupport [ cudatoolkit_joined cudnn ] 86 + ++ lib.optionals stdenv.isLinux [ numactl ]; 67 87 68 88 propagatedBuildInputs = [ 69 89 cffi ··· 71 91 pyyaml 72 92 ] ++ lib.optional (pythonOlder "3.5") typing; 73 93 94 + checkInputs = [ hypothesis ]; 74 95 checkPhase = '' 75 - ${cudaStubEnv}python test/run_test.py --exclude dataloader sparse torch utils distributed 96 + ${cudaStubEnv}python test/run_test.py --exclude dataloader sparse torch utils thd_distributed distributed cpp_extensions 76 97 ''; 77 98 78 99 meta = { 79 - description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration."; 80 - homepage = https://pytorch.org/; 81 - license = lib.licenses.bsd3; 82 - platforms = lib.platforms.linux; 83 - maintainers = with lib.maintainers; [ teh ]; 100 + description = "Open source, prototype-to-production deep learning platform"; 101 + homepage = https://pytorch.org/; 102 + license = lib.licenses.bsd3; 103 + platforms = lib.platforms.linux; 104 + maintainers = with lib.maintainers; [ teh thoughtpolice ]; 84 105 }; 85 106 }
+2
pkgs/development/python-modules/qrcode/default.nix
··· 1 1 { stdenv 2 2 , buildPythonPackage 3 + , isPy27 3 4 , fetchPypi 4 5 , six 5 6 , pillow ··· 18 19 19 20 propagatedBuildInputs = [ six pillow pymaging_png ]; 20 21 checkInputs = [ mock ]; 22 + doCheck = isPy27; # https://github.com/lincolnloop/python-qrcode/issues/163 21 23 22 24 meta = with stdenv.lib; { 23 25 description = "Quick Response code generation for Python";
+24
pkgs/development/python-modules/secretstorage/2.nix
··· 1 + { lib, fetchPypi, buildPythonPackage, cryptography, dbus-python }: 2 + 3 + buildPythonPackage rec { 4 + pname = "secretstorage"; 5 + version = "2.3.1"; 6 + 7 + src = fetchPypi { 8 + pname = "SecretStorage"; 9 + inherit version; 10 + sha256 = "1di9gx4m27brs6ar774m64s017iz742mnmw39kvfc8skfs3mrxis"; 11 + }; 12 + 13 + propagatedBuildInputs = [ cryptography dbus-python ]; 14 + 15 + # Needs a D-Bus Sesison 16 + doCheck = false; 17 + 18 + meta = with lib; { 19 + homepage = https://github.com/mitya57/secretstorage; 20 + description = "Python bindings to FreeDesktop.org Secret Service API"; 21 + license = licenses.bsd3; 22 + maintainers = with maintainers; [ orivej ]; 23 + }; 24 + }
+1 -1
pkgs/development/python-modules/secretstorage/default.nix
··· 24 24 meta = with lib; { 25 25 homepage = https://github.com/mitya57/secretstorage; 26 26 description = "Python bindings to FreeDesktop.org Secret Service API"; 27 - license = licenses.bsdOriginal; 27 + license = licenses.bsd3; 28 28 maintainers = with maintainers; [ teto ]; 29 29 }; 30 30 }
+2 -1
pkgs/development/python-modules/taskw/default.nix
··· 5 5 , tox 6 6 , six 7 7 , dateutil 8 + , kitchen 8 9 , pytz 9 10 , pkgs 10 11 }: ··· 28 29 doCheck = false; 29 30 30 31 buildInputs = [ nose pkgs.taskwarrior tox ]; 31 - propagatedBuildInputs = [ six dateutil pytz ]; 32 + propagatedBuildInputs = [ six dateutil kitchen pytz ]; 32 33 33 34 meta = with stdenv.lib; { 34 35 homepage = https://github.com/ralphbean/taskw;
+4 -38
pkgs/development/python-modules/taskw/use-template-for-taskwarrior-install-path.patch
··· 4 4 5 5 Use a template for taskwarrior install path. 6 6 7 - diff --git a/taskw/warrior.py b/taskw/warrior.py 8 - index 21dde88..e0509f2 100644 9 7 --- a/taskw/warrior.py 10 8 +++ b/taskw/warrior.py 11 - @@ -451,17 +451,17 @@ class TaskWarriorShellout(TaskWarriorBase): 12 - def _execute(self, *args): 13 - """ Execute a given taskwarrior command with arguments 14 - 15 - Returns a 2-tuple of stdout and stderr (respectively). 16 - 17 - """ 18 - command = ( 19 - [ 9 + @@ -449 +449 @@ class TaskWarriorShellout(TaskWarriorBase): 20 10 - 'task', 21 11 + '@@taskwarrior@@/bin/task', 22 - 'rc:%s' % self.config_filename, 23 - ] 24 - + self.get_configuration_override_args() 25 - + [six.text_type(arg) for arg in args] 26 - ) 27 - 28 - # subprocess is expecting bytestrings only, so nuke unicode if present 29 - for i in range(len(command)): 30 - @@ -525,17 +525,17 @@ class TaskWarriorShellout(TaskWarriorBase): 31 - except OSError: 32 - # OSError is raised if subprocess.Popen fails to find 33 - # the executable. 34 - return False 35 - 36 - @classmethod 37 - def get_version(cls): 38 - taskwarrior_version = subprocess.Popen( 39 - - ['task', '--version'], 40 - + ['@@taskwarrior@@/bin/task', '--version'], 41 - stdout=subprocess.PIPE 42 - ).communicate()[0] 43 - return LooseVersion(taskwarrior_version.decode()) 44 - 45 - def sync(self, init=False): 46 - if self.get_version() < LooseVersion('2.3'): 47 - raise UnsupportedVersionException( 48 - "'sync' requires version 2.3 of taskwarrior or later." 12 + @@ -553 +553 @@ class TaskWarriorShellout(TaskWarriorBase): 13 + - ['task', '--version'], 14 + + ['@@taskwarrior@@/bin/task', '--version'],
+1 -1
pkgs/development/tools/misc/dejagnu/default.nix
··· 14 14 15 15 # Note: The test-suite *requires* /dev/pts among the `build-chroot-dirs' of 16 16 # the build daemon when building in a chroot. See 17 - # <http://thread.gmane.org/gmane.linux.distributions.nixos/1036> for 17 + # <https://www.mail-archive.com/nix-dev@cs.uu.nl/msg01056.html> for 18 18 # details. 19 19 20 20 # The test-suite needs to have a non-empty stdin:
+1 -1
pkgs/os-specific/linux/ati-drivers/default.nix
··· 19 19 # make sure libglx.so of ati is used. xorg.xorgserver does provide it as well 20 20 # which is a problem because it doesn't contain the xorgserver patch supporting 21 21 # the XORG_DRI_DRIVER_PATH env var. 22 - # See http://thread.gmane.org/gmane.linux.distributions.nixos/4145 for a 22 + # See https://marc.info/?l=nix-dev&m=139641585515351 for a 23 23 # workaround (TODO) 24 24 25 25 # The gentoo ebuild contains much more "magic" and is usually a great resource to
+1 -1
pkgs/servers/monitoring/net-snmp/default.nix
··· 27 27 perlarchname=$(perl -e 'use Config; print $Config{archname};') 28 28 installFlags="INSTALLSITEARCH=$out/${perl.libPrefix}/${perl.version}/$perlarchname INSTALLSITEMAN3DIR=$out/share/man/man3" 29 29 30 - # http://comments.gmane.org/gmane.network.net-snmp.user/32434 30 + # http://article.gmane.org/gmane.network.net-snmp.user/32434 31 31 substituteInPlace "man/Makefile.in" --replace 'grep -vE' '@EGREP@ -v' 32 32 ''; 33 33
+2 -2
pkgs/servers/monitoring/uchiwa/bower-packages.nix
··· 1 1 # Generated by bower2nix v3.2.0 (https://github.com/rvl/bower2nix) 2 2 { fetchbower, buildEnv }: 3 3 buildEnv { name = "bower-env"; ignoreCollisions = true; paths = [ 4 - (fetchbower "uchiwa-web" "1.3.1" "1.3.1" "0vhfwm4z3d4v4p2vfq1vvk4fifxm43f8lyccwpgmw153z4gj14gk") 4 + (fetchbower "uchiwa-web" "1.5.0" "1.5.0" "0z7g4nb7cm5w5l8w1856sbib15sx022mqpap9d49s6ppnn53vcs1") 5 5 (fetchbower "angular" "1.6.10" "~1.6.3" "0ag8xddsgxx5yka4wjq4ala4y6z3x2g1vc3x7a1n291fzz26p7ws") 6 6 (fetchbower "angular-bootstrap" "2.2.0" "~2.2.0" "11r2nlwp6xrim2y6lnrr8v064mx3bmlxchqpg1i803v9zxz3q53d") 7 7 (fetchbower "angular-cookies" "1.6.10" "~1.6.3" "0bjgmz5jnw06dfxhq9sajj62fk0b3v4j9p7nb45x8bl8rzkf25pn") ··· 19 19 (fetchbower "highlightjs" "9.1.0" "~9.1.0" "0ld1da3h416a5j8v3v50rrpm4xwvvq8k8y2vwncvaqm9cqddz4s3") 20 20 (fetchbower "moment" "2.16.0" "~2.16.0" "1mji892i60f2aw3vhl6878acrcgh0ycn3r4af0ivnjf8az2b9n71") 21 21 (fetchbower "moment-picker" "0.9.11" "~0.9.7" "0p2g6rp2kcixydrga9lfihg4bxb598rvpi8n8l59mp549diy7vsb") 22 - (fetchbower "ua-parser-js" "0.7.18" "~0.7.12" "0qi7y5yrsdh2brpmwx0xs53bzr4pja5x1k2875x6zh259ag3zdkn") 22 + (fetchbower "ua-parser-js" "0.7.19" "~0.7.12" "0s1yaspccz234hm772hlybjsi0kndzwpjx5lzy3y1s4wfk248ks4") 23 23 (fetchbower "jsoneditor" "5.5.11" "~5.5.10" "1gfsf8jqnd3hb3r9s9246mg40iqxk2ix8k4bjnrsbfmg6cd3xw6x") 24 24 (fetchbower "jquery" "3.3.1" ">= 1.9.0" "1l891s3vgnpi1g8ksplid9jvrvnnv6lci8vraix4ssy50i264rkx") 25 25 ]; }
+2 -2
pkgs/servers/monitoring/uchiwa/src.nix
··· 1 1 { 2 - version = "1.3.1-1"; 3 - sha256 = "1cjb7k19iy79hh9gbjx67yrz44y92s516d0h403bf6w272g23yzi"; 2 + version = "1.5.0-1"; 3 + sha256 = "05idwiv47zav46wi1hfly6rylpw8qryr12xlz47ic04ggdlga13b"; 4 4 }
+3 -2
pkgs/tools/compression/mozlz4a/default.nix
··· 1 - {stdenv, fetchurl, python3, pylz4}: 1 + { stdenv, fetchurl, python3 }: 2 + 2 3 stdenv.mkDerivation rec { 3 4 name = "${pname}-${version}"; 4 5 pname = "mozlz4a"; ··· 21 22 chmod a+x "$out/bin/mozlz4a" 22 23 ''; 23 24 24 - buildInputs = [ pylz4 python3 ]; 25 + buildInputs = [ python3 python3.pkgs.python-lz4 ]; 25 26 26 27 meta = { 27 28 inherit version;
+2 -2
pkgs/tools/misc/coreutils/default.nix
··· 74 74 ++ optional (stdenv.hostPlatform != stdenv.buildPlatform && stdenv.hostPlatform.libc != "glibc") libiconv; 75 75 76 76 # The tests are known broken on Cygwin 77 - # (http://thread.gmane.org/gmane.comp.gnu.core-utils.bugs/19025), 78 - # Darwin (http://thread.gmane.org/gmane.comp.gnu.core-utils.bugs/19351), 77 + # (http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/19025), 78 + # Darwin (http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/19351), 79 79 # and {Open,Free}BSD. 80 80 # With non-standard storeDir: https://github.com/NixOS/nix/issues/512 81 81 doCheck = stdenv.hostPlatform == stdenv.buildPlatform
+3 -5
pkgs/top-level/all-packages.nix
··· 1690 1690 1691 1691 mongodb-tools = callPackage ../tools/misc/mongodb-tools { }; 1692 1692 1693 - mozlz4a = callPackage ../tools/compression/mozlz4a { 1694 - pylz4 = python3Packages.lz4; 1695 - }; 1693 + mozlz4a = callPackage ../tools/compression/mozlz4a { }; 1696 1694 1697 1695 msr-tools = callPackage ../os-specific/linux/msr-tools { }; 1698 1696 ··· 4780 4778 4781 4779 fmodex = callPackage ../games/zandronum/fmod.nix { }; 4782 4780 4783 - pdfmod = callPackage ../applications/misc/pdfmod { mono = mono4; }; 4781 + pdfmod = callPackage ../applications/misc/pdfmod { }; 4784 4782 4785 4783 pdf-quench = callPackage ../applications/misc/pdf-quench { }; 4786 4784 ··· 10284 10282 10285 10283 hydraAntLogger = callPackage ../development/libraries/java/hydra-ant-logger { }; 10286 10284 10287 - hyena = callPackage ../development/libraries/hyena { mono = mono4; }; 10285 + hyena = callPackage ../development/libraries/hyena { }; 10288 10286 10289 10287 hyperscan = callPackage ../development/libraries/hyperscan { }; 10290 10288
+4 -3
pkgs/top-level/python-packages.nix
··· 648 648 python-hosts = callPackage ../development/python-modules/python-hosts { }; 649 649 650 650 python-lz4 = callPackage ../development/python-modules/python-lz4 { }; 651 + lz4 = self.python-lz4; # alias 2018-12-05 651 652 652 653 python-ldap-test = callPackage ../development/python-modules/python-ldap-test { }; 653 654 ··· 3268 3269 3269 3270 ldappool = callPackage ../development/python-modules/ldappool { }; 3270 3271 3271 - lz4 = callPackage ../development/python-modules/lz4 { }; 3272 - 3273 3272 retrying = callPackage ../development/python-modules/retrying { }; 3274 3273 3275 3274 fasteners = callPackage ../development/python-modules/fasteners { }; ··· 4259 4258 4260 4259 blessings = callPackage ../development/python-modules/blessings { }; 4261 4260 4262 - secretstorage = callPackage ../development/python-modules/secretstorage { }; 4261 + secretstorage = if isPy3k 4262 + then callPackage ../development/python-modules/secretstorage { } 4263 + else callPackage ../development/python-modules/secretstorage/2.nix { }; 4263 4264 4264 4265 semantic = callPackage ../development/python-modules/semantic { }; 4265 4266