···239239 the <literal>openssh_with_kerberos</literal> package240240 is now a deprecated alias.241241 If you do not want Kerberos support,242242- you can do <literal>openssh.override { withKerboros = false; }</literal>.242242+ you can do <literal>openssh.override { withKerberos = false; }</literal>.243243 Note, this also applies to the <literal>openssh_hpn</literal> package.244244 </para>245245 </listitem>
···6868 (hasAttr dev cfg.macvlans) ||6969 (hasAttr dev cfg.sits) ||7070 (hasAttr dev cfg.vlans) ||7171- (hasAttr dev cfg.vswitches) ||7272- (hasAttr dev cfg.wlanInterfaces)7171+ (hasAttr dev cfg.vswitches)7372 then [ "${dev}-netdev.service" ]7473 else optional (dev != null && dev != "lo" && !config.boot.isContainer) (subsystemDevice dev);7574
···11+{ lib22+, buildPythonPackage33+, marisa-trie44+, pythonOlder55+, fetchPypi66+, nose77+}:88+99+buildPythonPackage rec {1010+ pname = "langcodes";1111+ version = "1.4.1";1212+1313+ src = fetchPypi {1414+ inherit pname version;1515+ sha256 = "1axdiva2qglsjmnx2ak7i6hm0yhp6kbc4lcsgn8ckwy0nq1z3kr2";1616+ };1717+1818+ propagatedBuildInputs = [ marisa-trie ];1919+2020+ disabled = pythonOlder "3.3";2121+2222+ checkInputs = [ nose ];2323+2424+ checkPhase = ''2525+ nosetests2626+ '';2727+2828+ meta = with lib; {2929+ description = "A toolkit for working with and comparing the standardized codes for languages, such as ‘en’ for English or ‘es’ for Spanish";3030+ homepage = http://github.com/LuminosoInsight/langcodes;3131+ license = licenses.mit;3232+ maintainers = with maintainers; [ ixxie ];3333+ };3434+}
···11+{ stdenv22+, lib33+, fetchurl44+, buildPythonPackage55+, isPy3k, isPy36, pythonOlder66+, numpy77+, six88+, protobuf99+, absl-py1010+, mock1111+, backports_weakref1212+, enum341313+, tensorflow-tensorboard1414+, cudaSupport ? false1515+}:1616+1717+# tensorflow is built from a downloaded wheel because the source1818+# build doesn't yet work on Darwin.1919+2020+buildPythonPackage rec {2121+ pname = "tensorflow";2222+ version = "1.5.0";2323+ format = "wheel";2424+2525+ src = fetchurl {2626+ url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-${version}-py3-none-any.whl";2727+ sha256 = "1mapv45n9wmgcq3i3im0pv0gmhwkxw5z69nsnxb1gfxbj1mz5h9m";2828+ };2929+3030+ propagatedBuildInputs = [ numpy six protobuf absl-py ]3131+ ++ lib.optional (!isPy3k) mock3232+ ++ lib.optionals (pythonOlder "3.4") [ backports_weakref enum34 ]3333+ ++ lib.optional (pythonOlder "3.6") tensorflow-tensorboard;3434+3535+ # tensorflow depends on tensorflow_tensorboard, which cannot be3636+ # built at the moment (some of its dependencies do not build3737+ # [htlm5lib9999999 (seven nines) -> tensorboard], and it depends on an old version of3838+ # bleach) Hence we disable dependency checking for now.3939+ installFlags = lib.optional isPy36 "--no-dependencies";4040+4141+ meta = with stdenv.lib; {4242+ description = "Computation using data flow graphs for scalable machine learning";4343+ homepage = http://tensorflow.org;4444+ license = licenses.asl20;4545+ maintainers = with maintainers; [ jyp abbradar ];4646+ platforms = platforms.darwin;4747+ # Python 2.7 build uses different string encoding.4848+ # See https://github.com/NixOS/nixpkgs/pull/37044#issuecomment-3734522534949+ broken = cudaSupport || !isPy3k;5050+ };5151+}
···1717 homepage = http://bashdb.sourceforge.net/remake/;1818 license = stdenv.lib.licenses.gpl3;1919 description = "GNU Make with comprehensible tracing and a debugger";2020- platforms = stdenv.lib.platforms.linux;2020+ platforms = with stdenv.lib.platforms; linux ++ darwin;2121 maintainers = with stdenv.lib.maintainers; [ bjornfor ];2222 };2323}
+49
pkgs/development/tools/castxml/default.nix
···11+{ stdenv, fetchFromGitHub22+, pythonPackages33+, pkgconfig44+, cmake55+, llvmPackages66+, withMan ? true77+}:88+stdenv.mkDerivation rec {99+1010+ name = "${pname}-${version}";1111+ pname = "CastXML";1212+ version = "20180403";1313+1414+ src = fetchFromGitHub {1515+ owner = "CastXML";1616+ repo = "CastXML";1717+ rev = "c2a44d06d9379718292b696f4e13a2725ff9d95e";1818+ sha256 = "1hjh8ihjyp1m2jb5yypp5c45bpbz8k004f4p1cjw4gc7pxhjacdj";1919+ };2020+2121+ buildInputs = [2222+ cmake2323+ llvmPackages.clang-unwrapped2424+ llvmPackages.llvm2525+ ] ++ stdenv.lib.optionals withMan [ pythonPackages.sphinx ];2626+2727+ propagatedbuildInputs = [ llvmPackages.libclang ];2828+2929+ preConfigure = ''3030+ cmakeFlagsArray+=(3131+ ${if withMan then "-DSPHINX_MAN=ON" else ""}3232+ )'';3333+3434+ # 97% tests passed, 96 tests failed out of 28663535+ # mostly because it checks command line and nix append -isystem and all3636+ doCheck=false;3737+ checkPhase = ''3838+ # -E exclude 4 tests based on names3939+ # see https://github.com/CastXML/CastXML/issues/904040+ ctest -E 'cmd.cc-(gnu|msvc)-((c-src-c)|(src-cxx))-cmd'4141+ '';4242+4343+ meta = with stdenv.lib; {4444+ homepage = http://www.kitware.com;4545+ license = licenses.asl20;4646+ description = "Abstract syntax tree XML output tool";4747+ platforms = platforms.unix;4848+ };4949+}
+2-2
pkgs/development/tools/mypy/default.nix
···2233buildPythonApplication rec {44 pname = "mypy";55- version = "0.570";55+ version = "0.580";6677 # Tests not included in pip package.88 doCheck = false;991010 src = fetchPypi {1111 inherit pname version;1212- sha256 = "09cz0h4d6xcdqlchw080nkjlwki3mgjrlvfnj5hxxwi3cgv9imw3";1212+ sha256 = "1ng3j3nmsklrg8middvc9ycvv87hx5dxh4b96s9pc3w1d49mmn9v";1313 };14141515 propagatedBuildInputs = [ lxml typed-ast psutil ];
···11+/* This file is NOT part of highlight.js */22+document.onreadystatechange = function () {33+ var listings = document.querySelectorAll('.programlisting, .screen');44+ for (i = 0; i < listings.length; ++i) {55+ hljs.highlightBlock(listings[i]);66+ }77+}
···7171 "device_tracker.bluetooth_le_tracker" = ps: with ps; [ ];7272 "device_tracker.bluetooth_tracker" = ps: with ps; [ ];7373 "device_tracker.cisco_ios" = ps: with ps; [ pexpect ];7474- "device_tracker.fritz" = ps: with ps; [ ];7474+ "device_tracker.fritz" = ps: with ps; [ fritzconnection ];7575 "device_tracker.icloud" = ps: with ps; [ ];7676 "device_tracker.linksys_ap" = ps: with ps; [ beautifulsoup4 ];7777 "device_tracker.mikrotik" = ps: with ps; [ ];···100100 "fan.xiaomi_miio" = ps: with ps; [ ];101101 "feedreader" = ps: with ps; [ feedparser ];102102 "ffmpeg" = ps: with ps; [ ha-ffmpeg ];103103- "frontend" = ps: with ps; [ user-agents ];103103+ "frontend" = ps: with ps; [ ];104104 "gc100" = ps: with ps; [ ];105105 "goalfeed" = ps: with ps; [ ];106106 "google" = ps: with ps; [ google_api_python_client oauth2client ];···123123 "joaoapps_join" = ps: with ps; [ ];124124 "juicenet" = ps: with ps; [ ];125125 "keyboard" = ps: with ps; [ ];126126- "keyboard_remote" = ps: with ps; [ ];126126+ "keyboard_remote" = ps: with ps; [ evdev ];127127 "kira" = ps: with ps; [ ];128128 "knx" = ps: with ps; [ ];129129 "lametric" = ps: with ps; [ ];···196196 "media_player.songpal" = ps: with ps; [ ];197197 "media_player.sonos" = ps: with ps; [ ];198198 "media_player.soundtouch" = ps: with ps; [ libsoundtouch ];199199- "media_player.spotify" = ps: with ps; [ ];199199+ "media_player.spotify" = ps: with ps; [ spotipy ];200200 "media_player.vizio" = ps: with ps; [ ];201201 "media_player.vlc" = ps: with ps; [ ];202202 "media_player.webostv" = ps: with ps; [ websockets ];···278278 "sensor.coinmarketcap" = ps: with ps; [ ];279279 "sensor.cpuspeed" = ps: with ps; [ ];280280 "sensor.crimereports" = ps: with ps; [ ];281281- "sensor.cups" = ps: with ps; [ ];281281+ "sensor.cups" = ps: with ps; [ pycups ];282282 "sensor.darksky" = ps: with ps; [ ];283283 "sensor.deluge" = ps: with ps; [ deluge-client ];284284 "sensor.deutsche_bahn" = ps: with ps; [ ];···298298 "sensor.fido" = ps: with ps; [ ];299299 "sensor.fitbit" = ps: with ps; [ ];300300 "sensor.fixer" = ps: with ps; [ ];301301- "sensor.fritzbox_callmonitor" = ps: with ps; [ ];302302- "sensor.fritzbox_netmonitor" = ps: with ps; [ ];301301+ "sensor.fritzbox_callmonitor" = ps: with ps; [ fritzconnection ];302302+ "sensor.fritzbox_netmonitor" = ps: with ps; [ fritzconnection ];303303 "sensor.gearbest" = ps: with ps; [ ];304304 "sensor.geizhals" = ps: with ps; [ beautifulsoup4 ];305305 "sensor.geo_rss_events" = ps: with ps; [ feedparser ];
+12-4
pkgs/servers/home-assistant/parse-requirements.py
···2222import re2323from pkg_resources import Requirement, RequirementParseError24242525-PREFIX = '# homeassistant.components.'2525+GENERAL_PREFIX = '# homeassistant.'2626+COMPONENT_PREFIX = GENERAL_PREFIX + 'components.'2627PKG_SET = 'python3Packages'27282829def get_version():···3837 for line in response.read().decode().splitlines():3938 if line == '':4039 components = []4141- elif line[:len(PREFIX)] == PREFIX:4242- component = line[len(PREFIX):]4040+ elif line[:len(COMPONENT_PREFIX)] == COMPONENT_PREFIX:4141+ component = line[len(COMPONENT_PREFIX):]4342 components.append(component)4443 if component not in requirements:4544 requirements[component] = []4646- elif line[0] != '#':4545+ elif line[:len(GENERAL_PREFIX)] != GENERAL_PREFIX: # skip lines like "# homeassistant.scripts.xyz"4646+ # Some dependencies are commented out because they don't build on all platforms4747+ # Since they are still required for running the component, don't skip them4848+ if line[:2] == '# ':4949+ line = line[2:]5050+ # Some requirements are specified by url, e.g. https://example.org/foobar#xyz==1.0.05151+ # Therefore, if there's a "#" in the line, only take the part after it5252+ line = line[line.find('#') + 1:]4753 for component in components:4854 requirements[component].append(line)4955 return requirements
···11+{ stdenv, fetchFromGitHub, buildPythonApplication, dateutil }:22+33+buildPythonApplication rec {44+ pname = "pdd";55+ version = "1.1";66+77+ src = fetchFromGitHub {88+ owner = "jarun";99+ repo = "pdd";1010+ rev = "v${version}";1111+ sha256 = "1nb64vdlym4najjyfxq1nprqcwgrwnqj1mml0fcg20hrgbjm4bf2";1212+ };1313+1414+ format = "other";1515+1616+ propagatedBuildInputs = [ dateutil ];1717+1818+ installFlags = [ "PREFIX=$(out)" ];1919+2020+ meta = with stdenv.lib; {2121+ homepage = "https://github.com/jarun/pdd";2222+ description = "Tiny date, time diff calculator";2323+ longDescription = ''2424+ There are times you want to check how old you are (in years, months, days)2525+ or how long you need to wait for the next flash sale or the number of days2626+ left of your notice period in your current job. pdd (Python3 Date Diff) is2727+ a small cmdline utility to calculate date and time difference. If no2828+ program arguments are specified it shows the current date, time and2929+ timezone.3030+ '';3131+ maintainers = [ maintainers.infinisil ];3232+ license = licenses.gpl3;3333+ };3434+}
+12-5
pkgs/tools/networking/ngrok-2/default.nix
···11{ stdenv, fetchurl, unzip }:2233+with stdenv.lib;44+35stdenv.mkDerivation rec {46 name = "ngrok-${version}";57 version = "2.2.8";6877- src = if stdenv.system == "i686-linux" then fetchurl {99+ src = if stdenv.isLinux && stdenv.isi686 then fetchurl {810 url = "https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-i386.tgz";911 sha256 = "0s5ymlaxrvm13q3mlvfirh74sx60qh56c5sgdma2r7q5qlsq41xg";1010- } else if stdenv.system == "x86_64-linux" then fetchurl {1212+ } else if stdenv.isLinux && stdenv.isx86_64 then fetchurl {1113 url = "https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.tgz";1214 sha256 = "1mn9iwgy6xzrjihikwc2k2j59igqmph0cwx17qp0ziap9lp5xxad";1515+ } else if stdenv.isDarwin then fetchurl {1616+ url = "https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-darwin-386.zip";1717+ sha256 = "0yfd250b55wcpgqd00rqfaa7a82f35fmybb31q5xwdbgc2i47pbh";1318 } else throw "platform ${stdenv.system} not supported!";14191520 sourceRoot = ".";2121+2222+ nativeBuildInputs = optional stdenv.isDarwin unzip;16231724 installPhase = ''1825 install -D ngrok $out/bin/ngrok1926 '';20272121- meta = with stdenv.lib; {2828+ meta = {2229 description = "ngrok";2330 longDescription = ''2431 Allows you to expose a web server running on your local machine to the internet.2532 '';2633 homepage = https://ngrok.com/;2727- license = stdenv.lib.licenses.unfree;2828- platforms = [ "i686-linux" "x86_64-linux" ];3434+ license = licenses.unfree;3535+ platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];2936 maintainers = [ maintainers.bobvanderlinden ];3037 };3138}
···11+diff -ur a/Makefile b/Makefile22+--- a/Makefile 2003-08-08 00:40:39.000000000 +090033++++ b/Makefile 2018-04-05 22:29:39.284191020 +090044+@@ -142,6 +142,7 @@55+ strip ${CS_PROGNAME}66+ strip ${BFM_PROGNAME}77+88++.PHONY: install99+ install:1010+ if test -x ./apg; then \1111+ ./mkinstalldirs ${INSTALL_PREFIX}${APG_BIN_DIR}; \
+2-2
pkgs/tools/text/discount/default.nix
···11{stdenv, fetchurl}:2233stdenv.mkDerivation rec {44- version = "2.2.3";44+ version = "2.2.3a";55 name = "discount-${version}";6677 src = fetchurl {88 url = "http://www.pell.portland.or.us/~orc/Code/discount/discount-${version}.tar.bz2";99- sha256 = "17797xiaq0kk152pj4rvd9grg4i518x3glnwg1lgl8rry3dbrzx8";99+ sha256 = "0m09x9dd75d3pqvmrwr0kqw3dm2x3ss9clj5fxf7lq79lbyxbxbm";1010 };11111212 patches = ./fix-configure-path.patch;
+84
pkgs/tools/typesetting/ted/default.nix
···11+{ stdenv, fetchurl, pkgconfig, zlib, pcre, xorg, libjpeg, libtiff, libpng, gtk2, libpaper, makeWrapper, ghostscript }:22+33+stdenv.mkDerivation rec {44+ name = "${pname}-${version}";55+ pname = "ted";66+ version = "2.23";77+88+ src = fetchurl {99+ url = "http://ftp.nluug.nl/pub/editors/${pname}/${name}.src.tar.gz";1010+ sha256 = "0v1ipynyjklb3chd1vq26a21sjjg66sir57gi2kkrbwnpk195a9z";1111+ };1212+1313+ preConfigure = ''1414+ mkdir pkgconfig-append1515+ pushd pkgconfig-append1616+1717+ # ted looks for libtiff, not libtiff-4 in its pkg-config invokations1818+ cp ${libtiff.dev}/lib/pkgconfig/libtiff-4.pc libtiff.pc1919+2020+ # ted needs a libpaper pkg-config file2121+ cat > libpaper.pc << EOF2222+ prefix=${libpaper}2323+ libdir=${libpaper}/lib2424+ includedir=${libpaper}/include2525+ exec_prefix=\''${prefix}2626+2727+ Name: libpaper2828+ Version: ${libpaper.version}2929+ Description: ${libpaper.meta.description}3030+ Libs: -L\''${libdir} -lpaper3131+ Cflags: -I\''${includedir}3232+ EOF3333+3434+ export PKG_CONFIG_PATH="$PWD:$PKG_CONFIG_PATH"3535+3636+ popd3737+ '';3838+3939+ makeFlags = [ "CONFIGURE_OPTIONS=--with-GTK" "CONFIGURE_OPTIONS+=--prefix=$(out)" "compile.shared" ];4040+4141+ installPhase = ''4242+ runHook preInstall4343+4444+ make tedPackage/makefile4545+ pushd tedPackage4646+ substituteInPlace makefile --replace /usr ""4747+ make PKGDESTDIR=$out datadir4848+ popd4949+5050+ pushd $out/share/Ted/examples5151+ for f in rtf2*.sh5252+ do5353+ makeWrapper "$PWD/$f" "$out/bin/$f" --prefix PATH : $out/bin:${stdenv.lib.makeBinPath [ ghostscript ]}5454+ done5555+ popd5656+5757+ cp -v Ted/Ted $out/bin5858+5959+ runHook postInstall6060+ '';6161+6262+ buildInputs = [ pkgconfig zlib pcre xorg.xlibsWrapper xorg.libXpm libjpeg libtiff libpng gtk2 libpaper makeWrapper ];6363+6464+ meta = with stdenv.lib; {6565+ description = "Ted, an easy rich text processor";6666+ longDescription = ''6767+ Ted is a text processor running under X Windows on Unix/Linux systems.6868+ Ted was developed as a standard easy light weight word processor, having6969+ the role of Wordpad on MS-Windows. Since then, Ted has evolved to a real7070+ word processor. It still has the same easy appearance and the same speed7171+ as the original. The possibility to type a letter, a note or a report7272+ with a simple light weight program on a Unix/Linux machine is clearly7373+ missing. Ted was made to make it possible to edit rich text documents on7474+ Unix/Linux in a wysiwyg way. RTF files from Ted are fully compatible with7575+ MS-Word. Additionally, Ted also is an RTF to PostScript and an RTF to7676+ Acrobat PDF converter.7777+ '';7878+ homepage = https://nllgg.nl/Ted/;7979+ license = licenses.gpl2;8080+ platforms = platforms.all;8181+ broken = stdenv.isDarwin;8282+ maintainers = with maintainers; [ obadz ];8383+ };8484+}