lol

Merge remote-tracking branch 'upstream/master' into staging

+1406 -364
+15
maintainers/maintainer-list.nix
··· 539 539 github = "boothead"; 540 540 name = "Ben Ford"; 541 541 }; 542 + borisbabic = { 543 + email = "boris.ivan.babic@gmail.com"; 544 + github = "borisbabic"; 545 + name = "Boris Babić"; 546 + }; 542 547 bosu = { 543 548 email = "boriss@gmail.com"; 544 549 github = "bosu"; ··· 920 925 email = "_deepfire@feelingofgreen.ru"; 921 926 github = "deepfire"; 922 927 name = "Kosyrev Serge"; 928 + }; 929 + deltaevo = { 930 + email = "deltaduartedavid@gmail.com"; 931 + github = "DeltaEvo"; 932 + name = "Duarte David"; 923 933 }; 924 934 demin-dmitriy = { 925 935 email = "demindf@gmail.com"; ··· 2258 2268 email = "luis@luispedro.org"; 2259 2269 github = "luispedro"; 2260 2270 name = "Luis Pedro Coelho"; 2271 + }; 2272 + lukeadams = { 2273 + email = "luke.adams@belljar.io"; 2274 + github = "lukeadams"; 2275 + name = "Luke Adams"; 2261 2276 }; 2262 2277 lukego = { 2263 2278 email = "luke@snabb.co";
+2
nixos/modules/services/cluster/kubernetes/default.nix
··· 838 838 path = with pkgs; [ gitMinimal openssh docker utillinux iproute ethtool thin-provisioning-tools iptables socat ] ++ cfg.path; 839 839 serviceConfig = { 840 840 Slice = "kubernetes.slice"; 841 + CPUAccounting = true; 842 + MemoryAccounting = true; 841 843 ExecStart = ''${cfg.package}/bin/kubelet \ 842 844 ${optionalString (taints != "") 843 845 "--register-with-taints=${taints}"} \
+2 -2
pkgs/applications/altcoins/bitcoin.nix
··· 5 5 with stdenv.lib; 6 6 stdenv.mkDerivation rec{ 7 7 name = "bitcoin" + (toString (optional (!withGui) "d")) + "-" + version; 8 - version = "0.16.1"; 8 + version = "0.16.2"; 9 9 10 10 src = fetchurl { 11 11 urls = [ "https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz" 12 12 "https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz" 13 13 ]; 14 - sha256 = "1zkqp93yircd3pbxczxfnibkpq0sgcv5r7wg6d196b9pwgr9zd39"; 14 + sha256 = "1n07qykx5hc0ph8fwn7hfrbsrjv19fdzvs5h0nysq4wfgn5wa40r"; 15 15 }; 16 16 17 17 nativeBuildInputs = [ pkgconfig autoreconfHook ];
+15 -27
pkgs/applications/audio/audio-recorder/default.nix
··· 1 - { stdenv, fetchurl, lib 2 - , pkgconfig, intltool, autoconf, gnome3 3 - , glib, dbus, gtk3, libdbusmenu-gtk3, libappindicator-gtk3, gst_all_1 1 + { stdenv, fetchurl 2 + , pkgconfig, intltool, gnome3 3 + , glib, dbus, gtk3, libappindicator-gtk3, gst_all_1 4 4 , librsvg, wrapGAppsHook 5 5 , pulseaudioSupport ? true, libpulseaudio ? null }: 6 6 7 - with lib; 8 - 9 7 stdenv.mkDerivation rec { 10 8 name = "audio-recorder-${version}"; 11 - version = "1.9.7"; 9 + version = "2.1.3"; 12 10 13 11 src = fetchurl { 14 - name = "${name}-zesty.tar.gz"; 15 - url = "${meta.homepage}/+archive/ubuntu/ppa/+files/audio-recorder_${version}%7Ezesty.tar.gz"; 16 - sha256 = "163c0vs5qj72y62731yp6sl6s0indh2szhjg02mxigv9b68dx89c"; 12 + name = "${name}.tar.gz"; 13 + url = "${meta.homepage}/+archive/ubuntu/ppa/+files/audio-recorder_${version}%7Ebionic.tar.gz"; 14 + sha256 = "160pnmnmc9zwzyclsci3w1qwlgxkfx1y3x5ck6i587w78570an1r"; 17 15 }; 18 16 19 - nativeBuildInputs = [ pkgconfig intltool autoconf wrapGAppsHook ]; 20 - 21 - buildInputs = with gst_all_1; [ 22 - glib dbus gtk3 librsvg libdbusmenu-gtk3 libappindicator-gtk3 (stdenv.lib.getLib gnome3.dconf) 23 - gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav 24 - ] ++ optional pulseaudioSupport libpulseaudio; 17 + # https://bugs.launchpad.net/audio-recorder/+bug/1784622 18 + NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0"; 25 19 26 - postPatch = '' 27 - substituteInPlace configure.ac \ 28 - --replace 'PKG_CHECK_MODULES(GIO, gio-2.0 >= $GLIB_REQUIRED)' \ 29 - 'PKG_CHECK_MODULES(GIO, gio-2.0 >= $GLIB_REQUIRED gio-unix-2.0)' 30 - autoconf 31 - intltoolize 32 - ''; 20 + nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ]; 33 21 34 - preFixup = '' 35 - gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : $out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH 36 - --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : $GST_PLUGIN_SYSTEM_PATH_1_0 37 - --prefix GIO_EXTRA_MODULES : ${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules) 38 - ''; 22 + buildInputs = [ 23 + glib dbus gtk3 librsvg libappindicator-gtk3 24 + ] ++ (with gst_all_1; [ 25 + gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav 26 + ]) ++ stdenv.lib.optional pulseaudioSupport libpulseaudio; 39 27 40 28 meta = with stdenv.lib; { 41 29 description = "Audio recorder for GNOME and Unity Desktops";
+3 -3
pkgs/applications/editors/android-studio/default.nix
··· 43 43 beta = mkStudio (latestVersion // { 44 44 pname = "android-studio-preview"; 45 45 #pname = "android-studio-beta"; # TODO: Rename and provide symlink 46 - version = "3.2.0.21"; # "Android Studio 3.2 Beta 4" 47 - build = "181.4886486"; 48 - sha256Hash = "1n4lcy0ng87fv45qjlpdb2zn3zl5lg6jwkbaijhbsm2rh4ljisr3"; 46 + version = "3.2.0.22"; # "Android Studio 3.2 Beta 5" 47 + build = "181.4913314"; 48 + sha256Hash = "016nyn1pqviy089hg0dq7m4cqb39fdxdcy4zknkaq7dmgv1dj6x9"; 49 49 50 50 meta = stable.meta // { 51 51 description = "The Official IDE for Android (beta channel)";
+12 -8
pkgs/applications/editors/atom/default.nix
··· 1 1 { stdenv, pkgs, fetchurl, makeWrapper, gvfs, atomEnv}: 2 2 3 3 let 4 - common = pname: {version, sha256}: stdenv.mkDerivation rec { 5 - name = "${pname}-${version}"; 6 - inherit version; 4 + common = pname: {version, sha256, beta ? null}: 5 + let fullVersion = version + stdenv.lib.optionalString (beta != null) "-beta${toString beta}"; 6 + name = "${pname}-${fullVersion}"; 7 + in stdenv.mkDerivation { 8 + inherit name; 9 + version = fullVersion; 7 10 8 11 src = fetchurl { 9 - url = "https://github.com/atom/atom/releases/download/v${version}/atom-amd64.deb"; 12 + url = "https://github.com/atom/atom/releases/download/v${fullVersion}/atom-amd64.deb"; 10 13 name = "${name}.deb"; 11 14 inherit sha256; 12 15 }; ··· 61 64 }; 62 65 in stdenv.lib.mapAttrs common { 63 66 atom = { 64 - version = "1.28.2"; 65 - sha256 = "07lz4lj07dbfz952l3q9vplvg41pxl1cx89gzy8bzzr3ay7kn6za"; 67 + version = "1.29.0"; 68 + sha256 = "0f0qpn8aw2qlqk8ah71xvk4vcmwsnsf2f3g4hz0rvaqnhb9ri9fz"; 66 69 }; 67 70 68 71 atom-beta = { 69 - version = "1.29.0-beta1"; 70 - sha256 = "121y716pnq4vpjrymr505prskvi5a2lnn8hw79q8b4hf7yz0j6rb"; 72 + version = "1.30.0"; 73 + beta = 1; 74 + sha256 = "0ygqj81xlwhzmmci0d0rd2q7xfskxd1k7h6db3zvvjdxjcnyqp1z"; 71 75 }; 72 76 }
+10 -12
pkgs/applications/misc/1password/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "1password-${version}"; 5 - version = "0.4.1"; 5 + version = "0.5.1"; 6 6 src = 7 7 if stdenv.system == "i686-linux" then 8 8 fetchzip { 9 9 url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_386_v${version}.zip"; 10 - sha256 = "1yzzh1f6hx7vwdgzp0znsjarjiw4xqmmrkc5xwywgjpg81qqpl8c"; 10 + sha256 = "08kzjilxpkvlwqjyxnic1n6xiy6gkndijwxdksm59k7c56mdawsz"; 11 11 stripRoot = false; 12 12 } 13 13 else if stdenv.system == "x86_64-linux" then 14 14 fetchzip { 15 15 url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_amd64_v${version}.zip"; 16 - sha256 = "0dgj1zqmpdbnsz2v2j7nqm232cdgyp9wagc089dxi4hbzkmfcvzx"; 16 + sha256 = "1bsbzaqws0z991r6rkjrxay74fj4g5ld4d748ygr0950zwi1m3h7"; 17 17 stripRoot = false; 18 18 } 19 19 else if stdenv.system == "x86_64-darwin" then 20 20 fetchzip { 21 21 url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_darwin_amd64_v${version}.zip"; 22 - sha256 = "116bvyfg38npdhlzaxan5y47cbw7jvj94q5w6v71kxsjzxk9l44a"; 22 + sha256 = "1dhr8m9icip27v802gxl1vhl9rf0jq5awirdm72lqmlypj86df0g"; 23 23 stripRoot = false; 24 24 } 25 25 else throw "Architecture not supported"; ··· 34 34 ''; 35 35 36 36 meta = with stdenv.lib; { 37 - description = "1Password command-line tool"; 38 - homepage = [ 39 - "https://blog.agilebits.com/2017/09/06/announcing-the-1password-command-line-tool-public-beta/" 40 - "https://app-updates.agilebits.com/product_history/CLI" 41 - ]; 42 - maintainers = with maintainers; [ joelburget ]; 43 - license = licenses.unfree; 44 - platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ]; 37 + description = "1Password command-line tool"; 38 + homepage = https://support.1password.com/command-line/; 39 + downloadPage = https://app-updates.agilebits.com/product_history/CLI; 40 + maintainers = with maintainers; [ joelburget ]; 41 + license = licenses.unfree; 42 + platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ]; 45 43 }; 46 44 }
+5 -4
pkgs/applications/misc/memo/default.nix
··· 8 8 9 9 name = "memo-${version}"; 10 10 11 - version = "0.4"; 11 + version = "0.5"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "mrVanDalo"; 15 15 repo = "memo"; 16 16 rev = "${version}"; 17 - sha256 = "06999nps46dxrjakvpin1d2zvfpjil69hb3bxagq29icalag3y2z"; 17 + sha256 = "1kq8hmq4lgvkk717nhmdryr90g61xm0jm7y8dzya8jsxsn531gm8"; 18 18 }; 19 19 20 20 installPhase = let ··· 23 23 else 24 24 "#pandoc_cmd=pandoc"; 25 25 in '' 26 - mkdir -p $out/{bin,share/man/man1,share/bash-completion/completions} 26 + mkdir -p $out/{bin,share/man/man1,share/bash-completion/completions,share/zsh/site-functions} 27 27 substituteInPlace memo \ 28 28 --replace "ack_cmd=ack" "ack_cmd=${silver-searcher}/bin/ag" \ 29 29 --replace "tree_cmd=tree" "tree_cmd=${tree}/bin/tree" \ ··· 31 31 --replace "pandoc_cmd=pandoc" "${pandocReplacement}" 32 32 mv memo $out/bin/ 33 33 mv doc/memo.1 $out/share/man/man1/memo.1 34 - mv completion/memo.bash $out/share/bash-completion/completions/memo.sh 34 + mv completion/bash/memo.sh $out/share/bash-completion/completions/memo.sh 35 + mv completion/zsh/_memo $out/share/zsh/site-functions/_memo 35 36 ''; 36 37 37 38 meta = {
+29 -42
pkgs/applications/misc/termite/default.nix
··· 1 - { stdenv, fetchFromGitHub, lib, pkgconfig, vte, gtk3, ncurses, makeWrapper, wrapGAppsHook, symlinkJoin 2 - , configFile ? null 3 - }: 1 + { stdenv, fetchFromGitHub, pkgconfig, vte, gtk3, ncurses, wrapGAppsHook }: 4 2 5 - let 3 + stdenv.mkDerivation rec { 4 + name = "termite-${version}"; 6 5 version = "13"; 7 - termite = stdenv.mkDerivation { 8 - name = "termite-${version}"; 9 6 10 - src = fetchFromGitHub { 11 - owner = "thestinger"; 12 - repo = "termite"; 13 - rev = "v${version}"; 14 - sha256 = "02cn70ygl93ghhkhs3xdxn5b1yadc255v3yp8cmhhyzsv5027hvj"; 15 - fetchSubmodules = true; 16 - }; 7 + src = fetchFromGitHub { 8 + owner = "thestinger"; 9 + repo = "termite"; 10 + rev = "v${version}"; 11 + sha256 = "02cn70ygl93ghhkhs3xdxn5b1yadc255v3yp8cmhhyzsv5027hvj"; 12 + fetchSubmodules = true; 13 + }; 17 14 18 - # https://github.com/thestinger/termite/pull/516 19 - patches = [ ./url_regexp_trailing.patch ./add_errno_header.patch 20 - ] ++ lib.optional stdenv.isDarwin ./remove_ldflags_macos.patch; 15 + # https://github.com/thestinger/termite/pull/516 16 + patches = [ ./url_regexp_trailing.patch ./add_errno_header.patch 17 + ] ++ stdenv.lib.optional stdenv.isDarwin ./remove_ldflags_macos.patch; 21 18 22 - makeFlags = [ "VERSION=v${version}" "PREFIX=" "DESTDIR=$(out)" ]; 19 + makeFlags = [ "VERSION=v${version}" "PREFIX=" "DESTDIR=$(out)" ]; 23 20 24 - buildInputs = [ vte gtk3 ncurses ]; 21 + buildInputs = [ vte gtk3 ncurses ]; 25 22 26 - nativeBuildInputs = [ wrapGAppsHook pkgconfig ]; 23 + nativeBuildInputs = [ wrapGAppsHook pkgconfig ]; 27 24 28 - outputs = [ "out" "terminfo" ]; 25 + outputs = [ "out" "terminfo" ]; 29 26 30 - postInstall = '' 31 - mkdir -p $terminfo/share 32 - mv $out/share/terminfo $terminfo/share/terminfo 27 + postInstall = '' 28 + mkdir -p $terminfo/share 29 + mv $out/share/terminfo $terminfo/share/terminfo 33 30 34 - mkdir -p $out/nix-support 35 - echo "$terminfo" >> $out/nix-support/propagated-user-env-packages 36 - ''; 31 + mkdir -p $out/nix-support 32 + echo "$terminfo" >> $out/nix-support/propagated-user-env-packages 33 + ''; 37 34 38 - meta = with stdenv.lib; { 39 - description = "A simple VTE-based terminal"; 40 - license = licenses.lgpl2Plus; 41 - homepage = https://github.com/thestinger/termite/; 42 - maintainers = with maintainers; [ koral garbas ]; 43 - platforms = platforms.all; 44 - }; 35 + meta = with stdenv.lib; { 36 + description = "A simple VTE-based terminal"; 37 + license = licenses.lgpl2Plus; 38 + homepage = https://github.com/thestinger/termite/; 39 + maintainers = with maintainers; [ koral garbas ]; 40 + platforms = platforms.all; 45 41 }; 46 - in if configFile == null then termite else symlinkJoin { 47 - name = "termite-with-config-${version}"; 48 - paths = [ termite ]; 49 - nativeBuildInputs = [ makeWrapper ]; 50 - postBuild = '' 51 - wrapProgram $out/bin/termite \ 52 - --add-flags "--config ${configFile}" 53 - ''; 54 - passthru.terminfo = termite.terminfo; 55 42 }
+15
pkgs/applications/misc/termite/wrapper.nix
··· 1 + { makeWrapper, wrapGAppsHook, symlinkJoin, configFile ? null, termite }: 2 + 3 + if configFile == null then termite else symlinkJoin { 4 + name = "termite-with-config-${termite.version}"; 5 + 6 + paths = [ termite ]; 7 + nativeBuildInputs = [ makeWrapper ]; 8 + 9 + postBuild = '' 10 + wrapProgram $out/bin/termite \ 11 + --add-flags "--config ${configFile}" 12 + ''; 13 + 14 + passthru.terminfo = termite.terminfo; 15 + }
+54 -53
pkgs/applications/science/electronics/kicad/default.nix
··· 1 - { stdenv, fetchurl, cmake, libGLU_combined, wxGTK, zlib, libX11, gettext, glew, cairo, curl, openssl, boost, pkgconfig, doxygen }: 1 + { wxGTK, lib, stdenv, fetchurl, cmake, libGLU_combined, zlib 2 + , libX11, gettext, glew, glm, cairo, curl, openssl, boost, pkgconfig 3 + , doxygen, pcre, libpthreadstubs, libXdmcp 4 + , wrapGAppsHook 5 + , oceSupport ? true, opencascade 6 + , ngspiceSupport ? true, libngspice 7 + , swig, python, pythonPackages 8 + }: 9 + 10 + assert ngspiceSupport -> libngspice != null; 2 11 12 + with lib; 3 13 stdenv.mkDerivation rec { 4 14 name = "kicad-${version}"; 5 - series = "4.0"; 6 - version = "4.0.7"; 7 - 8 - srcs = [ 9 - (fetchurl { 10 - url = "https://code.launchpad.net/kicad/${series}/${version}/+download/kicad-${version}.tar.xz"; 11 - sha256 = "1hgxan9321szgyqnkflb0q60yjf4yvbcc4cpwhm0yz89qrvlq1q9"; 12 - }) 13 - 14 - (fetchurl { 15 - url = "http://downloads.kicad-pcb.org/libraries/kicad-library-${version}.tar.gz"; 16 - sha256 = "1azb7v1y3l6j329r9gg7f4zlg0wz8nh4s4i5i0l9s4yh9r6i9zmv"; 17 - }) 18 - 19 - (fetchurl { 20 - url = "http://downloads.kicad-pcb.org/libraries/kicad-footprints-${version}.tar.gz"; 21 - sha256 = "08qrz5zzsb5127jlnv24j0sgiryd5nqwg3lfnwi8j9a25agqk13j"; 22 - }) 23 - ]; 15 + series = "5.0"; 16 + version = "5.0.0"; 24 17 25 - sourceRoot = "kicad-${version}"; 18 + src = fetchurl { 19 + url = "https://launchpad.net/kicad/${series}/${version}/+download/kicad-${version}.tar.xz"; 20 + sha256 = "17nqjszyvd25wi6550j981whlnb1wxzmlanljdjihiki53j84x9p"; 21 + }; 26 22 27 - cmakeFlags = '' 28 - -DKICAD_SKIP_BOOST=ON 29 - -DKICAD_BUILD_VERSION=${version} 30 - -DKICAD_REPO_NAME=stable 23 + postPatch = '' 24 + substituteInPlace CMakeModules/KiCadVersion.cmake \ 25 + --replace no-vcs-found ${version} 31 26 ''; 32 27 33 - enableParallelBuilding = true; # often fails on Hydra: fatal error: pcb_plot_params_lexer.h: No such file or directory 28 + cmakeFlags = [ 29 + "-DKICAD_SCRIPTING=ON" 30 + "-DKICAD_SCRIPTING_MODULES=ON" 31 + "-DKICAD_SCRIPTING_WXPYTHON=ON" 32 + # nix installs wxPython headers in wxPython package, not in wxwidget 33 + # as assumed. We explicitely set the header location. 34 + "-DCMAKE_CXX_FLAGS=-I${pythonPackages.wxPython}/include/wx-3.0" 35 + ] ++ optionals (oceSupport) [ "-DKICAD_USE_OCE=ON" "-DOCE_DIR=${opencascade}" ] 36 + ++ optional (ngspiceSupport) "-DKICAD_SPICE=ON"; 34 37 35 - nativeBuildInputs = [ pkgconfig ]; 36 - buildInputs = [ cmake libGLU_combined wxGTK zlib libX11 gettext glew cairo curl openssl boost doxygen ]; 38 + nativeBuildInputs = [ 39 + # https://www.mail-archive.com/kicad-developers@lists.launchpad.net/msg29840.html 40 + (cmake.override {majorVersion = "3.10";}) 41 + doxygen 42 + pkgconfig 43 + wrapGAppsHook 44 + pythonPackages.wrapPython 45 + ]; 46 + pythonPath = [ pythonPackages.wxPython ]; 47 + propagatedBuildInputs = [ pythonPackages.wxPython ]; 37 48 38 - # They say they only support installs to /usr or /usr/local, 39 - # so we have to handle this. 40 - patchPhase = '' 41 - sed -i -e 's,/usr/local/kicad,'$out,g common/gestfich.cpp 42 - ''; 49 + buildInputs = [ 50 + libGLU_combined zlib libX11 wxGTK pcre libXdmcp gettext glew glm libpthreadstubs 51 + cairo curl openssl boost 52 + swig python 53 + ] ++ optional (oceSupport) opencascade 54 + ++ optional (ngspiceSupport) libngspice; 43 55 44 - postUnpack = '' 45 - pushd $(pwd) 46 - ''; 56 + # this breaks other applications in kicad 57 + dontWrapGApps = true; 47 58 48 - postInstall = '' 49 - popd 50 - 51 - pushd kicad-library-* 52 - cmake -DCMAKE_INSTALL_PREFIX=$out 53 - make $MAKE_FLAGS 54 - make install 55 - popd 59 + preFixup = '' 60 + buildPythonPath "$out $pythonPath" 61 + gappsWrapperArgs+=(--set PYTHONPATH "$program_PYTHONPATH") 56 62 57 - pushd kicad-footprints-* 58 - mkdir -p $out/share/kicad/modules 59 - cp -R *.pretty $out/share/kicad/modules/ 60 - popd 63 + wrapProgram "$out/bin/kicad" "''${gappsWrapperArgs[@]}" 61 64 ''; 62 - 63 65 64 66 meta = { 65 67 description = "Free Software EDA Suite"; 66 68 homepage = http://www.kicad-pcb.org/; 67 - license = stdenv.lib.licenses.gpl2; 68 - maintainers = with stdenv.lib.maintainers; [viric]; 69 - platforms = with stdenv.lib.platforms; linux; 70 - hydraPlatforms = []; # 'output limit exceeded' error on hydra 69 + license = licenses.gpl2; 70 + maintainers = with maintainers; [ berce ]; 71 + platforms = with platforms; linux; 71 72 }; 72 73 }
+149
pkgs/applications/version-management/bazaar/CVE-2017-14176.patch
··· 1 + diff --git a/bzrlib/tests/test_ssh_transport.py b/bzrlib/tests/test_ssh_transport.py 2 + index 9e37c3b..fe9f219 100644 3 + --- a/bzrlib/tests/test_ssh_transport.py 4 + +++ b/bzrlib/tests/test_ssh_transport.py 5 + @@ -22,6 +22,7 @@ from bzrlib.transport.ssh import ( 6 + SSHCorpSubprocessVendor, 7 + LSHSubprocessVendor, 8 + SSHVendorManager, 9 + + StrangeHostname, 10 + ) 11 + 12 + 13 + @@ -161,6 +162,19 @@ class SSHVendorManagerTests(TestCase): 14 + 15 + class SubprocessVendorsTests(TestCase): 16 + 17 + + def test_openssh_command_tricked(self): 18 + + vendor = OpenSSHSubprocessVendor() 19 + + self.assertEqual( 20 + + vendor._get_vendor_specific_argv( 21 + + "user", "-oProxyCommand=blah", 100, command=["bzr"]), 22 + + ["ssh", "-oForwardX11=no", "-oForwardAgent=no", 23 + + "-oClearAllForwardings=yes", 24 + + "-oNoHostAuthenticationForLocalhost=yes", 25 + + "-p", "100", 26 + + "-l", "user", 27 + + "--", 28 + + "-oProxyCommand=blah", "bzr"]) 29 + + 30 + def test_openssh_command_arguments(self): 31 + vendor = OpenSSHSubprocessVendor() 32 + self.assertEqual( 33 + @@ -171,6 +185,7 @@ class SubprocessVendorsTests(TestCase): 34 + "-oNoHostAuthenticationForLocalhost=yes", 35 + "-p", "100", 36 + "-l", "user", 37 + + "--", 38 + "host", "bzr"] 39 + ) 40 + 41 + @@ -184,9 +199,16 @@ class SubprocessVendorsTests(TestCase): 42 + "-oNoHostAuthenticationForLocalhost=yes", 43 + "-p", "100", 44 + "-l", "user", 45 + - "-s", "host", "sftp"] 46 + + "-s", "--", "host", "sftp"] 47 + ) 48 + 49 + + def test_openssh_command_tricked(self): 50 + + vendor = SSHCorpSubprocessVendor() 51 + + self.assertRaises( 52 + + StrangeHostname, 53 + + vendor._get_vendor_specific_argv, 54 + + "user", "-oProxyCommand=host", 100, command=["bzr"]) 55 + + 56 + def test_sshcorp_command_arguments(self): 57 + vendor = SSHCorpSubprocessVendor() 58 + self.assertEqual( 59 + @@ -209,6 +231,13 @@ class SubprocessVendorsTests(TestCase): 60 + "-s", "sftp", "host"] 61 + ) 62 + 63 + + def test_lsh_command_tricked(self): 64 + + vendor = LSHSubprocessVendor() 65 + + self.assertRaises( 66 + + StrangeHostname, 67 + + vendor._get_vendor_specific_argv, 68 + + "user", "-oProxyCommand=host", 100, command=["bzr"]) 69 + + 70 + def test_lsh_command_arguments(self): 71 + vendor = LSHSubprocessVendor() 72 + self.assertEqual( 73 + @@ -231,6 +260,13 @@ class SubprocessVendorsTests(TestCase): 74 + "--subsystem", "sftp", "host"] 75 + ) 76 + 77 + + def test_plink_command_tricked(self): 78 + + vendor = PLinkSubprocessVendor() 79 + + self.assertRaises( 80 + + StrangeHostname, 81 + + vendor._get_vendor_specific_argv, 82 + + "user", "-oProxyCommand=host", 100, command=["bzr"]) 83 + + 84 + def test_plink_command_arguments(self): 85 + vendor = PLinkSubprocessVendor() 86 + self.assertEqual( 87 + diff --git a/bzrlib/transport/ssh.py b/bzrlib/transport/ssh.py 88 + index eecaa26..6f22341 100644 89 + --- a/bzrlib/transport/ssh.py 90 + +++ b/bzrlib/transport/ssh.py 91 + @@ -46,6 +46,10 @@ else: 92 + from paramiko.sftp_client import SFTPClient 93 + 94 + 95 + +class StrangeHostname(errors.BzrError): 96 + + _fmt = "Refusing to connect to strange SSH hostname %(hostname)s" 97 + + 98 + + 99 + SYSTEM_HOSTKEYS = {} 100 + BZR_HOSTKEYS = {} 101 + 102 + @@ -360,6 +364,11 @@ class SubprocessVendor(SSHVendor): 103 + # tests, but beware of using PIPE which may hang due to not being read. 104 + _stderr_target = None 105 + 106 + + @staticmethod 107 + + def _check_hostname(arg): 108 + + if arg.startswith('-'): 109 + + raise StrangeHostname(hostname=arg) 110 + + 111 + def _connect(self, argv): 112 + # Attempt to make a socketpair to use as stdin/stdout for the SSH 113 + # subprocess. We prefer sockets to pipes because they support 114 + @@ -424,9 +433,9 @@ class OpenSSHSubprocessVendor(SubprocessVendor): 115 + if username is not None: 116 + args.extend(['-l', username]) 117 + if subsystem is not None: 118 + - args.extend(['-s', host, subsystem]) 119 + + args.extend(['-s', '--', host, subsystem]) 120 + else: 121 + - args.extend([host] + command) 122 + + args.extend(['--', host] + command) 123 + return args 124 + 125 + register_ssh_vendor('openssh', OpenSSHSubprocessVendor()) 126 + @@ -439,6 +448,7 @@ class SSHCorpSubprocessVendor(SubprocessVendor): 127 + 128 + def _get_vendor_specific_argv(self, username, host, port, subsystem=None, 129 + command=None): 130 + + self._check_hostname(host) 131 + args = [self.executable_path, '-x'] 132 + if port is not None: 133 + args.extend(['-p', str(port)]) 134 + @@ -460,6 +470,7 @@ class LSHSubprocessVendor(SubprocessVendor): 135 + 136 + def _get_vendor_specific_argv(self, username, host, port, subsystem=None, 137 + command=None): 138 + + self._check_hostname(host) 139 + args = [self.executable_path] 140 + if port is not None: 141 + args.extend(['-p', str(port)]) 142 + @@ -481,6 +492,7 @@ class PLinkSubprocessVendor(SubprocessVendor): 143 + 144 + def _get_vendor_specific_argv(self, username, host, port, subsystem=None, 145 + command=None): 146 + + self._check_hostname(host) 147 + args = [self.executable_path, '-x', '-a', '-ssh', '-2', '-batch'] 148 + if port is not None: 149 + args.extend(['-P', str(port)])
+1 -6
pkgs/applications/version-management/bazaar/default.nix
··· 1 1 { stdenv, fetchurl, python2Packages 2 - , fetchpatch 3 2 , withSFTP ? true 4 3 }: 5 4 ··· 21 20 patches = [ 22 21 # Bazaar can't find the certificates alone 23 22 ./add_certificates.patch 24 - (fetchpatch { 25 - url = "https://bazaar.launchpad.net/~brz/brz/trunk/revision/6754"; 26 - sha256 = "0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73"; 27 - name = "CVE-2017-14176.patch"; 28 - }) 23 + ./CVE-2017-14176.patch 29 24 ]; 30 25 postPatch = '' 31 26 substituteInPlace bzrlib/transport/http/_urllib2_wrappers.py \
+2
pkgs/applications/version-management/git-and-tools/default.nix
··· 111 111 112 112 hubUnstable = throw "use gitAndTools.hub instead"; 113 113 114 + pre-commit = callPackage ./pre-commit { }; 115 + 114 116 qgit = qt5.callPackage ./qgit { }; 115 117 116 118 stgit = callPackage ./stgit {
+31
pkgs/applications/version-management/git-and-tools/pre-commit/default.nix
··· 1 + { stdenv, python3Packages }: 2 + with python3Packages; buildPythonApplication rec { 3 + pname = "pre_commit"; 4 + version = "1.10.4"; 5 + 6 + src = fetchPypi { 7 + inherit pname version; 8 + sha256 = "1kn8h9k9ca330m5n7r4cvxp679y3sc95m1x23a3qhzgam09n7jwr"; 9 + }; 10 + 11 + propagatedBuildInputs = [ 12 + aspy-yaml 13 + cached-property 14 + cfgv 15 + identify 16 + nodeenv 17 + six 18 + toml 19 + virtualenv 20 + ]; 21 + 22 + # Tests fail due to a missing windll dependency 23 + doCheck = false; 24 + 25 + meta = with stdenv.lib; { 26 + description = "A framework for managing and maintaining multi-language pre-commit hooks"; 27 + homepage = https://pre-commit.com/; 28 + license = licenses.mit; 29 + maintainers = with maintainers; [ borisbabic ]; 30 + }; 31 + }
+3
pkgs/applications/video/mpv/default.nix
··· 21 21 , sdl2Support ? true, SDL2 ? null 22 22 , alsaSupport ? true, alsaLib ? null 23 23 , screenSaverSupport ? true, libXScrnSaver ? null 24 + , cmsSupport ? true, lcms2 ? null 24 25 , vdpauSupport ? true, libvdpau ? null 25 26 , dvdreadSupport ? true, libdvdread ? null 26 27 , dvdnavSupport ? true, libdvdnav ? null ··· 53 54 assert sdl2Support -> available SDL2; 54 55 assert alsaSupport -> available alsaLib; 55 56 assert screenSaverSupport -> available libXScrnSaver; 57 + assert cmsSupport -> available lcms2; 56 58 assert vdpauSupport -> available libvdpau; 57 59 assert dvdreadSupport -> available libdvdread; 58 60 assert dvdnavSupport -> available libdvdnav; ··· 136 138 ++ optional pulseSupport libpulseaudio 137 139 ++ optional rubberbandSupport rubberband 138 140 ++ optional screenSaverSupport libXScrnSaver 141 + ++ optional cmsSupport lcms2 139 142 ++ optional vdpauSupport libvdpau 140 143 ++ optional speexSupport speex 141 144 ++ optional bs2bSupport libbs2b
+44
pkgs/applications/window-managers/stumpish/default.nix
··· 1 + { stdenv, substituteAll, fetchurl, fetchFromGitHub, bash, gnused, ncurses, xorg, rlwrap }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "stumpish"; 5 + version = "0.0.1"; 6 + name = "${pname}-${version}"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "stumpwm"; 10 + repo = "stumpwm-contrib"; 11 + rev = "9f5f06652c480159ec57d1fd8751b16f02db06dc"; 12 + sha256 = "1dxzsnir3158p8y2128s08r9ca0ywr9mcznivmhn1lycw8mg4nfl"; 13 + }; 14 + 15 + buildInputs = [ 16 + gnused xorg.xprop rlwrap ncurses 17 + ]; 18 + 19 + patches = [ 20 + (substituteAll { 21 + src = ./paths.patch; 22 + sed = "${gnused}/bin/sed"; 23 + xprop = "${xorg.xprop}/bin/xprop"; 24 + rlwrap = "${rlwrap}/bin/rlwrap"; 25 + tput = "${ncurses}/bin/tput"; 26 + }) 27 + ]; 28 + 29 + buildPhase = '' 30 + mkdir -p $out/bin 31 + ''; 32 + 33 + installPhase = '' 34 + cp util/stumpish/stumpish $out/bin 35 + ''; 36 + 37 + meta = with stdenv.lib; { 38 + homepage = https://github.com/stumpwm/stumpwm-contrib; 39 + description = "STUMPwm Interactive SHell"; 40 + license = licenses.gpl2; 41 + maintainers = [ maintainers.ebzzry ]; 42 + platforms = platforms.unix; 43 + }; 44 + }
+87
pkgs/applications/window-managers/stumpish/paths.patch
··· 1 + diff --git a/util/stumpish/stumpish b/util/stumpish/stumpish 2 + index 830cb1b..64213dc 100755 3 + --- a/util/stumpish/stumpish 4 + +++ b/util/stumpish/stumpish 5 + @@ -28,8 +28,8 @@ then 6 + fi 7 + 8 + # replace -E with -r option for old versions of GNU sed 9 + -if ! sed -E 1p /dev/null 2>/dev/null; then 10 + - sed() { shift; command sed -r "$@"; } 11 + +if ! @sed@ -E 1p /dev/null 2>/dev/null; then 12 + + sed() { shift; command @sed@ -r "$@"; } 13 + fi 14 + 15 + # parse C-style backslash sequences by default 16 + @@ -41,9 +41,9 @@ wait_result () 17 + { 18 + while true 19 + do 20 + - RESULT=$(xprop -root -f STUMPWM_COMMAND_RESULT 8s \ 21 + + RESULT=$(@xprop@ -root -f STUMPWM_COMMAND_RESULT 8s \ 22 + STUMPWM_COMMAND_RESULT 2>/dev/null | 23 + - sed -E 's/\\([[:digit:]]+)/\\0\1/g') 24 + + @sed@ -E 's/\\([[:digit:]]+)/\\0\1/g') 25 + if echo "$RESULT" | grep -v -q 'not found.$' 26 + then 27 + break 28 + @@ -52,7 +52,7 @@ wait_result () 29 + sleep $DELAY 30 + done 31 + 32 + - xprop -root -remove STUMPWM_COMMAND_RESULT 33 + + @xprop@ -root -remove STUMPWM_COMMAND_RESULT 34 + 35 + if echo "$RESULT" | grep -q '= $' 36 + then 37 + @@ -60,7 +60,7 @@ wait_result () 38 + fi 39 + 40 + echo "$RESULT" | 41 + - sed -E 's/[^"\\n]+"// 42 + + @sed@ -E 's/[^"\\n]+"// 43 + /^"[[:space:]]*$/d 44 + s/(^|[^\\])\\n/\1\ 45 + /g 46 + @@ -80,7 +80,7 @@ send_cmd () 47 + exit 48 + fi 49 + 50 + - xprop -root -f STUMPWM_COMMAND 8s -set STUMPWM_COMMAND "$cmd" 51 + + @xprop@ -root -f STUMPWM_COMMAND 8s -set STUMPWM_COMMAND "$cmd" 52 + 53 + wait_result 54 + } 55 + @@ -123,8 +123,8 @@ tput () 56 + local cap1=$1 cap2=$2 57 + shift 2 58 + 59 + - command tput $cap1 $@ 2>/dev/null || 60 + - command tput $cap2 $@ 2>/dev/null 61 + + command @tput@ $cap1 $@ 2>/dev/null || 62 + + command @tput@ $cap2 $@ 2>/dev/null 63 + } 64 + 65 + READLINE=yes 66 + @@ -156,18 +156,18 @@ then 67 + else 68 + if [ -t 0 ] 69 + then 70 + - if ! type rlwrap 2>/dev/null >&2 71 + + if ! type @rlwrap@ 2>/dev/null >&2 72 + then 73 + warn rlwrap not found, command completion won\'t work 74 + elif [ $READLINE = yes ] 75 + then 76 + COMMANDS="${TMPDIR:-/tmp}/stumpish.commands.$$" 77 + echo $(send_cmd "commands") | 78 + - sed -E 's/[[:space:]]+/\ 79 + + @sed@ -E 's/[[:space:]]+/\ 80 + /g' | 81 + sort > "$COMMANDS" 82 + trap 'rm -f "$COMMANDS"' exit int term 83 + - rlwrap -b '' -f "$COMMANDS" "$0" -r 84 + + @rlwrap@ -b '' -f "$COMMANDS" "$0" -r 85 + exit 86 + fi 87 +
+26
pkgs/data/fonts/ia-writer-duospace/default.nix
··· 1 + { lib, fetchFromGitHub }: 2 + 3 + let 4 + version = "20180721"; 5 + in fetchFromGitHub rec { 6 + name = "ia-writer-duospace-${version}"; 7 + 8 + owner = "iaolo"; 9 + repo = "iA-Fonts"; 10 + rev = "55edf60f544078ab1e14987bc67e9029a200e0eb"; 11 + sha256 = "0932lcxf861vb3hz52z1xj8r99ag9sdyqsnq9brv7gc4kp2l339c"; 12 + 13 + postFetch = '' 14 + tar --strip-components=1 -xzvf $downloadedFile 15 + mkdir -p $out/share/fonts/opentype 16 + cp "iA Writer Duospace/OTF (Mac)/"*.otf $out/share/fonts/opentype/ 17 + ''; 18 + 19 + meta = with lib; { 20 + description = "iA Writer Duospace Typeface"; 21 + homepage = https://ia.net/topics/in-search-of-the-perfect-writing-font; 22 + license = licenses.ofl; 23 + platforms = platforms.all; 24 + maintainers = [ maintainers.marsam ]; 25 + }; 26 + }
+40
pkgs/data/fonts/inriafonts/default.nix
··· 1 + { stdenv, fetchFromGitHub }: 2 + 3 + stdenv.mkDerivation rec { 4 + 5 + pname = "inriafonts"; 6 + version = "1.200"; 7 + name = "${pname}-${version}"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "BlackFoundry"; 11 + repo = "InriaFonts"; 12 + rev = "v${version}"; 13 + sha256 = "06775y99lyh6hj5hzvrx56iybdck8a8xfqkipqd5c4cldg0a9hh8"; 14 + }; 15 + 16 + installPhase = '' 17 + mkdir -p $out/share/fonts/truetype 18 + cp fonts/*/TTF/*.ttf $out/share/fonts/truetype 19 + mkdir -p $out/share/fonts/opentype 20 + cp fonts/*/OTF/*.otf $out/share/fonts/opentype 21 + ''; 22 + 23 + meta = with stdenv.lib; { 24 + homepage = https://black-foundry.com/work/inria; 25 + description = "Inria Sans and Inria Serif"; 26 + longDescription = '' 27 + Inria Sans and Inria Serif are the two members of a type family 28 + design for the communication of Inria, the French national institute 29 + dedicated to numeric research. The Institut needed a font 30 + showing its values at the crossroad of humanity, technology, 31 + excellence and creativity. Black[Foudry] created a humanist 32 + typeface with a unapologetically contemporary design as the 33 + Sans-serif part and a more rational axis and drawing for the 34 + serif. Both members comes in 3 weights with matching italics. 35 + ''; 36 + license = licenses.ofl; 37 + maintainers = with maintainers; [ leenaars ]; 38 + platforms = platforms.all; 39 + }; 40 + }
+2 -2
pkgs/data/fonts/sarasa-gothic/default.nix
··· 1 1 { stdenv, fetchurl, p7zip }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "0.5.2"; 4 + version = "0.6.0"; 5 5 name = "sarasa-gothic-${version}"; 6 6 7 7 package = fetchurl { 8 8 url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttf-${version}.7z"; 9 - sha256 = "18ycw57k7yhrbb8njzhzk6x32xnjal61wr48qxkqy4lh9zfy0p22"; 9 + sha256 = "00kyx03lpgycxaw0cyx96hhrx8gwkcmy3qs35q7r09y60vg5i0nv"; 10 10 }; 11 11 12 12 nativeBuildInputs = [ p7zip ];
+45
pkgs/data/icons/capitaine-cursors/default.nix
··· 1 + { stdenv, fetchFromGitHub 2 + , inkscape, xcursorgen }: 3 + 4 + stdenv.mkDerivation rec { 5 + name = "capitaine-cursors-${version}"; 6 + version = "2.1"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "keeferrourke"; 10 + repo = "capitaine-cursors"; 11 + rev = "r${version}"; 12 + sha256 = "0ljvq1dqscp5gyf23qszn2ax80bxkqw2vx5zh3qln9vnzfascirb"; 13 + }; 14 + 15 + postPatch = '' 16 + patchShebangs . 17 + ''; 18 + 19 + buildInputs =[ 20 + inkscape 21 + xcursorgen 22 + ]; 23 + 24 + buildPhase = '' 25 + # https://github.com/NixOS/nixpkgs/blob/master/pkgs/data/fonts/emojione/default.nix#L16 26 + HOME="$NIX_BUILD_ROOT" ./build.sh 27 + ''; 28 + 29 + installPhase = '' 30 + install -dm 0755 $out/share/icons 31 + cp -pr dist $out/share/icons/capitaine-cursors 32 + ''; 33 + 34 + meta = with stdenv.lib; { 35 + description = '' 36 + An x-cursor theme inspired by macOS and based on KDE Breeze 37 + ''; 38 + homepage = https://github.com/keeferrourke/capitaine-cursors; 39 + license = licenses.lgpl3; 40 + platforms = platforms.linux; 41 + maintainers = with maintainers; [ 42 + eadwu 43 + ]; 44 + }; 45 + }
+2 -2
pkgs/desktops/gnome-3/apps/evolution/default.nix
··· 5 5 , libcanberra-gtk3, bogofilter, gst_all_1, procps, p11-kit, openldap }: 6 6 7 7 let 8 - version = "3.28.3"; 8 + version = "3.28.5"; 9 9 in stdenv.mkDerivation rec { 10 10 name = "evolution-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/evolution/${gnome3.versionBranch version}/${name}.tar.xz"; 14 - sha256 = "1s1vlznc22q1f8fm8fhggi8xak52b6n952s562f3kpv6g0dm2x6k"; 14 + sha256 = "1q1nfga39f44knrcvcxk8ivhl6fvg92g71cq3hcp4a7krb3jwa5v"; 15 15 }; 16 16 17 17 propagatedUserEnvPkgs = [ gnome3.evolution-data-server ];
+2 -2
pkgs/desktops/gnome-3/apps/file-roller/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "file-roller-${version}"; 6 - version = "3.28.0"; 6 + version = "3.28.1"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://gnome/sources/file-roller/${gnome3.versionBranch version}/${name}.tar.xz"; 10 - sha256 = "15pn2m80x45bzibig4zrqybnbr0n1f9wpqx7f2p6difldns3jwf1"; 10 + sha256 = "09y2blmlsccfxc2npcayhicq00r9n03897s1aizkahn1m970hjsp"; 11 11 }; 12 12 13 13 LANG = "en_US.UTF-8"; # postinstall.py
+2 -2
pkgs/desktops/gnome-3/apps/polari/default.nix
··· 5 5 6 6 let 7 7 pname = "polari"; 8 - version = "3.28.0"; 8 + version = "3.28.1"; 9 9 in stdenv.mkDerivation rec { 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; 14 - sha256 = "08zgdqrnxl752nv0gac1k7wvjd4j7h5n4c0flrq7q337p40k3dd5"; 14 + sha256 = "1066j1lbrkpcxhvrg3gcv7gv8dzqv5ny9qi9dnm8r1dsx2hil9yc"; 15 15 }; 16 16 17 17 propagatedUserEnvPkgs = [ telepathy-idle telepathy-logger ];
+2 -2
pkgs/desktops/gnome-3/core/eog/default.nix
··· 4 4 5 5 let 6 6 pname = "eog"; 7 - version = "3.28.2"; 7 + version = "3.28.3"; 8 8 in stdenv.mkDerivation rec { 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; 13 - sha256 = "1gasrfqi7qrzdq1idh29r0n6ikkqjb6pbp7a8k5krfz5hkhyfin0"; 13 + sha256 = "1lj8v9m8jdxc3d4nzmgrxcccddg3hh8lkbmz4g71yxa0ykxxvbip"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ meson ninja pkgconfig gettext itstool wrapGAppsHook libxml2 gobjectIntrospection ];
+2 -2
pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "evolution-data-server-${version}"; 8 - version = "3.28.3"; 8 + version = "3.28.5"; 9 9 10 10 outputs = [ "out" "dev" ]; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/evolution-data-server/${gnome3.versionBranch version}/${name}.tar.xz"; 14 - sha256 = "11sq795115vrcgxl9svscm6wg8isjj784c3d84qzb6z47zq92zj3"; 14 + sha256 = "1247gv0ggwnd1i2n7iglb3crfapx6s9nrl896bzy9k87fb94hlyr"; 15 15 }; 16 16 17 17 patches = [
+2 -2
pkgs/desktops/gnome-3/core/gnome-bluetooth/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "gnome-bluetooth-${version}"; 6 - version = "3.28.0"; 6 + version = "3.28.1"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://gnome/sources/gnome-bluetooth/${gnome3.versionBranch version}/${name}.tar.xz"; 10 - sha256 = "0q7yzklrlayj99risj096mr5x35anx94wvr6nbf6pwbvvzv7453p"; 10 + sha256 = "1g3yrq5792qvc5rxnf26cgciawrca27hqn6wxfcf63bpa2dsjcsn"; 11 11 }; 12 12 13 13 passthru = {
+2 -2
pkgs/desktops/gnome-3/core/gnome-shell/default.nix
··· 13 13 14 14 in stdenv.mkDerivation rec { 15 15 name = "gnome-shell-${version}"; 16 - version = "3.28.2"; 16 + version = "3.28.3"; 17 17 18 18 src = fetchurl { 19 19 url = "mirror://gnome/sources/gnome-shell/${gnome3.versionBranch version}/${name}.tar.xz"; 20 - sha256 = "1b9n89ij2g5nqaqp7a13jnqcd8qa2v9p55rbi71al3xvqk091ri7"; 20 + sha256 = "0xm2a8inj2zkrpgkhy69rbqh44q62gpwm4javzbvvvgx0srza90w"; 21 21 }; 22 22 23 23 # Needed to find /etc/NetworkManager/VPN
+2 -2
pkgs/desktops/gnome-3/core/grilo-plugins/default.nix
··· 4 4 5 5 let 6 6 pname = "grilo-plugins"; 7 - version = "0.3.5"; 7 + version = "0.3.7"; 8 8 major = gnome3.versionBranch version; 9 9 in stdenv.mkDerivation rec { 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/${pname}/${major}/${name}.tar.xz"; 14 - sha256 = "1yv8a0mfd5qmdbdrnd0is5c51s1mvibhw61na99iagnbirxq4xr9"; 14 + sha256 = "0838mm7sdfwsiw022rjb27dlbbxncpx5jrpv3qzfadli66y3nbzw"; 15 15 }; 16 16 17 17 installFlags = [ "GRL_PLUGINS_DIR=$(out)/lib/grilo-${major}" ];
+2 -2
pkgs/desktops/gnome-3/core/grilo/default.nix
··· 4 4 5 5 let 6 6 pname = "grilo"; 7 - version = "0.3.4"; # if you change minor, also change ./setup-hook.sh 7 + version = "0.3.6"; # if you change minor, also change ./setup-hook.sh 8 8 in stdenv.mkDerivation rec { 9 9 name = "${pname}-${version}"; 10 10 ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz"; 16 - sha256 = "0vh67gja6yn7czh77ssmx6ncp99fl2926pbi2hplqms27c2n8sbw"; 16 + sha256 = "14cwpk9jxi8rfjcmkav37zf0m52b1lqpkpkz858h80jqvn1clr8y"; 17 17 }; 18 18 19 19 setupHook = ./setup-hook.sh;
+2 -2
pkgs/desktops/gnome-3/core/mutter/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "mutter-${version}"; 8 - version = "3.28.2"; 8 + version = "3.28.3"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/mutter/${gnome3.versionBranch version}/${name}.tar.xz"; 12 - sha256 = "0ighs1zvlssgq16v1h3vg280za7y448snq65gc5m1zmqqawqkymg"; 12 + sha256 = "0vq3rmq20d6b1mi6sf67wkzqys6hw5j7n7fd4hndcp19d5i26149"; 13 13 }; 14 14 15 15 passthru = {
+2 -2
pkgs/desktops/gnome-3/core/totem/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 name = "totem-${version}"; 9 - version = "3.26.1"; 9 + version = "3.26.2"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/totem/${gnome3.versionBranch version}/${name}.tar.xz"; 13 - sha256 = "10n302fdp3lhkzbij5sbzmsnln738029xil6cnng2d4dxv4n1099"; 13 + sha256 = "1llyisls3pzf5bwkpxyfyxc2d3gpa09n5pjy7qsjdqrp3ya4k36g"; 14 14 }; 15 15 16 16 doCheck = true;
+1 -1
pkgs/desktops/plasma-5/plasma-nm/0001-mobile-broadband-provider-info-path.patch
··· 16 16 #include <KLocale> 17 17 18 18 -const QString MobileProviders::ProvidersFile = "/usr/share/mobile-broadband-provider-info/serviceproviders.xml"; 19 - +const QString MobileProviders::ProvidersFile = "@mobile-broadband-provider-info@/share/mobile-broadband-provider-info/serviceproviders.xml"; 19 + +const QString MobileProviders::ProvidersFile = "@mobile_broadband_provider_info@/share/mobile-broadband-provider-info/serviceproviders.xml"; 20 20 21 21 bool localeAwareCompare(const QString & one, const QString & two) { 22 22 return one.localeAwareCompare(two) < 0;
+1 -1
pkgs/desktops/plasma-5/plasma-nm/default.nix
··· 21 21 patches = [ 22 22 (substituteAll { 23 23 src = ./0001-mobile-broadband-provider-info-path.patch; 24 - inherit mobile-broadband-provider-info; 24 + mobile_broadband_provider_info = mobile-broadband-provider-info; 25 25 }) 26 26 (substituteAll { 27 27 src = ./0002-openvpn-binary-path.patch;
+2
pkgs/desktops/xfce4-13/default.nix
··· 44 44 45 45 xfce4-appfinder = callPackage ./xfce4-appfinder { }; 46 46 47 + xfce4-battery-plugin = callPackage ./xfce4-battery-plugin { }; 48 + 47 49 xfce4-dev-tools = callPackage ./xfce4-dev-tools { 48 50 mkXfceDerivation = mkXfceDerivation.override { 49 51 xfce4-dev-tools = null;
+4 -4
pkgs/desktops/xfce4-13/mkXfceDerivation.nix
··· 1 - { stdenv, fetchgit, pkgconfig, xfce4-dev-tools ? null }: 1 + { stdenv, fetchgit, pkgconfig, xfce4-dev-tools, hicolor-icon-theme }: 2 2 3 - { category, pname, sha256 ? null, version, ... } @ args: 3 + { category, pname, version, rev ? "${pname}-${version}", sha256, ... } @ args: 4 4 5 5 let 6 6 inherit (builtins) filter getAttr head isList; ··· 16 16 name = "${pname}-${version}"; 17 17 18 18 nativeBuildInputs = [ pkgconfig xfce4-dev-tools ]; 19 + buildInputs = [ hicolor-icon-theme ]; 19 20 configureFlags = [ "--enable-maintainer-mode" ]; 20 21 21 22 src = fetchgit { 22 23 url = "git://git.xfce.org/${category}/${pname}"; 23 - rev = name; 24 - inherit sha256; 24 + inherit rev sha256; 25 25 }; 26 26 27 27 enableParallelBuilding = true;
+11
pkgs/desktops/xfce4-13/xfce4-battery-plugin/default.nix
··· 1 + { mkXfceDerivation, gtk3, libxfce4ui, libxfce4util, xfce4-panel, xfconf }: 2 + 3 + mkXfceDerivation rec { 4 + category = "panel-plugins"; 5 + pname = "xfce4-battery-plugin"; 6 + version = "1.1.0"; 7 + rev = version; 8 + sha256 = "0mz0lj3wjrsj9n4wcqrvv08430g38nkjbdimxdy8316n6bqgngfn"; 9 + 10 + buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ]; 11 + }
+7 -7
pkgs/development/compilers/crystal/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "crystal-${version}"; 6 - version = "0.25.0"; 6 + version = "0.25.1"; 7 7 8 8 src = fetchurl { 9 9 url = "https://github.com/crystal-lang/crystal/archive/${version}.tar.gz"; 10 - sha256 = "1pnx21ky6cqfyv6df4mmjnyd1yh1bvcqkdzq6f0mk0yrkcl57k3q"; 10 + sha256 = "1ikzly6vs28ilqvqm4kxzhqs8mp6l4l344rhak63dav7vv97nnlv"; 11 11 }; 12 12 13 - prebuiltName = "crystal-0.25.0-1"; 13 + prebuiltName = "crystal-0.25.1-1"; 14 14 prebuiltSrc = let arch = { 15 15 "x86_64-linux" = "linux-x86_64"; 16 16 "i686-linux" = "linux-i686"; 17 17 "x86_64-darwin" = "darwin-x86_64"; 18 18 }."${stdenv.system}" or (throw "system ${stdenv.system} not supported"); 19 19 in fetchurl { 20 - url = "https://github.com/crystal-lang/crystal/releases/download/0.25.0/${prebuiltName}-${arch}.tar.gz"; 20 + url = "https://github.com/crystal-lang/crystal/releases/download/0.25.1/${prebuiltName}-${arch}.tar.gz"; 21 21 sha256 = { 22 - "x86_64-linux" = "1q006086pbbvhmscbjzzgbdq1jkppd4p4kl9z9fn9j6np8fhi8ms"; 23 - "i686-linux" = "074ndm9n0mzsa7dkl3chhf234l85msm99yjksa5980lyqynyrw1d"; 24 - "x86_64-darwin" = "006f2j5984dkp5lsq8kns5mkxbhj50syjvzqk9z931pxl92wc7iy"; 22 + "x86_64-linux" = "0zjmbvbhi11p7s99jmvb3pac6zzsr792bxcfanrx503fjxxafgll"; 23 + "i686-linux" = "0i0hgsq7xa53594blqw5qi6jrqja18spifmalg7df2mj3h13h3pz"; 24 + "x86_64-darwin" = "1h369hzis1cigxbb6fgpahyq4d13gfgjc6adf300zc38yh8rvyy0"; 25 25 }."${stdenv.system}"; 26 26 }; 27 27
+2 -2
pkgs/development/compilers/edk2/default.nix
··· 25 25 patches = [ 26 26 (fetchpatch { 27 27 name = "short-circuit-the-transfer-of-an-empty-S3_CONTEXT.patch"; 28 - url = "https://github.com/tianocore/edk2/commit/9e2a8e928995c3b1bb664b73fd59785055c6b5f6"; 29 - sha256 = "0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73"; 28 + url = "https://github.com/tianocore/edk2/commit/9e2a8e928995c3b1bb664b73fd59785055c6b5f6.diff"; 29 + sha256 = "0x24npijhgpjpsn3n74wayf8qcbaj97vi4z2iyf4almavqq8qaz4"; 30 30 }) 31 31 ]; 32 32
+64
pkgs/development/compilers/halide/default.nix
··· 1 + { llvmPackages, lib, fetchFromGitHub, cmake 2 + , libpng, libjpeg, mesa_noglu, eigen3_3, openblas 3 + }: 4 + 5 + let 6 + version = "2018_02_15"; 7 + 8 + in llvmPackages.stdenv.mkDerivation { 9 + 10 + name = "halide-${builtins.replaceStrings ["_"] ["."] version}"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "halide"; 14 + repo = "Halide"; 15 + rev = "release_${version}"; 16 + sha256 = "14lmpbxydx7ii0pxds6rgq5vw4i6yfjsq0bai1l5wwpv1rnwmbxd"; 17 + }; 18 + 19 + patches = [ ./nix.patch ]; 20 + 21 + # clang fails to compile intermediate code because 22 + # of unused "--gcc-toolchain" option 23 + postPatch = '' 24 + sed -i "s/-Werror//" src/CMakeLists.txt 25 + ''; 26 + 27 + cmakeFlags = [ "-DWARNINGS_AS_ERRORS=OFF" ]; 28 + 29 + # To handle the lack of 'local' RPATH; required, as they call one of 30 + # their built binaries requiring their libs, in the build process. 31 + preBuild = '' 32 + export LD_LIBRARY_PATH="$(pwd)/lib:$LD_LIBRARY_PATH" 33 + ''; 34 + 35 + enableParallelBuilding = true; 36 + 37 + # Note: only openblas and not atlas part of this Nix expression 38 + # see pkgs/development/libraries/science/math/liblapack/3.5.0.nix 39 + # to get a hint howto setup atlas instead of openblas 40 + buildInputs = [ llvmPackages.llvm libpng libjpeg mesa_noglu eigen3_3 openblas ]; 41 + 42 + nativeBuildInputs = [ cmake ]; 43 + 44 + # No install target for cmake available. 45 + # Calling install target in Makefile causes complete rebuild 46 + # and the library rpath is broken, because libncursesw.so.6 is missing. 47 + # Another way is using "make halide_archive", but the tarball is not easy 48 + # to disassemble. 49 + installPhase = '' 50 + find 51 + mkdir -p "$out/lib" "$out/bin" 52 + cp bin/HalideTrace* "$out/bin" 53 + cp lib/libHalide.so "$out/lib" 54 + cp -r include "$out" 55 + ''; 56 + 57 + meta = with lib; { 58 + description = "C++ based language for image processing and computational photography"; 59 + homepage = "https://halide-lang.org"; 60 + license = licenses.mit; 61 + platforms = platforms.linux; 62 + maintainers = [ maintainers.ck3d ]; 63 + }; 64 + }
+55
pkgs/development/compilers/halide/nix.patch
··· 1 + diff --git a/CMakeLists.txt b/CMakeLists.txt 2 + index 40a685b7e..c452efd09 100644 3 + --- a/CMakeLists.txt 4 + +++ b/CMakeLists.txt 5 + @@ -49,10 +49,10 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") 6 + 7 + set(LLVM_VERSION "${LLVM_VERSION_MAJOR}${LLVM_VERSION_MINOR}") 8 + 9 + -file(TO_NATIVE_PATH "${LLVM_TOOLS_BINARY_DIR}/llvm-as${CMAKE_EXECUTABLE_SUFFIX}" LLVM_AS) 10 + -file(TO_NATIVE_PATH "${LLVM_TOOLS_BINARY_DIR}/llvm-nm${CMAKE_EXECUTABLE_SUFFIX}" LLVM_NM) 11 + -file(TO_NATIVE_PATH "${LLVM_TOOLS_BINARY_DIR}/clang${CMAKE_EXECUTABLE_SUFFIX}" CLANG) 12 + -file(TO_NATIVE_PATH "${LLVM_TOOLS_BINARY_DIR}/llvm-config${CMAKE_EXECUTABLE_SUFFIX}" LLVM_CONFIG) 13 + +find_program(LLVM_AS llvm-as HINTS ${LLVM_TOOLS_BINARY_DIR}) 14 + +find_program(LLVM_NM llvm-nm HINTS ${LLVM_TOOLS_BINARY_DIR}) 15 + +find_program(CLANG clang HINTS ${LLVM_TOOLS_BINARY_DIR}) 16 + +find_program(LLVM_CONFIG llvm-config HINTS ${LLVM_TOOLS_BINARY_DIR}) 17 + 18 + # LLVM doesn't appear to expose --system-libs via its CMake interface, 19 + # so we must shell out to llvm-config to find this info 20 + diff --git a/apps/linear_algebra/CMakeLists.txt b/apps/linear_algebra/CMakeLists.txt 21 + index 132c80e6a..36ce865f2 100644 22 + --- a/apps/linear_algebra/CMakeLists.txt 23 + +++ b/apps/linear_algebra/CMakeLists.txt 24 + @@ -26,7 +26,7 @@ if (CBLAS_FOUND) 25 + # Atlas requires also linking against its provided libcblas for cblas symbols 26 + set(ATLAS_EXTRA_LIBS cblas) # XXX fragile 27 + set(OpenBLAS_EXTRA_LIBS) 28 + - set(BLAS_VENDORS OpenBLAS ATLAS) 29 + + set(BLAS_VENDORS OpenBLAS) 30 + 31 + # TODO 32 + # there are more vendors we could add here that support the cblas interface 33 + @@ -41,6 +41,7 @@ if (CBLAS_FOUND) 34 + message(STATUS " ${BLAS_VENDOR}: Missing") 35 + else() 36 + message(STATUS " ${BLAS_VENDOR}: Found") 37 + + set(BLAS_LIBRARIES "${BLAS_LIBRARIES}" CACHE FILEPATH "BLAS library to use") 38 + list(APPEND BLAS_VENDORS ${NAME}) 39 + endif() 40 + endforeach() 41 + diff --git a/apps/linear_algebra/tests/CMakeLists.txt b/apps/linear_algebra/tests/CMakeLists.txt 42 + index 4b95eb3bb..1daa97437 100644 43 + --- a/apps/linear_algebra/tests/CMakeLists.txt 44 + +++ b/apps/linear_algebra/tests/CMakeLists.txt 45 + @@ -19,6 +19,6 @@ target_compile_options(test_halide_blas PRIVATE -Wno-unused-variable) 46 + target_link_libraries(test_halide_blas 47 + PRIVATE 48 + halide_blas 49 + - cblas # XXX fragile 50 + + ${BLAS_LIBRARIES} 51 + Halide 52 + ) 53 + -- 54 + 2.15.0 55 +
+2 -1
pkgs/development/compilers/llvm/5/llvm.nix
··· 129 129 ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${release_version}.dylib 130 130 ''; 131 131 132 - doCheck = stdenv.isLinux && (!stdenv.isi686); 132 + doCheck = stdenv.isLinux && (!stdenv.isi686) 133 + && (stdenv.hostPlatform == stdenv.targetPlatform); 133 134 134 135 checkTarget = "check-all"; 135 136
+2 -1
pkgs/development/compilers/llvm/6/llvm.nix
··· 130 130 ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${release_version}.dylib 131 131 ''; 132 132 133 - doCheck = stdenv.isLinux && (!stdenv.isi686); 133 + doCheck = stdenv.isLinux && (!stdenv.isi686) 134 + && (stdenv.hostPlatform == stdenv.targetPlatform); 134 135 135 136 checkTarget = "check-all"; 136 137
+1 -1
pkgs/development/compilers/mint/crystal2nix.cr
··· 7 7 8 8 class ShardLock 9 9 YAML.mapping( 10 - version: String, 10 + version: Float32, 11 11 shards: Hash(String, Hash(String, String)) 12 12 ) 13 13 end
+3 -3
pkgs/development/compilers/mint/default.nix
··· 28 28 }; 29 29 in 30 30 stdenv.mkDerivation rec { 31 - version = "0.1.0"; 31 + version = "0.2.0"; 32 32 name = "mint-${version}"; 33 33 src = fetchFromGitHub { 34 34 owner = "mint-lang"; 35 35 repo = "mint"; 36 - rev = "0.1.0"; 37 - sha256 = "0n9lnkm2k8lv3wcw0jc7bcpgvcjyp3a8cywn0w7ipb22q8cl0n96"; 36 + rev = "0.2.0"; 37 + sha256 = "1ds9zrvbmnfy744i9ri6v4w37aw7ccmdxzxmy8l97h045hzz9cp3"; 38 38 }; 39 39 40 40 buildInputs = [ crystal zlib openssl duktape ];
+18 -6
pkgs/development/compilers/mint/shards.nix
··· 2 2 admiral = { 3 3 owner = "jwaldrip"; 4 4 repo = "admiral.cr"; 5 - rev = "v1.6.1"; 6 - sha256 = "0y30b9b9rkz43afd3b9l24hs0r170qyc07r05kvydbv89376c53i"; 5 + rev = "v1.7.2"; 6 + sha256 = "1j2cr4p3d44848v0gfl97p9kw2dslscnb1piyb7b3374iy345i0k"; 7 7 }; 8 8 ameba = { 9 9 owner = "veelenga"; ··· 14 14 baked_file_system = { 15 15 owner = "schovi"; 16 16 repo = "baked_file_system"; 17 - rev = "e1447549d5ac0560720fae62179b2f2c62c9bfd1"; 18 - sha256 = "1fi6zag1a6h4xwrfizy01dls3hhraqw0cmpwj7rjv1qcddjgig5z"; 17 + rev = "24dbaf2180b872c0f0fc777b34e3759108959e6e"; 18 + sha256 = "01p7hzsvms9cywdgs0rcs6mxdi94491wk55823fw2vxv24hvxnvk"; 19 + }; 20 + diff = { 21 + owner = "MakeNowJust"; 22 + repo = "crystal-diff"; 23 + rev = "51962dc36f9bbb1b926d557f7cb8993a6c73cc63"; 24 + sha256 = "1nwnsxm8srfw8jg0yfi2v19x6j3dadx62hq0xpxra40qcqz9dbnp"; 19 25 }; 20 26 duktape = { 21 27 owner = "jessedoyle"; ··· 23 29 rev = "v0.14.1"; 24 30 sha256 = "0fkay3qspzych050xl8xjkrphmxpzaj0dcf9jl22xwz8cx1l89f1"; 25 31 }; 32 + exception_page = { 33 + owner = "crystal-loot"; 34 + repo = "exception_page"; 35 + rev = "v0.1.1"; 36 + sha256 = "0pimjm64p21cjhp0jhcgdmbgisx7amk8hhbkcprkbr44bj6rv9ay"; 37 + }; 26 38 kemal = { 27 39 owner = "kemalcr"; 28 40 repo = "kemal"; 29 - rev = "a5870e7d24e5ec75c956bcf3e4423f55a2c4ff78"; 30 - sha256 = "1f2bm4xmfg6zqs3a8744pbk1vx964flf17g1mj01yslfcnzxywal"; 41 + rev = "09bb1fcd4073a374b3a61c99e48e05a866b23c08"; 42 + sha256 = "0yyb59i897gr8cqjbf48d6s0znq68ibpxarxkxkgrqk7lbvrqqr7"; 31 43 }; 32 44 kilt = { 33 45 owner = "jeromegn";
+4 -15
pkgs/development/interpreters/php/default.nix
··· 9 9 with lib; 10 10 11 11 let 12 - php7 = versionAtLeast version "7.0"; 13 12 generic = 14 13 { version 15 14 , sha256 16 15 , imapSupport ? config.php.imap or (!stdenv.isDarwin) 17 16 , ldapSupport ? config.php.ldap or true 18 17 , mhashSupport ? config.php.mhash or true 19 - , mysqlSupport ? (config.php.mysql or true) && (!php7) 18 + , mysqlSupport ? (config.php.mysql or true) 20 19 , mysqlndSupport ? config.php.mysqlnd or true 21 20 , mysqliSupport ? config.php.mysqli or true 22 21 , pdo_mysqlSupport ? config.php.pdo_mysql or true ··· 26 25 , bcmathSupport ? config.php.bcmath or true 27 26 , socketsSupport ? config.php.sockets or true 28 27 , curlSupport ? config.php.curl or true 29 - , curlWrappersSupport ? (config.php.curlWrappers or true) && (!php7) 28 + , curlWrappersSupport ? config.php.curlWrappers or true 30 29 , gettextSupport ? config.php.gettext or true 31 30 , pcntlSupport ? config.php.pcntl or true 32 31 , postgresqlSupport ? config.php.postgresql or true ··· 47 46 , ftpSupport ? config.php.ftp or true 48 47 , fpmSupport ? config.php.fpm or true 49 48 , gmpSupport ? config.php.gmp or true 50 - , mssqlSupport ? (config.php.mssql or (!stdenv.isDarwin)) && (!php7) 49 + , mssqlSupport ? config.php.mssql or (!stdenv.isDarwin) 51 50 , ztsSupport ? config.php.zts or false 52 51 , calendarSupport ? config.php.calendar or true 53 52 , sodiumSupport ? (config.php.sodium or true) && (versionAtLeast version "7.2") ··· 207 206 outputsToInstall = [ "out" "dev" ]; 208 207 }; 209 208 210 - patches = if !php7 then [ ./fix-paths.patch ] else [ ./fix-paths-php7.patch ]; 209 + patches = [ ./fix-paths-php7.patch ]; 211 210 212 211 postPatch = optional stdenv.isDarwin '' 213 212 substituteInPlace configure --replace "-lstdc++" "-lc++" ··· 220 219 }; 221 220 222 221 in { 223 - php56 = generic { 224 - version = "5.6.36"; 225 - sha256 = "0ahp9vk33dpsqgld0gg4npff67v0l39hs3wk5dm6h3lablzhwsk2"; 226 - }; 227 - 228 - php70 = generic { 229 - version = "7.0.30"; 230 - sha256 = "0l0bhnlgxmfl7mrdykmxfl53simxsksdcnbg5ymqz6r31i03hgr1"; 231 - }; 232 - 233 222 php71 = generic { 234 223 version = "7.1.20"; 235 224 sha256 = "0i8xd6p4zdg8fl6f0j430raanlshsshr3s3jlm72b0gvi1n4f6rs";
-68
pkgs/development/interpreters/php/fix-paths.patch
··· 1 - diff -ru php-5.4.14/configure php-5.4.14-new/configure 2 - --- php-5.4.14/configure 2013-04-10 09:53:26.000000000 +0200 3 - +++ php-5.4.14-new/configure 2013-04-22 17:13:55.039043622 +0200 4 - @@ -6513,7 +6513,7 @@ 5 - 6 - case $host_alias in 7 - *aix*) 8 - - APXS_LIBEXECDIR=`$APXS -q LIBEXECDIR` 9 - + APXS_LIBEXECDIR="$prefix/modules" 10 - EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-brtl -Wl,-bI:$APXS_LIBEXECDIR/httpd.exp" 11 - PHP_AIX_LDFLAGS="-Wl,-brtl" 12 - build_type=shared 13 - @@ -6706,7 +6706,7 @@ 14 - if test "$?" != "0"; then 15 - APACHE_INSTALL="$APXS -i -a -n php5 $SAPI_SHARED" # Old apxs does not have -S option 16 - else 17 - - APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR` 18 - + APXS_LIBEXECDIR="$prefix/modules" 19 - if test -z `$APXS -q SYSCONFDIR`; then 20 - APACHE_INSTALL="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \ 21 - $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \ 22 - @@ -7909,7 +7909,7 @@ 23 - { (exit 1); exit 1; }; } 24 - fi 25 - 26 - - APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR` 27 - + APXS_LIBEXECDIR="$prefix/modules" 28 - if test -z `$APXS -q SYSCONFDIR`; then 29 - INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \ 30 - $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \ 31 - @@ -8779,7 +8779,7 @@ 32 - { (exit 1); exit 1; }; } 33 - fi 34 - 35 - - APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR` 36 - + APXS_LIBEXECDIR="$prefix/modules" 37 - if test -z `$APXS -q SYSCONFDIR`; then 38 - INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \ 39 - $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \ 40 - @@ -9634,7 +9634,7 @@ 41 - 42 - case $host_alias in 43 - *aix*) 44 - - APXS_LIBEXECDIR=`$APXS -q LIBEXECDIR` 45 - + APXS_LIBEXECDIR="$prefix/modules" 46 - EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-brtl -Wl,-bI:$APXS_LIBEXECDIR/httpd.exp" 47 - PHP_AIX_LDFLAGS="-Wl,-brtl" 48 - build_type=shared 49 - @@ -9827,7 +9827,7 @@ 50 - if test "$?" != "0"; then 51 - APACHE_HOOKS_INSTALL="$APXS -i -a -n php5 $SAPI_SHARED" # Old apxs does not have -S option 52 - else 53 - - APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR` 54 - + APXS_LIBEXECDIR="$prefix/modules" 55 - if test -z `$APXS -q SYSCONFDIR`; then 56 - APACHE_HOOKS_INSTALL="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \ 57 - $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \ 58 - @@ -59657,9 +59657,7 @@ 59 - 60 - 61 - if test "$PHP_GETTEXT" != "no"; then 62 - - for i in $PHP_GETTEXT /usr/local /usr; do 63 - - test -r $i/include/libintl.h && GETTEXT_DIR=$i && break 64 - - done 65 - + GETTEXT_DIR=$PHP_GETTEXT 66 - 67 - if test -z "$GETTEXT_DIR"; then 68 - { { $as_echo "$as_me:$LINENO: error: Cannot locate header file libintl.h" >&5
+3 -1
pkgs/development/libraries/ffmpeg-full/default.nix
··· 68 68 , ladspaH ? null # LADSPA audio filtering 69 69 , lame ? null # LAME MP3 encoder 70 70 , libass ? null # (Advanced) SubStation Alpha subtitle rendering 71 + , libaom ? null # AV1 encoder 71 72 , libbluray ? null # BluRay reading 72 73 , libbs2b ? null # bs2b DSP library 73 74 , libcaca ? null # Textual display (ASCII art) ··· 334 335 #(enableFeature (ilbc != null) "libilbc") 335 336 (enableFeature (ladspaH !=null) "ladspa") 336 337 (enableFeature (lame != null) "libmp3lame") 338 + (enableFeature (libaom != null) "libaom") 337 339 (enableFeature (libass != null) "libass") 338 340 #(enableFeature (libavc1394 != null) null null) 339 341 (enableFeature (libbluray != null) "libbluray") ··· 407 409 408 410 buildInputs = [ 409 411 bzip2 celt fontconfig freetype frei0r fribidi game-music-emu gnutls gsm 410 - libjack2 ladspaH lame libass libbluray libbs2b libcaca libdc1394 libmodplug libmysofa 412 + libjack2 ladspaH lame libaom libass libbluray libbs2b libcaca libdc1394 libmodplug libmysofa 411 413 libogg libopus libssh libtheora libvdpau libvorbis libvpx libwebp libX11 412 414 libxcb libXv lzma openal openjpeg libpulseaudio rtmpdump opencore-amr 413 415 samba SDL2 soxr speex vid-stab vo-amrwbenc wavpack x264 x265 xavs xvidcore
+2 -2
pkgs/development/libraries/ffmpeg/3.4.nix
··· 6 6 7 7 callPackage ./generic.nix (args // rec { 8 8 version = "${branch}"; 9 - branch = "3.4.3"; 10 - sha256 = "0s2p2bcrywlya4wjlyzi1382vngkiijjvjr6ms64xww5jplwmhmk"; 9 + branch = "3.4.4"; 10 + sha256 = "0xmcijcpa7b59ws5ycmnp0a3pjmnpgly0zv8yff6if4p7pw7406f"; 11 11 darwinFrameworks = [ Cocoa CoreMedia ]; 12 12 })
+2 -2
pkgs/development/libraries/libdazzle/default.nix
··· 2 2 , gtk-doc, docbook_xsl, dbus, xvfb_run, glib, gtk3, gnome3 }: 3 3 4 4 let 5 - version = "3.28.3"; 5 + version = "3.28.5"; 6 6 pname = "libdazzle"; 7 7 in 8 8 stdenv.mkDerivation { ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://gnome/sources/libdazzle/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 16 - sha256 = "0q8apibs99yvrwdxlknq4nayss88wsj0rp5fv2x4hh0bgfw8i7w7"; 16 + sha256 = "08qdwv2flywnh6kibkyv0pnm67pk8xlmjh4yqx6hf13hyhkxkqgg"; 17 17 }; 18 18 19 19 nativeBuildInputs = [ ninja meson pkgconfig vala gobjectIntrospection libxml2 gtk-doc docbook_xsl dbus xvfb_run ];
+39
pkgs/development/libraries/liblinear/default.nix
··· 1 + {stdenv, fetchurl}: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "liblinear-${version}"; 5 + version = "2.20"; 6 + 7 + src = fetchurl { 8 + url = "https://www.csie.ntu.edu.tw/~cjlin/liblinear/liblinear-${version}.tar.gz"; 9 + sha256 = "13q48azqy9pd8jyhk0c2hzj5xav1snbdrj8pp38vwrv2wwhfz7rz"; 10 + }; 11 + 12 + buildPhase = '' 13 + make 14 + make lib 15 + ''; 16 + 17 + installPhase = let 18 + libSuff = stdenv.hostPlatform.extensions.sharedLibrary; 19 + in '' 20 + mkdir -p $out/lib $out/bin $out/include 21 + cp liblinear.so.3 $out/lib/liblinear.3${libSuff} 22 + ln -s $out/lib/liblinear.3${libSuff} $out/lib/liblinear${libSuff} 23 + cp train $out/bin/liblinear-train 24 + cp predict $out/bin/liblinear-predict 25 + cp linear.h $out/include 26 + ''; 27 + 28 + postFixup = stdenv.lib.optionalString stdenv.isDarwin '' 29 + install_name_tool -id liblinear.3.dylib $out/lib/liblinear.3.dylib 30 + ''; 31 + 32 + meta = with stdenv.lib; { 33 + description = "A library for large linear classification"; 34 + homepage = https://www.csie.ntu.edu.tw/~cjlin/liblinear/; 35 + license = licenses.bsd3; 36 + maintainers = [ maintainers.danieldk ]; 37 + platforms = platforms.unix; 38 + }; 39 + }
+2 -1
pkgs/development/ocaml-modules/janestreet/default.nix
··· 284 284 }; 285 285 286 286 core_kernel = janePackage { 287 + version = "0.11.1"; 287 288 name = "core_kernel"; 288 - hash = "0xaw8189i9z72fvzbxfv1qrf4wvj8v45bl7g3z7ynsqkvh6smr7d"; 289 + hash = "1dg7ygy7i64c5gaakb1cp1b26p9ks81vbxmb8fd7jff2q60j2z2g"; 289 290 propagatedBuildInputs = [ configurator jane-street-headers sexplib splittable_random ]; 290 291 meta.description = "Jane Street's standard library overlay (kernel)"; 291 292 };
+6 -4
pkgs/development/ocaml-modules/lambda-term/default.nix
··· 1 - { stdenv, fetchurl, libev, ocaml, findlib, jbuilder, zed, lwt_react }: 1 + { stdenv, fetchurl, libev, ocaml, findlib, jbuilder 2 + , zed, lwt_log, lwt_react 3 + }: 2 4 3 5 assert stdenv.lib.versionAtLeast ocaml.version "4.02"; 4 6 5 7 stdenv.mkDerivation rec { 6 - version = "1.12.0"; 8 + version = "1.13"; 7 9 name = "ocaml${ocaml.version}-lambda-term-${version}"; 8 10 9 11 src = fetchurl { 10 12 url = "https://github.com/diml/lambda-term/archive/${version}.tar.gz"; 11 - sha256 = "129m5jb015rqm6k3k25m1i2217vhz26n8sa7z113vjv4gs0bcd3d"; 13 + sha256 = "1hy5ryagqclgdm9lzh1qil5mrynlypv7mn6qm858hdcnmz9zzn0l"; 12 14 }; 13 15 14 16 buildInputs = [ libev ocaml findlib jbuilder ]; 15 17 16 - propagatedBuildInputs = [ zed lwt_react ]; 18 + propagatedBuildInputs = [ zed lwt_log lwt_react ]; 17 19 18 20 buildPhase = "jbuilder build -p lambda-term"; 19 21
+2 -2
pkgs/development/ocaml-modules/uucp/default.nix
··· 2 2 3 3 let 4 4 pname = "uucp"; 5 - version = "10.0.1"; 5 + version = "11.0.0"; 6 6 webpage = "http://erratique.ch/software/${pname}"; 7 7 in 8 8 ··· 14 14 15 15 src = fetchurl { 16 16 url = "${webpage}/releases/${pname}-${version}.tbz"; 17 - sha256 = "0qgbrx3lnrzii8a9f0hv4kp73y57q6fr79hskxxxs70q68j2xpfm"; 17 + sha256 = "0pidg2pmqsifmk4xx9cc5p5jprhg26xb68g1xddjm7sjzbdzhlm4"; 18 18 }; 19 19 20 20 buildInputs = [ ocaml findlib ocamlbuild topkg uutf uunf ];
+3 -2
pkgs/development/ocaml-modules/uunf/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 name = "ocaml-${pname}-${version}"; 11 - version = "10.0.0"; 11 + version = "11.0.0"; 12 12 13 13 src = fetchurl { 14 14 url = "${webpage}/releases/${pname}-${version}.tbz"; 15 - sha256 = "0c5lwica5668ybsffllk6x4p921nw4pljimgqikhf17k5hvyjsbr"; 15 + sha256 = "1j0v3dg19sq13fmbx4kzy3n1hjiv7hkm1ysxyrdva430jvqw23df"; 16 16 }; 17 17 18 18 buildInputs = [ ocaml findlib ocamlbuild topkg uutf cmdliner ]; ··· 29 29 platforms = ocaml.meta.platforms or []; 30 30 license = licenses.bsd3; 31 31 maintainers = [ maintainers.vbgl ]; 32 + broken = stdenv.isAarch64; 32 33 }; 33 34 }
+2 -2
pkgs/development/ocaml-modules/uuseg/default.nix
··· 8 8 stdenv.mkDerivation rec { 9 9 10 10 name = "ocaml${ocaml.version}-${pname}-${version}"; 11 - version = "10.0.0"; 11 + version = "11.0.0"; 12 12 13 13 src = fetchurl { 14 14 url = "${webpage}/releases/${pname}-${version}.tbz"; 15 - sha256 = "01q8ljjgi7d73x7ms489b5my83xds4jax1vbjhwwjdai01friscc"; 15 + sha256 = "17mn8p9pn340kmvfgnl1m64zbpy60r6svkwsdn2lcg3yi2jlbrwp"; 16 16 }; 17 17 18 18 buildInputs = [ ocaml findlib ocamlbuild cmdliner topkg uutf ];
+22
pkgs/development/python-modules/aspy.yaml/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi, pyyaml }: 2 + 3 + buildPythonPackage rec { 4 + pname = "aspy.yaml"; 5 + version = "1.1.1"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "1ajb97kn044ximkzq2090h4yblrhw77540pwiw345cp7mwzy4xqa"; 10 + }; 11 + 12 + propagatedBuildInputs = [ pyyaml ]; 13 + 14 + # Tests not included in PyPI tarball 15 + doCheck = false; 16 + 17 + meta = with lib; { 18 + description = "A few extensions to pyyaml"; 19 + homepage = https://github.com/asottile/aspy.yaml; 20 + license = licenses.mit; 21 + }; 22 + }
+22
pkgs/development/python-modules/cfgv/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi, six }: 2 + 3 + buildPythonPackage rec { 4 + pname = "cfgv"; 5 + version = "1.1.0"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "1akm5xdbi5kckgnhhfj6qavjwakm44cwqzhfx2ycgh7mkym1qyfi"; 10 + }; 11 + 12 + propagatedBuildInputs = [ six ]; 13 + 14 + # Tests not included in PyPI tarball 15 + doCheck = false; 16 + 17 + meta = with lib; { 18 + description = "Validate configuration and produce human readable error messages"; 19 + homepage = https://github.com/asottile/cfgv; 20 + license = licenses.mit; 21 + }; 22 + }
+32
pkgs/development/python-modules/fastpair/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest, scipy }: 2 + 3 + buildPythonPackage { 4 + pname = "fastpair"; 5 + version = "2016-07-05"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "carsonfarmer"; 9 + repo = "fastpair"; 10 + rev = "92364962f6b695661f35a117bf11f96584128a8d"; 11 + sha256 = "1pv9sxycxdk567s5gs947rhlqngrb9nn9yh4dhdvg1ix1i8dca71"; 12 + }; 13 + 14 + buildInputs = [ pytestrunner ]; 15 + 16 + checkInputs = [ pytest ]; 17 + 18 + propagatedBuildInputs = [ 19 + scipy 20 + ]; 21 + 22 + checkPhase = '' 23 + py.test fastpair 24 + ''; 25 + 26 + meta = with stdenv.lib; { 27 + homepage = https://github.com/carsonfarmer/fastpair; 28 + description = "Data-structure for the dynamic closest-pair problem"; 29 + license = licenses.mit; 30 + maintainers = with maintainers; [ cmcdragonkai ]; 31 + }; 32 + }
+3 -1
pkgs/development/python-modules/futures/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy3k, python }: 1 + { lib, buildPythonPackage, fetchPypi, isPy3k, python, stdenv }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "futures"; ··· 15 15 checkPhase = '' 16 16 ${python.interpreter} test_futures.py 17 17 ''; 18 + 19 + doCheck = !stdenv.isDarwin; 18 20 19 21 meta = with lib; { 20 22 description = "Backport of the concurrent.futures package from Python 3.2";
+20
pkgs/development/python-modules/identify/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi }: 2 + 3 + buildPythonPackage rec { 4 + pname = "identify"; 5 + version = "1.1.4"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "0hvwfpf6fmgn93abrvj88pi7sbcib32s4c5r99lw67kbziq5x129"; 10 + }; 11 + 12 + # Tests not included in PyPI tarball 13 + doCheck = false; 14 + 15 + meta = with lib; { 16 + description = "File identification library for Python"; 17 + homepage = https://github.com/chriskuehl/identify; 18 + license = licenses.mit; 19 + }; 20 + }
+2 -2
pkgs/development/python-modules/mysql-connector/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "mysql-connector"; 7 - version = "8.0.11"; 7 + version = "8.0.12"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "mysql"; 11 11 repo = "mysql-connector-python"; 12 12 rev = version; 13 - sha256 = "0w5sxy0zdkdj5cj35wwfjy9y8yn5yzk9biwwsglvhkqlkrms8fw1"; 13 + sha256 = "1i3148dka4zfqzz4n4n5k0qaqbc585bdpmjwgx5vp6iiv7pgvrxp"; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ protobuf ];
+20
pkgs/development/python-modules/nodeenv/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi }: 2 + 3 + buildPythonPackage rec { 4 + pname = "nodeenv"; 5 + version = "1.3.2"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "0vs9nyf9w3655j1vv3abxj4vbig61c0hjmhpfb91gblv32shl15a"; 10 + }; 11 + 12 + # Tests not included in PyPI tarball 13 + doCheck = false; 14 + 15 + meta = with lib; { 16 + description = "Node.js virtual environment builder"; 17 + homepage = https://github.com/ekalinin/nodeenv; 18 + license = licenses.bsd3; 19 + }; 20 + }
+7 -8
pkgs/development/python-modules/python-jose/default.nix
··· 1 1 { stdenv, buildPythonPackage, fetchFromGitHub 2 - , future, six, ecdsa, pycryptodome, pytest, cryptography 2 + , six, ecdsa, rsa, future, pytest, cryptography, pycryptodome 3 3 }: 4 4 5 5 buildPythonPackage rec { 6 6 pname = "python-jose"; 7 - version = "2.0.2"; 7 + version = "3.0.0"; 8 8 9 9 # no tests in PyPI tarball 10 10 src = fetchFromGitHub { 11 11 owner = "mpdavis"; 12 12 repo = "python-jose"; 13 - # 2.0.2 not tagged on GitHub 14 - # see https://github.com/mpdavis/python-jose/issues/86 15 - rev = "28cc6719eceb89129eed59c25f7bdac015665bdd"; 16 - sha256 = "03wkq2rszy0rzy5gygsh4s7i6ls8zflgbcvxnflvmh7nis7002fp"; 13 + rev = version; 14 + sha256 = "1dq8v87abqxv07wi403ywjk9jg1da125fviycqzki48cjxx0dhwj"; 17 15 }; 18 16 19 17 checkInputs = [ 20 18 pytest 21 - cryptography # optional dependency, but needed in tests 19 + # optional dependencies, but needed in tests 20 + cryptography pycryptodome 22 21 ]; 23 22 checkPhase = '' 24 23 py.test 25 24 ''; 26 25 27 - propagatedBuildInputs = [ future six ecdsa pycryptodome ]; 26 + propagatedBuildInputs = [ six ecdsa rsa future ]; 28 27 29 28 meta = with stdenv.lib; { 30 29 homepage = https://github.com/mpdavis/python-jose;
+29
pkgs/development/python-modules/slackclient/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchFromGitHub, websocket_client, requests, six, pytest, codecov, coverage, mock, pytestcov, pytest-mock, responses, flake8 }: 2 + 3 + buildPythonPackage rec { 4 + pname = "python-slackclient"; 5 + version = "1.2.1"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "slackapi"; 9 + repo = pname; 10 + rev = "${version}"; 11 + sha256 = "073fwf6fm2sqdp5ms3vm1v3ljh0pldi69k048404rp6iy3cfwkp0"; 12 + }; 13 + 14 + propagatedBuildInputs = [ websocket_client requests six ]; 15 + 16 + checkInputs = [ pytest codecov coverage mock pytestcov pytest-mock responses flake8 ]; 17 + # test_server.py fails because it needs connection (I think); 18 + checkPhase = '' 19 + py.test --cov-report= --cov=slackclient tests --ignore=tests/test_server.py 20 + ''; 21 + 22 + meta = with stdenv.lib; { 23 + description = "A client for Slack, which supports the Slack Web API and Real Time Messaging (RTM) API"; 24 + homepage = https://github.com/slackapi/python-slackclient; 25 + license = licenses.mit; 26 + maintainers = with maintainers; [ psyanticy ]; 27 + }; 28 + } 29 +
+17
pkgs/development/tools/analysis/brakeman/default.nix
··· 1 + { lib, ruby, buildRubyGem }: 2 + 3 + buildRubyGem rec { 4 + inherit ruby; 5 + name = "${gemName}-${version}"; 6 + gemName = "brakeman"; 7 + version = "4.3.1"; 8 + source.sha256 = "1y4i4vw7hawypvgg04s544fqx52ml67h9zxsaqm8w5hvxmb20wkh"; 9 + 10 + meta = with lib; { 11 + description = "Static analysis security scanner for Ruby on Rails"; 12 + homepage = https://brakemanscanner.org/; 13 + license = [ licenses.cc-by-nc-sa-40 licenses.mit ]; 14 + platforms = ruby.meta.platforms; 15 + maintainers = [ maintainers.marsam ]; 16 + }; 17 + }
+2 -2
pkgs/development/tools/continuous-integration/jenkins/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "jenkins-${version}"; 5 - version = "2.107.3"; 5 + version = "2.121.2"; 6 6 7 7 src = fetchurl { 8 8 url = "http://mirrors.jenkins.io/war-stable/${version}/jenkins.war"; 9 - sha256 = "1f4sz1dqcfypdywdwcz4byjmir7ismcpzg2hbgg6pcf5pq4yba8p"; 9 + sha256 = "00ln31ahhsihnxba2hldrjxdpyxl7xw731493a24cqlkdq89s3ys"; 10 10 }; 11 11 12 12 buildCommand = ''
+22
pkgs/development/tools/mustache-go/default.nix
··· 1 + { stdenv, buildGoPackage, fetchFromGitHub }: 2 + 3 + buildGoPackage rec { 4 + name = "mustache-go-${version}"; 5 + version = "1.0.1"; 6 + 7 + goPackagePath = "github.com/cbroglie/mustache"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "cbroglie"; 11 + repo = "mustache"; 12 + rev = "v${version}"; 13 + sha256 = "1aywj4fijsv66n6gjiz3l8g1vg0fqzwbf8dcdcgfsvsdb056p90v"; 14 + }; 15 + 16 + meta = with stdenv.lib; { 17 + homepage = https://github.com/cbroglie/mustache; 18 + description = "The mustache template language in Go"; 19 + license = [ licenses.mit ]; 20 + maintainers = [ maintainers.Zimmi48 ]; 21 + }; 22 + }
+3
pkgs/development/tools/ocaml/camlp4/default.nix
··· 16 16 "4.06" = { 17 17 version = "4.06+1"; 18 18 sha256 = "0fazfw2l7wdmbwnqc22xby5n4ri1wz27lw9pfzhsbcdrighykysf"; }; 19 + "4.07" = { 20 + version = "4.07+1"; 21 + sha256 = "0cxl4hkqcvspvkx4f2k83217rh6051fll9i2yz7cw6m3bq57mdvl"; }; 19 22 }."${ocaml.meta.branch}"; 20 23 in 21 24
+27
pkgs/development/tools/rust/cargo-asm/default.nix
··· 1 + { stdenv, fetchFromGitHub, rustPlatform }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + name = "cargo-asm-${version}"; 5 + version = "0.1.16"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "gnzlbg"; 9 + repo = "cargo-asm"; 10 + rev = "7d0ece74657edb002bd8530227b829b31fd19dcd"; 11 + sha256 = "0mzbh5zw5imlaagm5zjbjk9kqdnglm398rxkqisd22h6569ppqpc"; 12 + }; 13 + 14 + cargoSha256 = "1m2j6i8hc8isdlj77gv9m6sk6q0x3bvzpva2k16g27i1ngy1989b"; 15 + 16 + # Test checks against machine code output, which fails with some 17 + # LLVM/compiler versions. 18 + doCheck = false; 19 + 20 + meta = with stdenv.lib; { 21 + description = "Display the assembly or LLVM-IR generated for Rust source code"; 22 + homepage = https://github.com/gnzlbg/cargo-asm; 23 + license = licenses.mit; 24 + maintainers = [ maintainers.danieldk ]; 25 + platforms = platforms.all; 26 + }; 27 + }
+4 -3
pkgs/development/tools/yarn/default.nix
··· 1 - { stdenv, nodejs, fetchzip, makeWrapper }: 1 + { stdenv, nodejs, fetchzip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "yarn-${version}"; ··· 9 9 sha256 = "0bk006zs1bk6nwj9x07ry314fgxi21sk79h1paljbs6yzrv62h4g"; 10 10 }; 11 11 12 - buildInputs = [ makeWrapper nodejs ]; 12 + buildInputs = [ nodejs ]; 13 13 14 14 installPhase = '' 15 15 mkdir -p $out/{bin,libexec/yarn/} 16 16 cp -R . $out/libexec/yarn 17 - makeWrapper $out/libexec/yarn/bin/yarn.js $out/bin/yarn 17 + ln -s $out/libexec/yarn/bin/yarn.js $out/bin/yarn 18 + ln -s $out/libexec/yarn/bin/yarn.js $out/bin/yarnpkg 18 19 ''; 19 20 20 21 meta = with stdenv.lib; {
+1 -1
pkgs/games/scummvm/default.nix
··· 28 28 29 29 # They use 'install -s', that calls the native strip instead of the cross 30 30 postConfigure = '' 31 - sed -i "s/-c -s/-c -s --strip-program=''${STRIP@Q}" ports.mk 31 + sed -i "s/-c -s/-c -s --strip-program=''${STRIP@Q}/" ports.mk 32 32 ''; 33 33 34 34 meta = with stdenv.lib; {
+11
pkgs/misc/cups/filters.nix
··· 2 2 , libjpeg, libpng, perl, ijs, qpdf, dbus, avahi 3 3 , makeWrapper, coreutils, gnused, bc, gawk, gnugrep, which, ghostscript 4 4 , mupdf 5 + , fetchpatch 5 6 }: 6 7 7 8 let ··· 15 16 url = "https://openprinting.org/download/cups-filters/${name}.tar.xz"; 16 17 sha256 = "0sjkmclcb1r77015wllsyz26272br3s17v6b1q2xwb2nm2gnwx9k"; 17 18 }; 19 + 20 + patches = [ 21 + # This patch fixes cups-filters when compiled with poppler-0.67.0. 22 + # Issue: https://github.com/OpenPrinting/cups-filters/pull/50 23 + # PR: https://github.com/OpenPrinting/cups-filters/pull/51 24 + (fetchpatch { 25 + url = "https://github.com/OpenPrinting/cups-filters/commit/219de01c61f3b1ec146abf142d0dfc8c560cc58e.patch"; 26 + sha256 = "0f0lql3rbm2g8mxrpigfyi8fb4i2g4av20g417jzdilp60jq0ny8"; 27 + }) 28 + ]; 18 29 19 30 nativeBuildInputs = [ pkgconfig makeWrapper ]; 20 31
+52
pkgs/misc/scrcpy/default.nix
··· 1 + { stdenv, fetchurl, fetchFromGitHub, makeWrapper 2 + , meson 3 + , ninja 4 + , pkgconfig 5 + 6 + , platformTools 7 + , ffmpeg 8 + , SDL2 9 + }: 10 + 11 + let 12 + version = "1.2"; 13 + prebuilt_server = fetchurl { 14 + url = "https://github.com/Genymobile/scrcpy/releases/download/v${version}/scrcpy-server-v${version}.jar"; 15 + sha256 = "0q0zyqw7y33r9ybjp8ay6yac7ifca1lq14pjvw6x78zxs976affb"; 16 + }; 17 + in 18 + stdenv.mkDerivation rec { 19 + name = "scrcpy-${version}"; 20 + inherit version; 21 + src = fetchFromGitHub { 22 + owner = "Genymobile"; 23 + repo = "scrcpy"; 24 + rev = "v${version}"; 25 + sha256 = "01zw6h6mz2cwqfh9lwypm8pbfx9m9df91l1fq1i0f1d8v49x8wqc"; 26 + }; 27 + 28 + nativeBuildInputs = [ makeWrapper meson ninja pkgconfig ]; 29 + 30 + buildInputs = [ ffmpeg SDL2 ]; 31 + 32 + # Manually install the server jar to prevent Meson from "fixing" it 33 + preConfigure = '' 34 + echo -n > server/meson.build 35 + ''; 36 + 37 + postInstall = '' 38 + mkdir -p "$out/share/scrcpy" 39 + ln -s "${prebuilt_server}" "$out/share/scrcpy/scrcpy-server.jar" 40 + 41 + # runtime dep on `adb` to push the server 42 + wrapProgram "$out/bin/scrcpy" --prefix PATH : "${platformTools}/bin" 43 + ''; 44 + 45 + meta = with stdenv.lib; { 46 + description = "Display and control Android devices over USB or TCP/IP"; 47 + homepage = https://github.com/Genymobile/scrcpy; 48 + license = licenses.asl20; 49 + platforms = platforms.unix; 50 + maintainers = with maintainers; [ deltaevo lukeadams ]; 51 + }; 52 + }
+15 -3
pkgs/os-specific/linux/kernel/linux-hardkernel-4.14.nix
··· 1 1 { stdenv, buildPackages, hostPlatform, fetchFromGitHub, perl, buildLinux, libelf, utillinux, ... } @ args: 2 2 3 3 buildLinux (args // rec { 4 - version = "4.14.47-139"; 4 + version = "4.14.55-146"; 5 5 6 6 # modDirVersion needs to be x.y.z. 7 - modDirVersion = "4.14.47"; 7 + modDirVersion = "4.14.55"; 8 8 9 9 # branchVersion needs to be x.y. 10 10 extraMeta.branch = "4.14"; ··· 13 13 owner = "hardkernel"; 14 14 repo = "linux"; 15 15 rev = version; 16 - sha256 = "0jjgrmvi1h8zs8snnvghnjd422yfmn7jv9y1n7xikmfv4nvwqrkv"; 16 + sha256 = "1bm1njng4rwfylgnqv06vabkvybm9rikqj1lsb7p9qcs3y1kw6mh"; 17 17 }; 18 + 19 + defconfig = "odroidxu4_defconfig"; 20 + 21 + # This extraConfig is (only) required because the gator module fails to build as-is. 22 + extraConfig = '' 23 + 24 + GATOR n 25 + 26 + # This attempted fix applies correctly but does not fix the build. 27 + #GATOR_MALI_MIDGARD_PATH ${src}/drivers/gpu/arm/midgard 28 + 29 + '' + (args.extraConfig or ""); 18 30 19 31 } // (args.argsOverride or {}))
+2 -2
pkgs/servers/minio/default.nix
··· 3 3 buildGoPackage rec { 4 4 name = "minio-${version}"; 5 5 6 - version = "2018-05-11T00-29-24Z"; 6 + version = "2018-07-31T02-11-47Z"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "minio"; 10 10 repo = "minio"; 11 11 rev = "RELEASE.${version}"; 12 - sha256 = "01jw1djfs0jbhsx9pmx3kj31mfhrw45lr1i4lwkmh8k7fxn8w13x"; 12 + sha256 = "0pngr2x15prn55r8xj59sqjn9yp98hhm5qgi12ybc6cfxx0wls52"; 13 13 }; 14 14 15 15 goPackagePath = "github.com/minio/minio";
+2
pkgs/test/default.nix
··· 22 22 cc-multilib-gcc = callPackage ./cc-wrapper/multilib.nix { stdenv = gccMultiStdenv; }; 23 23 cc-multilib-clang = callPackage ./cc-wrapper/multilib.nix { stdenv = clangMultiStdenv; }; 24 24 25 + ld-library-path = callPackage ./ld-library-path {}; 26 + 25 27 macOSSierraShared = callPackage ./macos-sierra-shared {}; 26 28 27 29 cross = callPackage ./cross {};
+88
pkgs/test/ld-library-path/default.nix
··· 1 + { stdenv }: 2 + 3 + # This tests that libraries listed in LD_LIBRARY_PATH take precedence over those listed in RPATH. 4 + 5 + let 6 + # A simple test library: libgreeting.so which exports a single function getGreeting() returning the good old hello greeting. 7 + libgreeting = stdenv.mkDerivation { 8 + name = "libgreeting"; 9 + 10 + code = '' 11 + const char* getGreeting() { return "Hello, world!"; } 12 + ''; 13 + 14 + unpackPhase = '' 15 + echo "$code" > libgreeting.c 16 + ''; 17 + 18 + installPhase = '' 19 + mkdir -p $out/lib 20 + $CC -c -fpic libgreeting.c 21 + $CC -shared libgreeting.o -o $out/lib/libgreeting.so 22 + ''; 23 + }; 24 + 25 + # A variant of libgreeting.so that returns a different message. 26 + libgoodbye = libgreeting.overrideAttrs (_: { 27 + name = "libgoodbye"; 28 + code = '' 29 + const char* getGreeting() { return "Goodbye, world!"; } 30 + ''; 31 + }); 32 + 33 + # A simple consumer of libgreeting.so that just prints the greeting to stdout. 34 + testProgram = stdenv.mkDerivation { 35 + name = "greeting-test"; 36 + 37 + buildInputs = [ libgreeting ]; 38 + 39 + code = '' 40 + #include <stdio.h> 41 + 42 + extern const char* getGreeting(void); 43 + 44 + int main() { 45 + puts(getGreeting()); 46 + } 47 + ''; 48 + 49 + unpackPhase = '' 50 + echo "$code" > greeting-test.c 51 + ''; 52 + 53 + installPhase = '' 54 + mkdir -p $out/bin 55 + $CC -c greeting-test.c 56 + $CC greeting-test.o -lgreeting -o $out/bin/greeting-test 57 + 58 + # Now test the installed binaries right after compiling them. In particular, 59 + # don't do this in installCheckPhase because fixupPhase has been run by then! 60 + ( 61 + export PATH=$out/bin 62 + set -x 63 + 64 + # Verify that our unmodified binary works as expected. 65 + [ "$(greeting-test)" = "Hello, world!" ] 66 + 67 + # And finally, test that a library in LD_LIBRARY_PATH takes precedence over the linked-in library. 68 + [ "$(LD_LIBRARY_PATH=${libgoodbye}/lib greeting-test)" = "Goodbye, world!" ] 69 + ) 70 + ''; 71 + 72 + }; 73 + in stdenv.mkDerivation { 74 + name = "test-LD_LIBRARY_PATH"; 75 + nativeBuildInputs = [ testProgram ]; 76 + 77 + buildCommand = '' 78 + # And for good measure, repeat the tests again from a separate derivation, 79 + # as fixupPhase done by the stdenv can (and has!) affect the result. 80 + 81 + [ "$(greeting-test)" = "Hello, world!" ] 82 + [ "$(LD_LIBRARY_PATH=${libgoodbye}/lib greeting-test)" = "Goodbye, world!" ] 83 + 84 + touch $out 85 + ''; 86 + 87 + meta.platforms = stdenv.lib.platforms.linux; 88 + }
+2 -2
pkgs/tools/filesystems/glusterfs/default.nix
··· 15 15 # The command 16 16 # find /nix/store/...-glusterfs-.../ -name '*.py' -executable 17 17 # can help with finding new Python scripts. 18 - version = "3.12.4"; 18 + version = "3.12.12"; 19 19 name="${baseName}-${version}"; 20 20 url="https://github.com/gluster/glusterfs/archive/v${version}.tar.gz"; 21 - sha256 = "01gsc3dw491ipl47q733iznddxbg42aa749vkyaq6i6w4d7m157f"; 21 + sha256 = "1q6rcf9y98w3kvgwdlbhl65phkdl0mfil6y7i3gnpf3d21gfb6nw"; 22 22 }; 23 23 buildInputs = [ 24 24 fuse bison flex_2_5_35 openssl ncurses readline
+2 -2
pkgs/tools/graphics/argyllcms/default.nix
··· 2 2 , libXrender, libXext, libtiff, libjpeg, libpng, libXScrnSaver, writeText 3 3 , libXdmcp, libXau, lib, openssl }: 4 4 let 5 - version = "2.0.0"; 5 + version = "2.0.1"; 6 6 in 7 7 stdenv.mkDerivation rec { 8 8 name = "argyllcms-${version}"; ··· 11 11 # Kind of flacky URL, it was reaturning 406 and inconsistent binaries for a 12 12 # while on me. It might be good to find a mirror 13 13 url = "https://www.argyllcms.com/Argyll_V${version}_src.zip"; 14 - sha256 = "1583hspas7rw5xwrs1rb4yn1yl34wh6lfik6xyszpfv39a2axdxx"; 14 + sha256 = "0a7m5mwvy74db34hvqsgy296469x3139qj5gfj4zqpnz0iyxhkny"; 15 15 16 16 # The argyllcms web server doesn't like curl ... 17 17 curlOpts = "--user-agent 'Mozilla/5.0'";
+34
pkgs/tools/misc/ldmtool/default.nix
··· 1 + { stdenv, fetchFromGitHub, autoconf, automake, gtk-doc, pkgconfig, libuuid, 2 + libtool, readline, gobjectIntrospection, json-glib, lvm2, libxslt, docbook_xsl }: 3 + 4 + stdenv.mkDerivation rec { 5 + name = "ldmtool-${version}"; 6 + version = "0.2.4"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "mdbooth"; 10 + repo = "libldm"; 11 + rev = "libldm-${version}"; 12 + sha256 = "1fy5wbmk8kwl86lzswq0d1z2j5y023qzfm2ppm8knzv9c47kniqk"; 13 + }; 14 + 15 + preConfigure = '' 16 + sed -i docs/reference/ldmtool/Makefile.am \ 17 + -e 's|-nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl|--nonet ${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl|g' 18 + ''; 19 + 20 + configureScript = "sh autogen.sh"; 21 + 22 + nativeBuildInputs = [ pkgconfig ]; 23 + buildInputs = [ autoconf automake gtk-doc lvm2 libxslt.bin 24 + libtool readline gobjectIntrospection json-glib libuuid 25 + ]; 26 + 27 + meta = with stdenv.lib; { 28 + description = "Tool and library for managing Microsoft Windows Dynamic Disks"; 29 + homepage = https://github.com/mdbooth/libldm; 30 + maintainers = with maintainers; [ jensbin ]; 31 + license = licenses.gpl3; 32 + platforms = platforms.linux; 33 + }; 34 + }
+36
pkgs/tools/networking/ipgrep/default.nix
··· 1 + { stdenv, fetchFromGitHub, pythonPackages, makeWrapper }: 2 + 3 + pythonPackages.buildPythonApplication rec { 4 + version = "1.0"; 5 + pname = "ipgrep"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "jedisct1"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "1qaxvbqdalvz05aplhhrg7s4h7yx4clbfd50k46bgavhgcqqv8n3"; 12 + }; 13 + 14 + patchPhase = '' 15 + mkdir -p ${pname} 16 + substituteInPlace setup.py \ 17 + --replace "'scripts': []" "'scripts': { '${pname}.py' }" 18 + ''; 19 + 20 + propagatedBuildInputs = with pythonPackages; [ 21 + pycares 22 + urllib3 23 + requests 24 + ]; 25 + 26 + meta = with stdenv.lib; { 27 + description = "Extract, defang, resolve names and IPs from text"; 28 + longDescription = '' 29 + ipgrep extracts possibly obfuscated host names and IP addresses 30 + from text, resolves host names, and prints them, sorted by ASN. 31 + ''; 32 + license = licenses.mit; 33 + maintainers = with maintainers; [ leenaars ]; 34 + platforms = platforms.all; 35 + }; 36 + }
+2 -2
pkgs/tools/networking/minio-client/default.nix
··· 3 3 buildGoPackage rec { 4 4 name = "minio-client-${version}"; 5 5 6 - version = "2018-04-28T00-08-20Z"; 6 + version = "2018-07-31T02-28-53Z"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "minio"; 10 10 repo = "mc"; 11 11 rev = "RELEASE.${version}"; 12 - sha256 = "03c9ahphkpsy6z9i9z50jcsgj5ba6gba2sw2nz22b1ynqiz3ds37"; 12 + sha256 = "1918yl5d92y4ij9d1v738pf574rwb6a911rjpmaj9awhrz8qa2bg"; 13 13 }; 14 14 15 15 goPackagePath = "github.com/minio/mc";
+2 -2
pkgs/tools/networking/miniupnpc/default.nix
··· 27 27 }; 28 28 in { 29 29 miniupnpc_2 = generic { 30 - version = "2.0.20171212"; 31 - sha256 = "0za7pr6hrr3ajkifirhhxfn3hlhl06f622g8hnj5h8y18sp3bwff"; 30 + version = "2.0.20180203"; 31 + sha256 = "1dr0qaf2qz49aawgsnv7l41rda5yvdk3qfz2hd5cv9iwav3sipch"; 32 32 }; 33 33 miniupnpc_1 = generic { 34 34 version = "1.9.20160209";
+26
pkgs/tools/networking/p2p/bittornado/default.nix
··· 1 + { lib, python3, fetchFromGitHub }: 2 + 3 + python3.pkgs.buildPythonApplication rec { 4 + pname = "BitTornado"; 5 + version = "unstable-2018-02-09"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "effigies"; 9 + repo = "BitTornado"; 10 + rev = "a3e6d8bcdf9d99de064dc58b4a3e909e0349e589"; 11 + sha256 = "099bci3as592psf8ymmz225qyz2lbjhya7g50cb7hk64k92mqk9k"; 12 + }; 13 + 14 + postFixup = '' 15 + for i in $(ls $out/bin); do 16 + mv $out/bin/$i $out/bin/''${i%.py} 17 + done 18 + ''; 19 + 20 + meta = with lib; { 21 + inherit (src.meta) homepage; 22 + description = "John Hoffman's fork of the original bittorrent"; 23 + license = licenses.mit; 24 + maintainers = with maintainers; [ dotlambda ]; 25 + }; 26 + }
+4 -4
pkgs/tools/package-management/nix/default.nix
··· 34 34 ++ lib.optional withLibseccomp libseccomp 35 35 ++ lib.optional ((stdenv.isLinux || stdenv.isDarwin) && is20) 36 36 (aws-sdk-cpp.override { 37 - apis = ["s3"]; 37 + apis = ["s3" "transfer"]; 38 38 customMemoryManagement = false; 39 39 }) 40 40 ++ lib.optional fromGit boost; ··· 144 144 145 145 nixUnstable = (lib.lowPrio (common rec { 146 146 name = "nix-2.1${suffix}"; 147 - suffix = "pre6148_a4aac7f"; 147 + suffix = "pre6338_45bcf541"; 148 148 src = fetchFromGitHub { 149 149 owner = "NixOS"; 150 150 repo = "nix"; 151 - rev = "a4aac7f88c59c97299027c9668461c637bbc6a72"; 152 - sha256 = "1250fg1rgzcd0qy960nhl2bw9hsc1a6pyz11rmxasr0h3j1a2z53"; 151 + rev = "45bcf5416a0ce53361fd37c6b27ba4ef6a34ce96"; 152 + sha256 = "0ps45n78wnczz99dd9fs54ydxwh2cjq73zbvmak0y49nhc3p0vvv"; 153 153 }; 154 154 fromGit = true; 155 155 })) // { perl-bindings = perl-bindings {
+31 -11
pkgs/top-level/all-packages.nix
··· 589 589 590 590 awless = callPackage ../tools/virtualization/awless { }; 591 591 592 + brakeman = callPackage ../development/tools/analysis/brakeman { }; 593 + 592 594 ec2_api_tools = callPackage ../tools/virtualization/ec2-api-tools { }; 593 595 594 596 ec2_ami_tools = callPackage ../tools/virtualization/ec2-ami-tools { }; ··· 681 683 httperf = callPackage ../tools/networking/httperf { }; 682 684 683 685 imgpatchtools = callPackage ../development/mobile/imgpatchtools { }; 686 + 687 + ipgrep = callPackage ../tools/networking/ipgrep { }; 684 688 685 689 lastpass-cli = callPackage ../tools/security/lastpass-cli { }; 686 690 ··· 865 869 bins = callPackage ../tools/graphics/bins { }; 866 870 867 871 bitbucket-cli = python2Packages.bitbucket-cli; 872 + 873 + bittornado = callPackage ../tools/networking/p2p/bittornado { }; 868 874 869 875 blink = callPackage ../applications/networking/instant-messengers/blink { }; 870 876 ··· 2799 2805 2800 2806 gparted = callPackage ../tools/misc/gparted { }; 2801 2807 2808 + ldmtool = callPackage ../tools/misc/ldmtool { }; 2809 + 2802 2810 gpodder = callPackage ../applications/audio/gpodder { }; 2803 2811 2804 2812 gpp = callPackage ../development/tools/gpp { }; ··· 2998 3006 half = callPackage ../development/libraries/half { }; 2999 3007 3000 3008 halibut = callPackage ../tools/typesetting/halibut { }; 3009 + 3010 + halide = callPackage ../development/compilers/halide {}; 3001 3011 3002 3012 hardinfo = callPackage ../tools/system/hardinfo { }; 3003 3013 ··· 5010 5020 inherit (darwin.apple_sdk.libs) utmp; 5011 5021 }; 5012 5022 5023 + scrcpy = callPackage ../misc/scrcpy { 5024 + inherit (androidenv) platformTools; 5025 + }; 5026 + 5013 5027 screen-message = callPackage ../tools/X11/screen-message { }; 5014 5028 5015 5029 screencloud = callPackage ../applications/graphics/screencloud { ··· 7068 7082 cargo-release = callPackage ../tools/package-management/cargo-release { }; 7069 7083 cargo-tree = callPackage ../tools/package-management/cargo-tree { }; 7070 7084 7085 + cargo-asm = callPackage ../development/tools/rust/cargo-asm { }; 7071 7086 cargo-fuzz = callPackage ../development/tools/rust/cargo-fuzz { }; 7072 7087 7073 7088 rainicorn = callPackage ../development/tools/rust/rainicorn { }; ··· 7423 7438 php = php72; 7424 7439 phpPackages = php72Packages; 7425 7440 7426 - php56Packages = recurseIntoAttrs (callPackage ./php-packages.nix { 7427 - php = php56; 7428 - }); 7429 - 7430 - php70Packages = recurseIntoAttrs (callPackage ./php-packages.nix { 7431 - php = php70; 7432 - }); 7433 - 7434 7441 php71Packages = recurseIntoAttrs (callPackage ./php-packages.nix { 7435 7442 php = php71; 7436 7443 }); ··· 7441 7448 7442 7449 7443 7450 inherit (callPackages ../development/interpreters/php { }) 7444 - php56 7445 - php70 7446 7451 php71 7447 7452 php72; 7448 7453 ··· 10500 10505 libksba = callPackage ../development/libraries/libksba { }; 10501 10506 10502 10507 libksi = callPackage ../development/libraries/libksi { }; 10508 + 10509 + liblinear = callPackage ../development/libraries/liblinear { }; 10503 10510 10504 10511 libmad = callPackage ../development/libraries/libmad { }; 10505 10512 ··· 14622 14629 14623 14630 cantarell-fonts = callPackage ../data/fonts/cantarell-fonts { }; 14624 14631 14632 + capitaine-cursors = callPackage ../data/icons/capitaine-cursors { }; 14633 + 14625 14634 carlito = callPackage ../data/fonts/carlito {}; 14626 14635 14627 14636 comfortaa = callPackage ../data/fonts/comfortaa {}; ··· 14760 14769 14761 14770 hanazono = callPackage ../data/fonts/hanazono { }; 14762 14771 14772 + ia-writer-duospace = callPackage ../data/fonts/ia-writer-duospace { }; 14773 + 14763 14774 ibm-plex = callPackage ../data/fonts/ibm-plex { }; 14764 14775 14765 14776 iconpack-obsidian = callPackage ../data/icons/iconpack-obsidian { }; ··· 14769 14780 14770 14781 input-fonts = callPackage ../data/fonts/input-fonts { }; 14771 14782 14783 + inriafonts = callPackage ../data/fonts/inriafonts { }; 14784 + 14785 + 14772 14786 iosevka = callPackage ../data/fonts/iosevka { 14773 14787 nodejs = nodejs-8_x; 14774 14788 }; ··· 14864 14878 mro-unicode = callPackage ../data/fonts/mro-unicode { }; 14865 14879 14866 14880 mustache-spec = callPackage ../data/documentation/mustache-spec { }; 14881 + 14882 + mustache-go = callPackage ../development/tools/mustache-go { }; 14867 14883 14868 14884 myrica = callPackage ../data/fonts/myrica { }; 14869 14885 ··· 18397 18413 18398 18414 stp = callPackage ../applications/science/logic/stp {}; 18399 18415 18416 + stumpish = callPackage ../applications/window-managers/stumpish {}; 18417 + 18400 18418 stumpwm = callPackage ../applications/window-managers/stumpwm { 18401 18419 version = "latest"; 18402 18420 }; ··· 18528 18546 vte = gnome3.vte; 18529 18547 }; 18530 18548 18531 - termite = callPackage ../applications/misc/termite { 18549 + termite-unwrapped = callPackage ../applications/misc/termite { 18532 18550 vte = gnome3.vte-ng; 18533 18551 }; 18552 + 18553 + termite = callPackage ../applications/misc/termite/wrapper.nix { termite = termite-unwrapped; }; 18534 18554 18535 18555 termtosvg = callPackage ../tools/misc/termtosvg { }; 18536 18556
+12 -12
pkgs/top-level/python-packages.nix
··· 186 186 187 187 asn1crypto = callPackage ../development/python-modules/asn1crypto { }; 188 188 189 + aspy-yaml = callPackage ../development/python-modules/aspy.yaml { }; 190 + 189 191 astral = callPackage ../development/python-modules/astral { }; 190 192 191 193 astropy = callPackage ../development/python-modules/astropy { }; ··· 492 494 sip = callPackage ../development/python-modules/sip { }; 493 495 494 496 sklearn-deap = callPackage ../development/python-modules/sklearn-deap { }; 497 + 498 + slackclient = callPackage ../development/python-modules/slackclient { }; 495 499 496 500 spglib = callPackage ../development/python-modules/spglib { }; 497 501 ··· 1519 1523 cheetah = callPackage ../development/python-modules/cheetah { }; 1520 1524 1521 1525 cherrypy = callPackage ../development/python-modules/cherrypy {}; 1526 + 1527 + cfgv = callPackage ../development/python-modules/cfgv { }; 1522 1528 1523 1529 cftime = callPackage ../development/python-modules/cftime {}; 1524 1530 ··· 3050 3056 3051 3057 idna-ssl = callPackage ../development/python-modules/idna-ssl { }; 3052 3058 3059 + identify = callPackage ../development/python-modules/identify { }; 3060 + 3053 3061 ijson = callPackage ../development/python-modules/ijson {}; 3054 3062 3055 3063 imagesize = buildPythonPackage rec { ··· 5282 5290 }; 5283 5291 5284 5292 fastimport = callPackage ../development/python-modules/fastimport { }; 5293 + 5294 + fastpair = callPackage ../development/python-modules/fastpair { }; 5285 5295 5286 5296 fastrlock = callPackage ../development/python-modules/fastrlock {}; 5287 5297 ··· 8439 8449 nipype = callPackage ../development/python-modules/nipype { 8440 8450 inherit (pkgs) which; 8441 8451 }; 8452 + 8453 + nodeenv = callPackage ../development/python-modules/nodeenv { }; 8442 8454 8443 8455 nose = buildPythonPackage rec { 8444 8456 version = "1.3.7"; ··· 17486 17498 buildInputs = with self; [ setuptools_scm ]; 17487 17499 17488 17500 propagatedBuildInputs = with self; [ six ]; 17489 - }; 17490 - 17491 - slackclient = buildPythonPackage rec { 17492 - name = "slackclient-${version}"; 17493 - version = "1.0.0"; 17494 - 17495 - src = pkgs.fetchurl { 17496 - url = "mirror://pypi/s/slackclient/${name}.tar.gz"; 17497 - sha256 = "063cbzp1fbdipv53gb0hnban1pg80pls0lbld98lhnykzkcb6vf0"; 17498 - }; 17499 - 17500 - propagatedBuildInputs = with self; [ websocket_client requests ]; 17501 17501 }; 17502 17502 17503 17503 tempora= callPackage ../development/python-modules/tempora { };