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

+566 -139
+10
maintainers/maintainer-list.nix
··· 7201 7201 githubId = 16385648; 7202 7202 name = "Niko Pavlinek"; 7203 7203 }; 7204 + nixbitcoin = { 7205 + email = "nixbitcoin@i2pmail.org"; 7206 + github = "nixbitcoin"; 7207 + githubId = 45737139; 7208 + name = "nixbitcoindev"; 7209 + keys = [{ 7210 + longkeyid = "rsa4096/0xDD11F9AD5308B3BA"; 7211 + fingerprint = "577A 3452 7F3E 2A85 E80F E164 DD11 F9AD 5308 B3BA"; 7212 + }]; 7213 + }; 7204 7214 nixinator = { 7205 7215 email = "33lockdown33@protonmail.com"; 7206 7216 github = "nixinator";
+3 -3
pkgs/applications/audio/ncspot/default.nix
··· 14 14 in 15 15 rustPlatform.buildRustPackage rec { 16 16 pname = "ncspot"; 17 - version = "0.6.0"; 17 + version = "0.7.0"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "hrkfdn"; 21 21 repo = "ncspot"; 22 22 rev = "v${version}"; 23 - sha256 = "0j4ax3yh0l8v5bd5i3ijd8ys27dcrh7byigjip52mw1qlqfnh8wk"; 23 + sha256 = "04ws6xkqs0g5fkl11861vqxh6xr0z6k1z40ln0za7n38ra2mjgh0"; 24 24 }; 25 25 26 - cargoSha256 = "022q6rlac97dr6l7rd9xalgx0w257r364i1pij080qx8rk97msb9"; 26 + cargoSha256 = "1ws7qr41pqz99cpcigw4bckiwz7l5kzi0dkfif7203v9zy57mmzi"; 27 27 28 28 cargoBuildFlags = [ "--no-default-features" "--features" "${lib.concatStringsSep "," features}" ]; 29 29
+4 -3
pkgs/applications/graphics/freecad/default.nix
··· 46 46 47 47 mkDerivation rec { 48 48 pname = "freecad"; 49 - version = "0.19.1"; 49 + version = "0.19.2"; 50 50 51 51 src = fetchFromGitHub { 52 52 owner = "FreeCAD"; 53 53 repo = "FreeCAD"; 54 54 rev = version; 55 - hash = "sha256-itIrO+/mKXOPNs+2POKT8u4YZuqx/QAwVBWrHgKP1qQ="; 55 + hash = "sha256-XZ+fRl3CPCIFu3nHeMTLibwwFBlG/cWpKJlI58hTAuU="; 56 56 }; 57 57 58 58 nativeBuildInputs = [ ··· 102 102 ]; 103 103 104 104 cmakeFlags = [ 105 + "-Wno-dev" # turns off warnings which otherwise makes it hard to see what is going on 105 106 "-DBUILD_FLAT_MESH:BOOL=ON" 106 107 "-DBUILD_QT5=ON" 107 108 "-DSHIBOKEN_INCLUDE_DIR=${shiboken2}/include" ··· 110 111 + ";${pyside2}/include/PySide2/QtCore" 111 112 + ";${pyside2}/include/PySide2/QtWidgets" 112 113 + ";${pyside2}/include/PySide2/QtGui" 113 - ) 114 + ) 114 115 "-DPYSIDE_LIBRARY=PySide2::pyside2" 115 116 ]; 116 117
+10 -8
pkgs/applications/graphics/megapixels/default.nix
··· 5 5 , ninja 6 6 , pkg-config 7 7 , wrapGAppsHook 8 - , gtk3 9 - , gnome 8 + , epoxy 9 + , gtk4 10 10 , zbar 11 11 , tiffSupport ? true 12 12 , libraw ··· 26 26 in 27 27 stdenv.mkDerivation rec { 28 28 pname = "megapixels"; 29 - version = "0.16.0"; 29 + version = "1.0.1"; 30 30 31 31 src = fetchFromSourcehut { 32 32 owner = "~martijnbraam"; 33 33 repo = "megapixels"; 34 34 rev = version; 35 - sha256 = "0z7sx76x18yqf7carq6mg9lib0zbz0yrd1dsg9qd6hbf5niqis37"; 35 + sha256 = "0k9a5dpr5z0g7ngbhk4j22sbs1ffxiwg8wmbzgggdc9xvwmkgppr"; 36 36 }; 37 37 38 38 nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook ]; 39 39 40 - buildInputs = [ gtk3 gnome.adwaita-icon-theme zbar ] 41 - ++ optional tiffSupport libraw 42 - ++ optional jpgSupport graphicsmagick; 40 + buildInputs = [ 41 + epoxy 42 + gtk4 43 + zbar 44 + ]; 43 45 44 46 preFixup = optionalString (tiffSupport || jpgSupport) '' 45 47 gappsWrapperArgs+=( ··· 52 54 homepage = "https://sr.ht/~martijnbraam/Megapixels"; 53 55 changelog = "https://git.sr.ht/~martijnbraam/megapixels/refs/${version}"; 54 56 license = licenses.gpl3Only; 55 - maintainers = with maintainers; [ OPNA2608 ]; 57 + maintainers = with maintainers; [ OPNA2608 dotlambda ]; 56 58 platforms = platforms.linux; 57 59 }; 58 60 }
+29 -11
pkgs/applications/misc/feedbackd/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitLab 4 + , docbook-xsl-nons 5 + , gobject-introspection 6 + , gtk-doc 7 + , libxslt 4 8 , meson 5 9 , ninja 6 10 , pkg-config 11 + , vala 7 12 , wrapGAppsHook 8 13 , glib 9 14 , gsound 15 + , json-glib 10 16 , libgudev 11 - , json-glib 12 - , vala 13 - , gobject-introspection 17 + , dbus 14 18 }: 15 19 16 20 stdenv.mkDerivation rec { 17 - pname = "feedbackd-unstable"; 18 - version = "2021-01-25"; 21 + pname = "feedbackd"; 22 + # Not an actual upstream project release, 23 + # only a Debian package release that is tagged in the upstream repo 24 + version = "0.0.0+git20210426"; 25 + 26 + outputs = [ "out" "dev" "devdoc" ]; 19 27 20 28 src = fetchFromGitLab { 21 29 domain = "source.puri.sm"; 22 30 owner = "Librem5"; 23 31 repo = "feedbackd"; 24 - rev = "v0.0.0+git${builtins.replaceStrings ["-"] [""] version}"; 25 - sha256 = "184ag10sfzrka533inv6f38x6z769kq5jj56vdkcm65j5h786w5v"; 32 + rev = "v${version}"; 33 + sha256 = "12kdchv11c5ynpv6fbagcx755x5p2kd7acpwjxi9khwdwjsqxlmn"; 26 34 }; 27 35 28 36 nativeBuildInputs = [ 37 + docbook-xsl-nons 38 + gobject-introspection 39 + gtk-doc 40 + libxslt 29 41 meson 30 42 ninja 31 43 pkg-config 32 - wrapGAppsHook 33 44 vala 34 - gobject-introspection 45 + wrapGAppsHook 35 46 ]; 36 47 37 48 buildInputs = [ 38 49 glib 39 50 gsound 40 - libgudev 41 51 json-glib 52 + libgudev 42 53 ]; 54 + 55 + mesonFlags = [ "-Dgtk_doc=true" "-Dman=true" ]; 56 + 57 + checkInputs = [ 58 + dbus 59 + ]; 60 + 61 + doCheck = true; 43 62 44 63 postInstall = '' 45 64 mkdir -p $out/lib/udev/rules.d ··· 54 73 platforms = platforms.linux; 55 74 }; 56 75 } 57 -
+6 -4
pkgs/applications/misc/index-fm/default.nix
··· 3 3 , fetchFromGitLab 4 4 , cmake 5 5 , extra-cmake-modules 6 - , breeze-icons 6 + , applet-window-buttons 7 7 , karchive 8 8 , kcoreaddons 9 9 , ki18n 10 10 , kio 11 11 , kirigami2 12 12 , mauikit 13 + , mauikit-filebrowsing 13 14 , qtmultimedia 14 15 , qtquickcontrols2 15 16 }: 16 17 17 18 mkDerivation rec { 18 19 pname = "index"; 19 - version = "1.2.1"; 20 + version = "1.2.2"; 20 21 21 22 src = fetchFromGitLab { 22 23 domain = "invent.kde.org"; 23 24 owner = "maui"; 24 25 repo = "index-fm"; 25 26 rev = "v${version}"; 26 - sha256 = "1v6z44c88cqgr3b758yq6l5d2zj1vhlnaq7v8rrhs7s5dsimzlx8"; 27 + sha256 = "sha256-N9/Jt18QRqDMWtEfxWn22e5Ud3YMwJ9B7OQRwTvwX8g="; 27 28 }; 28 29 29 30 nativeBuildInputs = [ ··· 32 33 ]; 33 34 34 35 buildInputs = [ 35 - breeze-icons 36 + applet-window-buttons 36 37 karchive 37 38 kcoreaddons 38 39 ki18n 39 40 kio 40 41 kirigami2 41 42 mauikit 43 + mauikit-filebrowsing 42 44 qtmultimedia 43 45 qtquickcontrols2 44 46 ];
+7 -2
pkgs/applications/networking/cluster/kops/default.nix
··· 44 44 homepage = "https://github.com/kubernetes/kops"; 45 45 changelog = "https://github.com/kubernetes/kops/tree/master/docs/releases"; 46 46 license = licenses.asl20; 47 - maintainers = with maintainers; [ offline zimbatm ]; 47 + maintainers = with maintainers; [ offline zimbatm diegolelis ]; 48 48 platforms = platforms.unix; 49 49 }; 50 50 } // attrs'; ··· 63 63 sha256 = "0fmrzjz163hda6sl1jkl7cmg8fw6mmqb9953048jnhmd3w428xlz"; 64 64 }; 65 65 66 - kops_1_18 = mkKops rec { 66 + kops_1_18 = mkKops { 67 67 version = "1.18.2"; 68 68 sha256 = "17na83j6sfhk69w9ssvicc0xd1904z952ad3zzbpha50lcy6nlhp"; 69 + }; 70 + 71 + kops_1_19 = mkKops rec { 72 + version = "1.19.2"; 73 + sha256 = "15csxih1xy8myky37n5dyzp5mc31pc4bq9asaw6zz51mgw8ad5r9"; 69 74 rev = "v${version}"; 70 75 }; 71 76 }
+2 -2
pkgs/applications/networking/cluster/kubeseal/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "kubeseal"; 5 - version = "0.15.0"; 5 + version = "0.16.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "bitnami-labs"; 9 9 repo = "sealed-secrets"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-wzaNFM/4V2mWqhkqeT70ieQuhgNK79U2b7PhxKqn/X0="; 11 + sha256 = "sha256-+9yOBrq34VCy1yAkSh1iHbgtckuz2FcHokH/Cb/Heus="; 12 12 }; 13 13 14 14 vendorSha256 = null;
+1
pkgs/applications/networking/cluster/linkerd/default.nix
··· 22 22 homepage = "https://linkerd.io/"; 23 23 license = licenses.asl20; 24 24 maintainers = with maintainers; [ Gonzih ]; 25 + broken = true; 25 26 }; 26 27 }
+29
pkgs/applications/networking/p2p/xd/default.nix
··· 1 + { pkgs, buildGoModule, fetchFromGitHub, lib, perl }: 2 + 3 + buildGoModule rec { 4 + pname = "XD"; 5 + version = "0.4.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "majestrate"; 9 + repo = "XD"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-fXENoqhR04TYS/kAJUqsqa0+j+KyzdsMlXIZ2GMPMhc="; 12 + }; 13 + 14 + vendorSha256 = "1wg3cym2rwrhjsqlgd38l8mdq5alccz808465117n3vyga9m35lq"; 15 + 16 + checkInputs = [ perl ]; 17 + 18 + postInstall = '' 19 + ln -s $out/bin/XD $out/bin/XD-CLI 20 + ''; 21 + 22 + meta = with lib; { 23 + description = "i2p bittorrent client"; 24 + homepage = "https://xd-torrent.github.io"; 25 + maintainers = with maintainers; [ nixbitcoin ]; 26 + license = licenses.mit; 27 + platforms = platforms.linux; 28 + }; 29 + }
+1 -1
pkgs/applications/radio/gnuradio/wrapper.nix
··· 96 96 ] 97 97 ++ lib.optionals (unwrapped.hasFeature "gr-qtgui" unwrapped.features) 98 98 # 3.7 builds with qt4 99 - (if unwrapped.versionAttr.major == "3.8" then 99 + (if lib.versionAtLeast unwrapped.versionAttr.major "3.8" then 100 100 [ 101 101 "--prefix" "QT_PLUGIN_PATH" ":" 102 102 "${
+2 -2
pkgs/applications/version-management/gitea/default.nix
··· 16 16 17 17 buildGoPackage rec { 18 18 pname = "gitea"; 19 - version = "1.14.1"; 19 + version = "1.14.2"; 20 20 21 21 # not fetching directly from the git repo, because that lacks several vendor files for the web UI 22 22 src = fetchurl { 23 23 url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz"; 24 - sha256 = "1hpwc5jmkbnn6qf3li8g38qz2l87vk6jq2zxijq92jyfp54kj03p"; 24 + sha256 = "sha256-0EvKk0/ro1YAqvc5yCt8vn2LkRoIbXrFTwcQtomoWsM="; 25 25 }; 26 26 27 27 unpackPhase = ''
+18
pkgs/applications/video/aegisub/default.nix
··· 76 76 url = "https://github.com/Aegisub/Aegisub/commit/6bd3f4c26b8fc1f76a8b797fcee11e7611d59a39.patch"; 77 77 sha256 = "sha256-rG8RJokd4V4aSYOQw2utWnrWPVrkqSV3TAvnGXNhLOk="; 78 78 }) 79 + 80 + # Compatibility with ffms2 81 + (fetchpatch { 82 + url = "https://github.com/Aegisub/Aegisub/commit/1aa9215e7fc360de05da9b7ec2cd68f1940af8b2.patch"; 83 + sha256 = "sha256-JsuI4hQTcT0TEqHHoSsGbuiTg4hMCH3Cxp061oLk8Go="; 84 + }) 85 + 86 + ./update-ffms2.patch 87 + 88 + # Compatibility with X11 89 + (fetchpatch { 90 + url = "https://github.com/Aegisub/Aegisub/commit/7a6da26be6a830f4e1255091952cc0a1326a4520.patch"; 91 + sha256 = "sha256-/aTcIjFlZY4N9+IyHL4nwR0hUR4HTJM7ibbdKmNxq0w="; 92 + }) 79 93 ]; 80 94 81 95 nativeBuildInputs = [ ··· 112 126 "bindnow" 113 127 "relro" 114 128 ]; 129 + 130 + postPatch = '' 131 + sed -i 's/-Wno-c++11-narrowing/-Wno-narrowing/' configure.ac src/Makefile 132 + ''; 115 133 116 134 # compat with icu61+ 117 135 # https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
+105
pkgs/applications/video/aegisub/update-ffms2.patch
··· 1 + commit 89c4e8d34ab77c3322f097b91fd9de22cbea7a37 2 + Author: Thomas Goyne <plorkyeran@aegisub.org> 3 + Date: Wed Nov 21 16:41:05 2018 -0800 4 + 5 + Update ffmpeg and ffms2 6 + 7 + diff --git a/src/video_provider_ffmpegsource.cpp b/src/video_provider_ffmpegsource.cpp 8 + index 8bd68fbbf..f4ed6a2f2 100644 9 + --- a/src/video_provider_ffmpegsource.cpp 10 + +++ b/src/video_provider_ffmpegsource.cpp 11 + @@ -44,6 +44,23 @@ 12 + #include <libaegisub/make_unique.h> 13 + 14 + namespace { 15 + +typedef enum AGI_ColorSpaces { 16 + + AGI_CS_RGB = 0, 17 + + AGI_CS_BT709 = 1, 18 + + AGI_CS_UNSPECIFIED = 2, 19 + + AGI_CS_FCC = 4, 20 + + AGI_CS_BT470BG = 5, 21 + + AGI_CS_SMPTE170M = 6, 22 + + AGI_CS_SMPTE240M = 7, 23 + + AGI_CS_YCOCG = 8, 24 + + AGI_CS_BT2020_NCL = 9, 25 + + AGI_CS_BT2020_CL = 10, 26 + + AGI_CS_SMPTE2085 = 11, 27 + + AGI_CS_CHROMATICITY_DERIVED_NCL = 12, 28 + + AGI_CS_CHROMATICITY_DERIVED_CL = 13, 29 + + AGI_CS_ICTCP = 14 30 + +} AGI_ColorSpaces; 31 + + 32 + /// @class FFmpegSourceVideoProvider 33 + /// @brief Implements video loading through the FFMS library. 34 + class FFmpegSourceVideoProvider final : public VideoProvider, FFmpegSourceProvider { 35 + @@ -78,7 +95,7 @@ public: 36 + if (matrix == RealColorSpace) 37 + FFMS_SetInputFormatV(VideoSource, CS, CR, FFMS_GetPixFmt(""), nullptr); 38 + else if (matrix == "TV.601") 39 + - FFMS_SetInputFormatV(VideoSource, FFMS_CS_BT470BG, CR, FFMS_GetPixFmt(""), nullptr); 40 + + FFMS_SetInputFormatV(VideoSource, AGI_CS_BT470BG, CR, FFMS_GetPixFmt(""), nullptr); 41 + else 42 + return; 43 + ColorSpace = matrix; 44 + @@ -103,16 +120,16 @@ std::string colormatrix_description(int cs, int cr) { 45 + std::string str = cr == FFMS_CR_JPEG ? "PC" : "TV"; 46 + 47 + switch (cs) { 48 + - case FFMS_CS_RGB: 49 + + case AGI_CS_RGB: 50 + return "None"; 51 + - case FFMS_CS_BT709: 52 + + case AGI_CS_BT709: 53 + return str + ".709"; 54 + - case FFMS_CS_FCC: 55 + + case AGI_CS_FCC: 56 + return str + ".FCC"; 57 + - case FFMS_CS_BT470BG: 58 + - case FFMS_CS_SMPTE170M: 59 + + case AGI_CS_BT470BG: 60 + + case AGI_CS_SMPTE170M: 61 + return str + ".601"; 62 + - case FFMS_CS_SMPTE240M: 63 + + case AGI_CS_SMPTE240M: 64 + return str + ".240M"; 65 + default: 66 + throw VideoOpenError("Unknown video color space"); 67 + @@ -206,8 +223,10 @@ void FFmpegSourceVideoProvider::LoadVideo(agi::fs::path const& filename, std::st 68 + 69 + // set thread count 70 + int Threads = OPT_GET("Provider/Video/FFmpegSource/Decoding Threads")->GetInt(); 71 + +#if FFMS_VERSION < ((2 << 24) | (30 << 16) | (0 << 8) | 0) 72 + if (FFMS_GetVersion() < ((2 << 24) | (17 << 16) | (2 << 8) | 1) && FFMS_GetSourceType(Index) == FFMS_SOURCE_LAVF) 73 + Threads = 1; 74 + +#endif 75 + 76 + // set seekmode 77 + // TODO: give this its own option? 78 + @@ -235,18 +254,22 @@ void FFmpegSourceVideoProvider::LoadVideo(agi::fs::path const& filename, std::st 79 + else 80 + DAR = double(Width) / Height; 81 + 82 + - CS = TempFrame->ColorSpace; 83 + + int VideoCS = CS = TempFrame->ColorSpace; 84 + CR = TempFrame->ColorRange; 85 + 86 + - if (CS == FFMS_CS_UNSPECIFIED) 87 + - CS = Width > 1024 || Height >= 600 ? FFMS_CS_BT709 : FFMS_CS_BT470BG; 88 + + if (CS == AGI_CS_UNSPECIFIED) 89 + + CS = Width > 1024 || Height >= 600 ? AGI_CS_BT709 : AGI_CS_BT470BG; 90 + RealColorSpace = ColorSpace = colormatrix_description(CS, CR); 91 + 92 + #if FFMS_VERSION >= ((2 << 24) | (17 << 16) | (1 << 8) | 0) 93 + - if (CS != FFMS_CS_RGB && CS != FFMS_CS_BT470BG && ColorSpace != colormatrix && (colormatrix == "TV.601" || OPT_GET("Video/Force BT.601")->GetBool())) { 94 + - if (FFMS_SetInputFormatV(VideoSource, FFMS_CS_BT470BG, CR, FFMS_GetPixFmt(""), &ErrInfo)) 95 + + if (CS != AGI_CS_RGB && CS != AGI_CS_BT470BG && ColorSpace != colormatrix && (colormatrix == "TV.601" || OPT_GET("Video/Force BT.601")->GetBool())) { 96 + + CS = AGI_CS_BT470BG; 97 + + ColorSpace = colormatrix_description(AGI_CS_BT470BG, CR); 98 + + } 99 + + 100 + + if (CS != VideoCS) { 101 + + if (FFMS_SetInputFormatV(VideoSource, CS, CR, FFMS_GetPixFmt(""), &ErrInfo)) 102 + throw VideoOpenError(std::string("Failed to set input format: ") + ErrInfo.Buffer); 103 + - ColorSpace = colormatrix_description(FFMS_CS_BT470BG, CR); 104 + } 105 + #endif
+4 -4
pkgs/development/compilers/llvm/10/default.nix
··· 33 33 34 34 libllvm = callPackage ./llvm { }; 35 35 36 - # `llvm` historically had the binaries. But this migration 37 - # technique also impedes `lib.get*`. Perhaps we will revisit it. 38 - llvm = tools.libllvm.out; 36 + # `llvm` historically had the binaries. When choosing an output explicitly, 37 + # we need to reintroduce `outputUnspecified` to get the expected behavior e.g. of lib.get* 38 + llvm = tools.libllvm.out // { outputUnspecified = true; }; 39 39 40 40 libclang = callPackage ./clang { 41 41 inherit clang-tools-extra_src; 42 42 }; 43 43 44 - clang-unwrapped = tools.libclang.out; 44 + clang-unwrapped = tools.libclang.out // { outputUnspecified = true; }; 45 45 46 46 # disabled until recommonmark supports sphinx 3 47 47 #Llvm-manpages = lowPrio (tools.libllvm.override {
+4 -5
pkgs/development/compilers/llvm/11/default.nix
··· 35 35 36 36 libllvm = callPackage ./llvm { }; 37 37 38 - # `llvm` historically had the binaries. But this migration 39 - # technique also impedes `lib.get*`. Perhaps we will revisit it. 40 - llvm = tools.libllvm.out; 38 + # `llvm` historically had the binaries. When choosing an output explicitly, 39 + # we need to reintroduce `outputUnspecified` to get the expected behavior e.g. of lib.get* 40 + llvm = tools.libllvm.out // { outputUnspecified = true; }; 41 41 42 42 libclang = callPackage ./clang { 43 43 inherit clang-tools-extra_src; 44 44 }; 45 45 46 - clang-unwrapped = tools.libclang.out; 47 - 46 + clang-unwrapped = tools.libclang.out // { outputUnspecified = true; }; 48 47 # disabled until recommonmark supports sphinx 3 49 48 #Llvm-manpages = lowPrio (tools.libllvm.override { 50 49 # enableManpages = true;
+4 -4
pkgs/development/compilers/llvm/12/default.nix
··· 44 44 inherit llvm_meta; 45 45 }; 46 46 47 - # `llvm` historically had the binaries. But this migration 48 - # technique also impedes `lib.get*`. Perhaps we will revisit it. 49 - llvm = tools.libllvm.out; 47 + # `llvm` historically had the binaries. When choosing an output explicitly, 48 + # we need to reintroduce `outputUnspecified` to get the expected behavior e.g. of lib.get* 49 + llvm = tools.libllvm.out // { outputUnspecified = true; }; 50 50 51 51 libclang = callPackage ./clang { 52 52 inherit clang-tools-extra_src llvm_meta; 53 53 }; 54 54 55 - clang-unwrapped = tools.libclang.out; 55 + clang-unwrapped = tools.libclang.out // { outputUnspecified = true; }; 56 56 57 57 # disabled until recommonmark supports sphinx 3 58 58 #Llvm-manpages = lowPrio (tools.libllvm.override {
+5 -5
pkgs/development/compilers/llvm/5/default.nix
··· 30 30 31 31 libllvm = callPackage ./llvm { }; 32 32 33 - # `llvm` historically had the binaries. But this migration 34 - # technique also impedes `lib.get*`. Perhaps we will revisit it. 35 - llvm = tools.libllvm.out; 33 + # `llvm` historically had the binaries. When choosing an output explicitly, 34 + # we need to reintroduce `outputUnspecified` to get the expected behavior e.g. of lib.get* 35 + llvm = tools.libllvm.out // { outputUnspecified = true; }; 36 36 37 37 libllvm-polly = callPackage ./llvm { enablePolly = true; }; 38 38 39 - llvm-polly = tools.libllvm-polly.lib; 39 + llvm-polly = tools.libllvm-polly.lib // { outputUnspecified = true; }; 40 40 41 41 libclang = callPackage ./clang { 42 42 inherit clang-tools-extra_src; 43 43 }; 44 44 45 - clang-unwrapped = tools.libclang.out; 45 + clang-unwrapped = tools.libclang.out // { outputUnspecified = true; }; 46 46 47 47 llvm-manpages = lowPrio (tools.libllvm.override { 48 48 enableManpages = true;
+5 -5
pkgs/development/compilers/llvm/6/default.nix
··· 30 30 31 31 libllvm = callPackage ./llvm { }; 32 32 33 - # `llvm` historically had the binaries. But this migration 34 - # technique also impedes `lib.get*`. Perhaps we will revisit it. 35 - llvm = tools.libllvm.out; 33 + # `llvm` historically had the binaries. When choosing an output explicitly, 34 + # we need to reintroduce `outputUnspecified` to get the expected behavior e.g. of lib.get* 35 + llvm = tools.libllvm.out // { outputUnspecified = true; }; 36 36 37 37 libllvm-polly = callPackage ./llvm { enablePolly = true; }; 38 38 39 - llvm-polly = tools.libllvm-polly.lib; 39 + llvm-polly = tools.libllvm-polly.lib // { outputUnspecified = true; }; 40 40 41 41 libclang = callPackage ./clang { 42 42 inherit clang-tools-extra_src; 43 43 }; 44 44 45 - clang-unwrapped = tools.libclang.out; 45 + clang-unwrapped = tools.libclang.out // { outputUnspecified = true; }; 46 46 47 47 llvm-manpages = lowPrio (tools.libllvm.override { 48 48 enableManpages = true;
+5 -5
pkgs/development/compilers/llvm/7/default.nix
··· 32 32 33 33 libllvm = callPackage ./llvm { }; 34 34 35 - # `llvm` historically had the binaries. But this migration 36 - # technique also impedes `lib.get*`. Perhaps we will revisit it. 37 - llvm = tools.libllvm.out; 35 + # `llvm` historically had the binaries. When choosing an output explicitly, 36 + # we need to reintroduce `outputUnspecified` to get the expected behavior e.g. of lib.get* 37 + llvm = tools.libllvm.out // { outputUnspecified = true; }; 38 38 39 39 libllvm-polly = callPackage ./llvm { enablePolly = true; }; 40 40 41 - llvm-polly = tools.libllvm-polly.lib; 41 + llvm-polly = tools.libllvm-polly.lib // { outputUnspecified = true; }; 42 42 43 43 libclang = callPackage ./clang { 44 44 inherit clang-tools-extra_src; 45 45 }; 46 46 47 - clang-unwrapped = tools.libclang.out; 47 + clang-unwrapped = tools.libclang.out // { outputUnspecified = true; }; 48 48 49 49 clang-polly-unwrapped = callPackage ./clang { 50 50 inherit clang-tools-extra_src;
+5 -5
pkgs/development/compilers/llvm/8/default.nix
··· 32 32 33 33 libllvm = callPackage ./llvm { }; 34 34 35 - # `llvm` historically had the binaries. But this migration 36 - # technique also impedes `lib.get*`. Perhaps we will revisit it. 37 - llvm = tools.libllvm.out; 35 + # `llvm` historically had the binaries. When choosing an output explicitly, 36 + # we need to reintroduce `outputUnspecified` to get the expected behavior e.g. of lib.get* 37 + llvm = tools.libllvm.out // { outputUnspecified = true; }; 38 38 39 39 libllvm-polly = callPackage ./llvm { enablePolly = true; }; 40 40 41 - llvm-polly = tools.libllvm-polly.lib; 41 + llvm-polly = tools.libllvm-polly.lib // { outputUnspecified = true; }; 42 42 43 43 libclang = callPackage ./clang { 44 44 inherit clang-tools-extra_src; 45 45 }; 46 46 47 - clang-unwrapped = tools.libclang.out; 47 + clang-unwrapped = tools.libclang.out // { outputUnspecified = true; }; 48 48 49 49 clang-polly-unwrapped = callPackage ./clang { 50 50 inherit clang-tools-extra_src;
+5 -5
pkgs/development/compilers/llvm/9/default.nix
··· 32 32 33 33 libllvm = callPackage ./llvm { }; 34 34 35 - # `llvm` historically had the binaries. But this migration 36 - # technique also impedes `lib.get*`. Perhaps we will revisit it. 37 - llvm = tools.libllvm.out; 35 + # `llvm` historically had the binaries. When choosing an output explicitly, 36 + # we need to reintroduce `outputUnspecified` to get the expected behavior e.g. of lib.get* 37 + llvm = tools.libllvm.out // { outputUnspecified = true; }; 38 38 39 39 libllvm-polly = callPackage ./llvm { enablePolly = true; }; 40 40 41 - llvm-polly = tools.libllvm-polly.lib; 41 + llvm-polly = tools.libllvm-polly.lib // { outputUnspecified = true; }; 42 42 43 43 libclang = callPackage ./clang { 44 44 inherit clang-tools-extra_src; 45 45 }; 46 46 47 - clang-unwrapped = tools.libclang.out; 47 + clang-unwrapped = tools.libclang.out // { outputUnspecified = true; }; 48 48 49 49 clang-polly-unwrapped = callPackage ./clang { 50 50 inherit clang-tools-extra_src;
+3 -3
pkgs/development/compilers/z88dk/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "z88dk"; 5 - version = "2.0"; 5 + version = "2.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "z88dk"; 9 9 repo = "z88dk"; 10 10 rev = "v${version}"; 11 - sha256 = "14r9bjw6lgz85a59a4ajspvg12swiqxi17zicl8r7p29pi9lsibp"; 11 + sha256 = "sha256-NgO8rbM31IX4nrJRU0p1DUafHPagMQepKLLoOLuGlT8="; 12 12 fetchSubmodules = true; 13 13 }; 14 14 ··· 36 36 makeFlags = [ 37 37 "git_rev=${short_rev}" 38 38 "version=${version}" 39 - "prefix=$(out)" 39 + "DESTDIR=$(out)" 40 40 "git_count=0" 41 41 ]; 42 42
+50
pkgs/development/libraries/applet-window-buttons/default.nix
··· 1 + { lib 2 + , mkDerivation 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , cmake 6 + , extra-cmake-modules 7 + , kcoreaddons 8 + , kdeclarative 9 + , kdecoration 10 + , plasma-framework 11 + }: 12 + 13 + mkDerivation rec { 14 + pname = "applet-window-buttons"; 15 + version = "0.8.1"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "psifidotos"; 19 + repo = "applet-window-buttons"; 20 + rev = version; 21 + sha256 = "0r1h4kbdv6pxj15w4n1w50g8zsl0jrc4808dyfygzwf87mghziyz"; 22 + }; 23 + 24 + patches = [ 25 + (fetchpatch { 26 + name = "fix-compilation-error-with-plasma-5.21.patch"; 27 + url = "https://github.com/psifidotos/applet-window-buttons/commit/dc5ed862fa3cb943f9c0d561c864ff461156a19e.patch"; 28 + sha256 = "17bdkkmy7k402viynj2bpw281qzsn0f1w8gf98gq65wkm4sf4j6k"; 29 + }) 30 + ]; 31 + 32 + nativeBuildInputs = [ 33 + cmake 34 + extra-cmake-modules 35 + ]; 36 + 37 + buildInputs = [ 38 + kcoreaddons 39 + kdeclarative 40 + kdecoration 41 + plasma-framework 42 + ]; 43 + 44 + meta = with lib; { 45 + description = "Plasma 5 applet in order to show window buttons in your panels"; 46 + homepage = "https://github.com/psifidotos/applet-window-buttons"; 47 + license = licenses.gpl2Plus; 48 + maintainers = with maintainers; [ dotlambda ]; 49 + }; 50 + }
+2 -3
pkgs/development/libraries/flint/default.nix
··· 13 13 stdenv.mkDerivation rec { 14 14 pname = "flint"; 15 15 version = "2.7.1"; 16 + 16 17 src = fetchurl { 17 18 url = "http://www.flintlib.org/flint-${version}.tar.gz"; 18 19 sha256 = "07j8r96kdzp19cy3a5yvpjxf90mkd6103yr2n42qmpv7mgcjyvhq"; 19 20 }; 21 + 20 22 buildInputs = [ 21 23 gmp 22 24 mpir ··· 36 38 ] ++ lib.optionals withBlas [ 37 39 "--with-blas=${openblas}" 38 40 ]; 39 - 40 - # issues with ntl -- https://github.com/wbhart/flint2/issues/487 41 - NIX_CXXSTDLIB_COMPILE = "-std=c++11"; 42 41 43 42 doCheck = true; 44 43 meta = {
+40
pkgs/development/libraries/mauikit-filebrowsing/default.nix
··· 1 + { lib 2 + , mkDerivation 3 + , fetchFromGitLab 4 + , cmake 5 + , extra-cmake-modules 6 + , kconfig 7 + , kio 8 + , mauikit 9 + }: 10 + 11 + mkDerivation rec { 12 + pname = "mauikit-filebrowsing"; 13 + version = "1.2.2"; 14 + 15 + src = fetchFromGitLab { 16 + domain = "invent.kde.org"; 17 + owner = "maui"; 18 + repo = "mauikit-filebrowsing"; 19 + rev = "v${version}"; 20 + sha256 = "1m56lil7w884wn8qycl7y55abvw2vanfy8c4g786200p6acsh3kl"; 21 + }; 22 + 23 + nativeBuildInputs = [ 24 + cmake 25 + extra-cmake-modules 26 + ]; 27 + 28 + buildInputs = [ 29 + kconfig 30 + kio 31 + mauikit 32 + ]; 33 + 34 + meta = with lib; { 35 + homepage = "https://invent.kde.org/maui/mauikit-filebrowsing"; 36 + description = "MauiKit File Browsing utilities and controls"; 37 + license = licenses.lgpl2Plus; 38 + maintainers = with maintainers; [ dotlambda ]; 39 + }; 40 + }
+8 -6
pkgs/development/libraries/mauikit/default.nix
··· 3 3 , fetchFromGitLab 4 4 , cmake 5 5 , extra-cmake-modules 6 - , kio 6 + , kconfig 7 + , kcoreaddons 8 + , ki18n 7 9 , qtbase 8 10 , qtquickcontrols2 9 - , syntax-highlighting 10 11 }: 11 12 12 13 mkDerivation rec { 13 14 pname = "mauikit"; 14 - version = "1.2.1"; 15 + version = "1.2.2"; 15 16 16 17 src = fetchFromGitLab { 17 18 domain = "invent.kde.org"; 18 19 owner = "maui"; 19 20 repo = "mauikit"; 20 21 rev = "v${version}"; 21 - sha256 = "1wimbpbn9yqqdcjd59x83z0mw2fycjz09py2rwimfi8ldmvi5lgy"; 22 + sha256 = "1jz0a65bbznjg7aaq19rdyp956wn6xc1x4xigfkhj6mwsvnb49av"; 22 23 }; 23 24 24 25 nativeBuildInputs = [ ··· 27 28 ]; 28 29 29 30 buildInputs = [ 30 - kio 31 + kconfig 32 + kcoreaddons 33 + ki18n 31 34 qtquickcontrols2 32 - syntax-highlighting 33 35 ]; 34 36 35 37 meta = with lib; {
+2 -1
pkgs/development/libraries/mpir/default.nix
··· 11 11 sha256 = "1fvmhrqdjs925hzr2i8bszm50h00gwsh17p2kn2pi51zrxck9xjj"; 12 12 }; 13 13 14 - configureFlags = [ "--enable-cxx" "--enable-fat" ]; 14 + configureFlags = [ "--enable-cxx" ] 15 + ++ lib.optionals stdenv.isLinux [ "--enable-fat" ]; 15 16 16 17 meta = { 17 18 inherit version;
+2 -2
pkgs/development/libraries/tbb/default.nix
··· 2 2 3 3 with lib; stdenv.mkDerivation rec { 4 4 pname = "tbb"; 5 - version = "2019_U9"; 5 + version = "2020_U3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "01org"; 9 9 repo = "tbb"; 10 10 rev = version; 11 - sha256 = "1a39nflw7b2n51jfp3fdprnkpgzaspzww1dckfvaigflfli9s8rj"; 11 + sha256 = "sha256-prO2O5hd+Wz5iA0vfrqmyHFr0Ptzk64so5KpSpvuKmU="; 12 12 }; 13 13 14 14 nativeBuildInputs = optional stdenv.isDarwin fixDarwinDylibNames;
+2 -2
pkgs/development/python-modules/adafruit-platformdetect/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "adafruit-platformdetect"; 9 - version = "3.11.0"; 9 + version = "3.13.0"; 10 10 11 11 src = fetchPypi { 12 12 pname = "Adafruit-PlatformDetect"; 13 13 inherit version; 14 - sha256 = "sha256-FgE0/OnqUuzpC5jCM4Q1g49F3fg1Mdstr7nys7G1MOs="; 14 + sha256 = "sha256-FlPd3bj2sU52nc2+XohNhBWRa+1Dr/SyaiSusxX6PeE="; 15 15 }; 16 16 17 17 nativeBuildInputs = [ setuptools-scm ];
+10 -4
pkgs/development/python-modules/cassandra-driver/default.nix
··· 1 - { stdenv, lib, buildPythonPackage, fetchFromGitHub, python, pythonOlder 1 + { stdenv 2 + , lib 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , pythonOlder 2 6 , cython 3 7 , eventlet 4 8 , futures ? null ··· 21 25 22 26 buildPythonPackage rec { 23 27 pname = "cassandra-driver"; 24 - version = "3.24.0"; 28 + version = "3.25.0"; 25 29 26 30 # pypi tarball doesn't include tests 27 31 src = fetchFromGitHub { 28 32 owner = "datastax"; 29 33 repo = "python-driver"; 30 34 rev = version; 31 - sha256 = "1rr69hly5q810xpn8rkzxwzlq55wxxp7kwki9vfri3gh674d2wip"; 35 + sha256 = "1dn7iiavsrhh6i9hcyw0mk8j95r5ym0gbrvdca998hx2rnz5ark6"; 32 36 }; 33 37 34 38 nativeBuildInputs = [ cython ]; ··· 66 70 67 71 pytestFlagsArray = [ 68 72 "tests/unit" 73 + ]; 74 + disabledTestPaths = [ 69 75 # requires puresasl 70 - "--ignore=tests/unit/advanced/test_auth.py" 76 + "tests/unit/advanced/test_auth.py" 71 77 ]; 72 78 disabledTests = [ 73 79 # doesn't seem to be intended to be run directly
+38 -12
pkgs/development/python-modules/gremlinpython/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub 2 - , pytestCheckHook, pyhamcrest, pytestrunner 3 - , six, isodate, tornado, aenum, radish-bdd, mock 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , aenum 5 + , importlib-metadata 6 + , isodate 7 + , six 8 + , tornado 9 + , pytestCheckHook 10 + , mock 11 + , pyhamcrest 12 + , radish-bdd 4 13 }: 5 14 6 15 buildPythonPackage rec { ··· 22 31 --replace 'PyHamcrest>=1.9.0,<2.0.0' 'PyHamcrest' \ 23 32 --replace 'radish-bdd==0.8.6' 'radish-bdd' \ 24 33 --replace 'mock>=3.0.5,<4.0.0' 'mock' \ 25 - --replace 'pytest>=4.6.4,<5.0.0' 'pytest' 34 + --replace 'pytest>=4.6.4,<5.0.0' 'pytest' \ 35 + --replace 'importlib-metadata<3.0.0' 'importlib-metadata' \ 36 + --replace 'pytest-runner==5.2' ' ' 26 37 ''; 27 38 28 - nativeBuildInputs = [ pytestrunner ]; # simply to placate requirements 29 - propagatedBuildInputs = [ six isodate tornado aenum ]; 39 + # setup-requires requirements 40 + nativeBuildInputs = [ 41 + importlib-metadata 42 + ]; 43 + propagatedBuildInputs = [ 44 + aenum 45 + isodate 46 + six 47 + tornado 48 + ]; 30 49 31 - checkInputs = [ pytestCheckHook pyhamcrest radish-bdd mock ]; 50 + checkInputs = [ 51 + pytestCheckHook 52 + mock 53 + pyhamcrest 54 + radish-bdd 55 + ]; 32 56 33 57 # disable custom pytest report generation 34 58 preCheck = '' ··· 36 60 ''; 37 61 38 62 # many tests expect a running tinkerpop server 63 + disabledTestPaths = [ 64 + "tests/driver/test_client.py" 65 + "tests/driver/test_driver_remote_connection.py" 66 + "tests/driver/test_driver_remote_connection_threaded.py" 67 + "tests/process/test_dsl.py" 68 + "tests/structure/io/test_functionalityio.py" 69 + ]; 39 70 pytestFlagsArray = [ 40 - "--ignore=tests/driver/test_client.py" 41 - "--ignore=tests/driver/test_driver_remote_connection.py" 42 - "--ignore=tests/driver/test_driver_remote_connection_threaded.py" 43 - "--ignore=tests/process/test_dsl.py" 44 - "--ignore=tests/structure/io/test_functionalityio.py" 45 71 # disabledTests doesn't quite allow us to be precise enough for this 46 72 "-k 'not (TestFunctionalGraphSONIO and (test_timestamp or test_datetime or test_uuid))'" 47 73 ];
+3 -1
pkgs/development/python-modules/jupytext/default.nix
··· 44 44 jupyter_client 45 45 notebook 46 46 ]; 47 - # pre-commit tests require a Git repository. 47 + # Tests that use a Jupyter notebook require $HOME to be writable. 48 + HOME = "$TMPDIR"; 49 + # Pre-commit tests expect the source directory to be a Git repository. 48 50 pytestFlagsArray = [ "--ignore-glob='tests/test_pre_commit_*.py'" ]; 49 51 pythonImportsCheck = [ "jupytext" "jupytext.cli" ]; 50 52
+15 -12
pkgs/development/python-modules/lark-parser/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , python 4 5 , regex 5 - # Test inputs 6 - , pytestCheckHook 7 6 }: 8 7 9 8 buildPythonPackage rec { 10 9 pname = "lark-parser"; 11 - version = "0.11.2"; 10 + version = "0.11.3"; 12 11 13 12 src = fetchFromGitHub { 14 13 owner = "lark-parser"; 15 14 repo = "lark"; 16 15 rev = version; 17 - sha256 = "1v1piaxpz4780km2z5i6sr9ygi9wpn09yyh999b3f4y0dcz20pbd"; 16 + sha256 = "1ggvlzpdzlrxl46fgi8cfq2rzlwn21shpdkm4pknnhfjlsinv913"; 18 17 }; 19 18 19 + # Optional import, but fixes some re known bugs & allows advanced regex features 20 20 propagatedBuildInputs = [ regex ]; 21 21 22 - checkInputs = [ pytestCheckHook ]; 23 - disabledTestPaths = [ 24 - "tests/test_nearley" # requires Js2Py package (not in nixpkgs) 25 - ]; 26 - disabledTests = [ 27 - "test_override_rule" # has issue with file access paths 28 - ]; 22 + checkPhase = '' 23 + runHook preCheck 24 + 25 + # Official way to run the tests. Runs unittest internally. 26 + # pytest produces issues with some test resource paths (relies on __main__) 27 + ${python.interpreter} -m tests 28 + 29 + runHook postCheck 30 + ''; 29 31 30 32 meta = with lib; { 31 33 description = "A modern parsing library for Python, implementing Earley & LALR(1) and an easy interface"; 32 - homepage = "https://github.com/lark-parser/lark"; 34 + homepage = "https://lark-parser.readthedocs.io/"; 35 + changelog = "https://github.com/lark-parser/lark/releases/tag/${version}"; 33 36 license = licenses.mit; 34 37 maintainers = with maintainers; [ fridh drewrisinger ]; 35 38 };
+12
pkgs/development/tools/boost-build/darwin-default-toolset.patch
··· 1 + diff --git a/src/build-system.jam b/src/build-system.jam 2 + index 60425c54..c6842217 100644 3 + --- a/src/build-system.jam 4 + +++ b/src/build-system.jam 5 + @@ -644,7 +644,7 @@ local rule should-clean-project ( project ) 6 + } 7 + else if [ os.name ] = MACOSX 8 + { 9 + - default-toolset = darwin ; 10 + + default-toolset = clang-darwin ; 11 + } 12 + }
+5
pkgs/development/tools/boost-build/default.nix
··· 15 15 sha256 = "1r4rwlq87ydmsdqrik4ly5iai796qalvw7603mridg2nwcbbnf54"; 16 16 }; 17 17 18 + patches = [ 19 + # Upstream defaults to gcc on darwin, but we use clang. 20 + ./darwin-default-toolset.patch 21 + ]; 22 + 18 23 nativeBuildInputs = [ 19 24 bison 20 25 ];
+24
pkgs/development/tools/evans/default.nix
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 + 3 + buildGoModule rec { 4 + pname = "evans"; 5 + version = "0.9.3"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "ktr0731"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "sha256-q8HWDZpUWaitdZcWkvKEWWbIWCj9VmWCxxhAdcYZx8s="; 12 + }; 13 + 14 + subPackages = [ "." ]; 15 + 16 + vendorSha256 = "sha256-ntRlrbsQjZmVxEg9361Q+f6Wb/R393+sbOKOEh5VKPk="; 17 + 18 + meta = with lib; { 19 + description = "More expressive universal gRPC client"; 20 + homepage = "https://evans.syfm.me/"; 21 + license = with licenses; [ mit ]; 22 + maintainers = with maintainers; [ diogox ]; 23 + }; 24 + }
+3 -3
pkgs/development/tools/rust/cargo-make/default.nix
··· 13 13 14 14 rustPlatform.buildRustPackage rec { 15 15 pname = "cargo-make"; 16 - version = "0.32.17"; 16 + version = "0.33.0"; 17 17 18 18 src = fetchCrate { 19 19 inherit pname version; 20 - sha256 = "sha256-D/8fjJIyHCRzkomRsYUnGjDMCusjNX8ZYmLjowCYgcM="; 20 + sha256 = "sha256-OnCSWAGcxQsLq5aQmd/15lAQmdsCGPqLeRYWXQG0oG0="; 21 21 }; 22 22 23 23 nativeBuildInputs = [ pkg-config ]; ··· 25 25 buildInputs = [ openssl ] 26 26 ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration libiconv ]; 27 27 28 - cargoSha256 = "sha256-Upegh3W31sTaXl0iHZ3HiYs9urgXH/XhC0vQBAWvDIc="; 28 + cargoSha256 = "sha256-BsE5+0bL9ctsdZ/PM1d6TfrXuzNMYHejoqA3bgH8140="; 29 29 30 30 # Some tests fail because they need network access. 31 31 # However, Travis ensures a proper build.
+3 -3
pkgs/development/tools/rust/probe-run/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "probe-run"; 5 - version = "0.2.1"; 5 + version = "0.2.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "knurling-rs"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "QEUsigoSqVczrsSSDnOhTXm94JTXHgxeNY0tGsOaRyg="; 11 + sha256 = "avaGBIKldr+1Zwq+7NOHt2wldmY/6Lb6bi9uVHZFI5Q="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-Fr5XWIUHXyfesouHi0Uryf/ZgB/rDDJ4G1BYGHw0QeQ="; 14 + cargoSha256 = "HmDKfb8F6sGnaX64FR3No2GbBYm4bVopbjs8d35WiZQ="; 15 15 16 16 nativeBuildInputs = [ pkg-config ]; 17 17 buildInputs = [ libusb1 ];
+20 -4
pkgs/development/tools/rust/rust-analyzer/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices, cmake 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices, cmake, fetchpatch 2 2 , libiconv 3 3 , useMimalloc ? false 4 4 , doCheck ? true ··· 6 6 7 7 rustPlatform.buildRustPackage rec { 8 8 pname = "rust-analyzer-unwrapped"; 9 - version = "2021-04-19"; 10 - cargoSha256 = "sha256-CXkI3CQ/v6RBMM2Dpp2u+qnRwba+nqzeaPSJGBiQUoY="; 9 + version = "2021-05-10"; 10 + cargoSha256 = "sha256-PUecBFdYIJFZa5IwwNnuXOkuxtyrzWhxy3C+2jv/hvU="; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "rust-analyzer"; 14 14 repo = "rust-analyzer"; 15 15 rev = version; 16 - sha256 = "sha256-W/cUwZEvlUXzqQ/futeNFwDWR/cTL/RLZaW2srIs83Q="; 16 + sha256 = "sha256-oz6FqRMEUUTS4X2XhpWjp2JIgl1A6wQv2OU8auwUoVM="; 17 17 }; 18 + 19 + patches = [ 20 + # Revert updates which require rust 1.52.0. 21 + # We currently have rust 1.51.0 in nixpkgs. 22 + # https://github.com/rust-analyzer/rust-analyzer/pull/8718 23 + (fetchpatch { 24 + url = "https://github.com/rust-analyzer/rust-analyzer/pull/8718/commits/607d8a2f61e56fabb7a3bc5132592917fcdca970.patch"; 25 + sha256 = "sha256-g1yyq/XSwGxftnqSW1bR5UeMW4gW28f4JciGvwQ/n08="; 26 + revert = true; 27 + }) 28 + (fetchpatch { 29 + url = "https://github.com/rust-analyzer/rust-analyzer/pull/8718/commits/6a16ec52aa0d91945577c99cdf421b303b59301e.patch"; 30 + sha256 = "sha256-n7Ew/0fG8zPaMFCi8FVLjQZwJSaczI/QoehC6pDLrAk="; 31 + revert = true; 32 + }) 33 + ]; 18 34 19 35 buildAndTestSubdir = "crates/rust-analyzer"; 20 36
+2 -2
pkgs/development/web/cypress/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cypress"; 5 - version = "7.1.0"; 5 + version = "7.3.0"; 6 6 7 7 src = fetchzip { 8 8 url = "https://cdn.cypress.io/desktop/${version}/linux-x64/cypress.zip"; 9 - sha256 = "1m52v6hhblrjji9c5885bn5qq0xlaw36krbmqfac7fhgsxmkxd2h"; 9 + sha256 = "158bpk4czfv2kkh1al1bb42jb0h3mbx9r72dk6crr2gg0bhabn8m"; 10 10 }; 11 11 12 12 passthru.updateScript = ./update.sh;
+3 -3
pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix
··· 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 4 pname = "firmware-linux-nonfree"; 5 - version = "2021-03-15"; 5 + version = "2021-05-11"; 6 6 7 7 src = fetchgit { 8 8 url = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"; 9 9 rev = "refs/tags/" + lib.replaceStrings ["-"] [""] version; 10 - sha256 = "sha256-BnYqveVFJk/tVYgYuggXgYGcUCZT9iPkCQIi48FOTWc="; 10 + sha256 = "015hajf3mq8dv2hw5wsyvi34zdqiwxp9p5dwdp8nrk4r9z5ysqxw"; 11 11 }; 12 12 13 13 installFlags = [ "DESTDIR=$(out)" ]; ··· 17 17 18 18 outputHashMode = "recursive"; 19 19 outputHashAlgo = "sha256"; 20 - outputHash = "sha256-TzAMGj7IDhzXcFhHAd15aZvAqyN+OKlJTkIhVGoTkIs="; 20 + outputHash = "034bwbl616vzl7lhcbvyz9dzmpzwi12vca3r5mszdxqh3z3s1g6a"; 21 21 22 22 meta = with lib; { 23 23 description = "Binary firmware collection packaged by kernel.org";
+4 -1
pkgs/tools/archivers/bomutils/default.nix
··· 13 13 sha256 = "1i7nhbq1fcbrjwfg64znz8p4l7662f7qz2l6xcvwd5z93dnmgmdr"; 14 14 }; 15 15 16 - makeFlags = [ "PREFIX=$(out)" ]; 16 + makeFlags = [ 17 + "PREFIX=$(out)" 18 + "CXX=${stdenv.cc.targetPrefix}c++" 19 + ]; 17 20 18 21 meta = with lib; { 19 22 homepage = "https://github.com/hogliux/bomutils";
+37
pkgs/tools/networking/tnat64/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "tnat64"; 5 + version = "0.05"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "andrewshadura"; 9 + repo = pname; 10 + rev = "${pname}-${version}"; 11 + sha256 = "07lmzidbrd3aahk2jvv93cic9gf36pwmgfd63gmy6hjkxf9a6fw9"; 12 + }; 13 + 14 + postPatch = '' 15 + # Fix usage of deprecated sys_errlist 16 + substituteInPlace tnat64.c --replace 'sys_errlist[errno]' 'strerror(errno)' 17 + ''; 18 + 19 + configureFlags = [ "--libdir=$(out)/lib" ]; 20 + nativeBuildInputs = [ autoreconfHook ]; 21 + 22 + meta = with lib; { 23 + description = "IPv4 to IPv6 interceptor"; 24 + homepage = "https://github.com/andrewshadura/tnat64"; 25 + license = licenses.gpl2Plus; 26 + longDescription = '' 27 + TNAT64 is an interceptor which redirects outgoing TCPv4 connections 28 + through NAT64, thus enabling an application running on an IPv6-only host 29 + to communicate with the IPv4 world, even if that application does not 30 + support IPv6 at all. 31 + ''; 32 + platforms = platforms.unix; 33 + badPlatforms = platforms.darwin; 34 + maintainers = [ maintainers.rnhmjoj ]; 35 + }; 36 + 37 + }
+2 -2
pkgs/tools/security/bitwarden_rs/default.nix
··· 1 1 { lib, stdenv, rustPlatform, fetchFromGitHub, nixosTests 2 2 , pkg-config, openssl 3 - , Security, CoreServices 3 + , libiconv, Security, CoreServices 4 4 , dbBackend ? "sqlite", libmysqlclient, postgresql }: 5 5 6 6 let ··· 19 19 20 20 nativeBuildInputs = [ pkg-config ]; 21 21 buildInputs = with lib; [ openssl ] 22 - ++ optionals stdenv.isDarwin [ Security CoreServices ] 22 + ++ optionals stdenv.isDarwin [ libiconv Security CoreServices ] 23 23 ++ optional (dbBackend == "mysql") libmysqlclient 24 24 ++ optional (dbBackend == "postgresql") postgresql; 25 25
+8 -1
pkgs/top-level/all-packages.nix
··· 253 253 254 254 eclipse-mat = callPackage ../development/tools/eclipse-mat { }; 255 255 256 + evans = callPackage ../development/tools/evans { }; 257 + 256 258 frugal = callPackage ../development/tools/frugal { }; 257 259 258 260 glade = callPackage ../development/tools/glade { }; ··· 809 811 quich = callPackage ../tools/misc/quich { } ; 810 812 811 813 tfk8s = callPackage ../tools/misc/tfk8s { }; 814 + 815 + tnat64 = callPackage ../tools/networking/tnat64 { }; 812 816 813 817 xcd = callPackage ../tools/misc/xcd { }; 814 818 ··· 27232 27236 27233 27237 picom = callPackage ../applications/window-managers/picom {}; 27234 27238 27239 + xd = callPackage ../applications/networking/p2p/xd {}; 27240 + 27235 27241 xdaliclock = callPackage ../tools/misc/xdaliclock {}; 27236 27242 27237 27243 xdg-dbus-proxy = callPackage ../development/libraries/xdg-dbus-proxy { }; ··· 30137 30143 kops_1_16 30138 30144 kops_1_17 30139 30145 kops_1_18 30146 + kops_1_19 30140 30147 ; 30141 - kops = kops_1_18; 30148 + kops = kops_1_19; 30142 30149 30143 30150 lguf-brightness = callPackage ../misc/lguf-brightness { }; 30144 30151
+4
pkgs/top-level/qt5-packages.nix
··· 53 53 54 54 alkimia = callPackage ../development/libraries/alkimia { }; 55 55 56 + applet-window-buttons = callPackage ../development/libraries/applet-window-buttons { }; 57 + 56 58 appstream-qt = callPackage ../development/libraries/appstream/qt.nix { }; 57 59 58 60 dxflib = callPackage ../development/libraries/dxflib {}; ··· 120 122 mapbox-gl-qml = libsForQt5.callPackage ../development/libraries/mapbox-gl-qml { }; 121 123 122 124 mauikit = callPackage ../development/libraries/mauikit { }; 125 + 126 + mauikit-filebrowsing = callPackage ../development/libraries/mauikit-filebrowsing { }; 123 127 124 128 mlt = callPackage ../development/libraries/mlt/qt-5.nix { }; 125 129