Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
dfd4f143 80e725f3

+498 -256
+6
maintainers/maintainer-list.nix
··· 4067 4067 githubId = 12491746; 4068 4068 name = "Masato Yonekawa"; 4069 4069 }; 4070 + hzeller = { 4071 + email = "h.zeller@acm.org"; 4072 + github = "hzeller"; 4073 + githubId = 140937; 4074 + name = "Henner Zeller"; 4075 + }; 4070 4076 i077 = { 4071 4077 email = "nixpkgs@imranhossa.in"; 4072 4078 github = "i077";
+20 -10
nixos/modules/services/security/fprintd.nix
··· 5 5 let 6 6 7 7 cfg = config.services.fprintd; 8 + fprintdPkg = if cfg.tod.enable then pkgs.fprintd-tod else pkgs.fprintd; 8 9 9 10 in 10 11 ··· 17 18 18 19 services.fprintd = { 19 20 20 - enable = mkOption { 21 - type = types.bool; 22 - default = false; 23 - description = '' 24 - Whether to enable fprintd daemon and PAM module for fingerprint readers handling. 25 - ''; 26 - }; 21 + enable = mkEnableOption "fprintd daemon and PAM module for fingerprint readers handling"; 27 22 28 23 package = mkOption { 29 24 type = types.package; 30 - default = pkgs.fprintd; 31 - defaultText = "pkgs.fprintd"; 25 + default = fprintdPkg; 26 + defaultText = "if cfg.tod.enable then pkgs.fprintd-tod else pkgs.fprintd"; 32 27 description = '' 33 28 fprintd package to use. 34 29 ''; 35 30 }; 36 31 37 - }; 32 + tod = { 38 33 34 + enable = mkEnableOption "Touch OEM Drivers library support"; 35 + 36 + driver = mkOption { 37 + type = types.package; 38 + example = literalExample "pkgs.libfprint-2-tod1-goodix"; 39 + description = '' 40 + Touch OEM Drivers (TOD) package to use. 41 + ''; 42 + }; 43 + }; 44 + }; 39 45 }; 40 46 41 47 ··· 48 54 environment.systemPackages = [ cfg.package ]; 49 55 50 56 systemd.packages = [ cfg.package ]; 57 + 58 + systemd.services.fprintd.environment = mkIf cfg.tod.enable { 59 + FP_TOD_DRIVERS_DIR = "${cfg.tod.driver}${cfg.tod.driver.driverPath}"; 60 + }; 51 61 52 62 }; 53 63
+17 -3
pkgs/applications/audio/sayonara/default.nix
··· 1 1 { mkDerivation 2 2 , cmake 3 3 , fetchFromGitLab 4 + , nix-update-script 4 5 , gst_all_1 5 6 , lib 6 7 , libpulseaudio ··· 11 12 , qttools 12 13 , taglib 13 14 , zlib 15 + , python3 14 16 }: 15 17 18 + let 19 + py = python3.withPackages (ps: with ps; [ 20 + pydbus 21 + ]); 22 + in 16 23 mkDerivation rec { 17 - pname = "sayonara-player"; 18 - version = "1.6.0-beta6"; 24 + pname = "sayonara"; 25 + version = "1.6.0-beta7"; 19 26 20 27 src = fetchFromGitLab { 21 28 owner = "luciocarreras"; 22 29 repo = "sayonara-player"; 23 30 rev = version; 24 - sha256 = "sha256-SbJS0DQvbW++CNXbuDHQxFlLRb1kTtDdIdHOqu0YxeQ="; 31 + sha256 = "14svszfldx32vn937rszd21rgl31vb5kzs0hnrg41ygx0br61rvd"; 25 32 }; 26 33 27 34 nativeBuildInputs = [ cmake ninja pkg-config qttools ]; ··· 32 39 qtbase 33 40 taglib 34 41 zlib 42 + py 35 43 ] 36 44 ++ (with gst_all_1; [ 37 45 gstreamer ··· 53 61 postInstall = '' 54 62 qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0") 55 63 ''; 64 + 65 + passthru = { 66 + updateScript = nix-update-script { 67 + attrPath = pname; 68 + }; 69 + }; 56 70 57 71 meta = with lib; { 58 72 description = "Sayonara music player";
+3 -3
pkgs/applications/blockchains/electrs.nix
··· 6 6 7 7 rustPlatform.buildRustPackage rec { 8 8 pname = "electrs"; 9 - version = "0.8.7"; 9 + version = "0.8.9"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "romanz"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - sha256 = "101prhxg7dr701gwm4s15maxb7cf65hf85hc7ai53b404v39vm71"; 15 + sha256 = "01fli2k5yh4iwlds97p5c36q19s3zxrqhkzp9dsjbgsf7sv35r3y"; 16 16 }; 17 17 18 18 # needed for librocksdb-sys 19 19 nativeBuildInputs = [ llvmPackages.clang ]; 20 20 LIBCLANG_PATH = "${llvmPackages.libclang}/lib"; 21 21 22 - cargoSha256 = "12ypx0rkpbjl4awzx8ga30qhiqqd56a24q4jwlxxnfpw9ks1z252"; 22 + cargoSha256 = "1rqpadlr9r4z2z825li6vi5a21hivc3bsn5ibxshrdrwiycyyxz8"; 23 23 24 24 meta = with lib; { 25 25 description = "An efficient re-implementation of Electrum Server in Rust";
+61 -25
pkgs/applications/gis/qgis/unwrapped.nix
··· 1 - { mkDerivation, lib, fetchFromGitHub, cmake, ninja, flex, bison, proj, geos, xlibsWrapper, sqlite, gsl 2 - , qwt, fcgi, python3Packages, libspatialindex, libspatialite, postgresql 3 - , txt2tags, openssl, libzip, hdf5, netcdf, exiv2 4 - , qtbase, qtsensors, qca-qt5, qtkeychain, qscintilla, qtserialport, qtxmlpatterns 5 - , withGrass ? true, grass 6 - , withWebKit ? true, qtwebkit 7 - }: 1 + { mkDerivation, lib, fetchFromGitHub, cmake, ninja, flex, bison, proj, geos 2 + , xlibsWrapper, sqlite, gsl, qwt, fcgi, python3Packages, libspatialindex 3 + , libspatialite, postgresql, txt2tags, openssl, libzip, hdf5, netcdf, exiv2 4 + , protobuf, qtbase, qtsensors, qca-qt5, qtkeychain, qscintilla, qtserialport 5 + , qtxmlpatterns, withGrass ? true, grass, withWebKit ? true, qtwebkit }: 8 6 with lib; 9 7 let 10 - pythonBuildInputs = with python3Packages; 11 - [ qscintilla-qt5 gdal jinja2 numpy psycopg2 12 - chardet dateutil pyyaml pytz requests urllib3 pygments pyqt5 sip owslib six ]; 8 + pythonBuildInputs = with python3Packages; [ 9 + qscintilla-qt5 10 + gdal 11 + jinja2 12 + numpy 13 + psycopg2 14 + chardet 15 + dateutil 16 + pyyaml 17 + pytz 18 + requests 19 + urllib3 20 + pygments 21 + pyqt5 22 + sip 23 + owslib 24 + six 25 + ]; 13 26 in mkDerivation rec { 14 - version = "3.10.13"; 27 + version = "3.16.5"; 15 28 pname = "qgis"; 16 29 name = "${pname}-unwrapped-${version}"; 17 30 18 31 src = fetchFromGitHub { 19 32 owner = "qgis"; 20 33 repo = "QGIS"; 21 - rev = "final-${lib.replaceStrings ["."] ["_"] version}"; 22 - sha256 = "0za77znk1phrxzy2cgxpwrld3d0pi0xvhsg78rg4wkb23vaqv6zb"; 34 + rev = "final-${lib.replaceStrings [ "." ] [ "_" ] version}"; 35 + sha256 = "1xkvgj1v2jgp107jyh9xmk1dzbbqxwkqy69z56vsaa8lf9gwgn5h"; 23 36 }; 24 37 25 38 passthru = { ··· 27 40 inherit python3Packages; 28 41 }; 29 42 30 - buildInputs = [ openssl proj geos xlibsWrapper sqlite gsl qwt exiv2 31 - fcgi libspatialindex libspatialite postgresql txt2tags libzip hdf5 netcdf 32 - qtbase qtsensors qca-qt5 qtkeychain qscintilla qtserialport qtxmlpatterns ] 33 - ++ lib.optional withGrass grass 43 + buildInputs = [ 44 + openssl 45 + proj 46 + geos 47 + xlibsWrapper 48 + sqlite 49 + gsl 50 + qwt 51 + exiv2 52 + protobuf 53 + fcgi 54 + libspatialindex 55 + libspatialite 56 + postgresql 57 + txt2tags 58 + libzip 59 + hdf5 60 + netcdf 61 + qtbase 62 + qtsensors 63 + qca-qt5 64 + qtkeychain 65 + qscintilla 66 + qtserialport 67 + qtxmlpatterns 68 + ] ++ lib.optional withGrass grass 34 69 ++ lib.optional withWebKit qtwebkit 35 70 ++ pythonBuildInputs; 36 71 ··· 41 76 # TODO: Correct PyQt5 to provide the expected directory and fix 42 77 # build to use PYQT5_SIP_DIR consistently. 43 78 postPatch = '' 44 - substituteInPlace cmake/FindPyQt5.py \ 45 - --replace 'sip_dir = cfg.default_sip_dir' 'sip_dir = "${python3Packages.pyqt5}/share/sip/PyQt5"' 46 - ''; 79 + substituteInPlace cmake/FindPyQt5.py \ 80 + --replace 'sip_dir = cfg.default_sip_dir' 'sip_dir = "${python3Packages.pyqt5}/share/sip/PyQt5"' 81 + ''; 47 82 48 - cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" 49 - "-DPYQT5_SIP_DIR=${python3Packages.pyqt5}/share/sip/PyQt5" 50 - "-DQSCI_SIP_DIR=${python3Packages.qscintilla-qt5}/share/sip/PyQt5" ] 51 - ++ lib.optional (!withWebKit) "-DWITH_QTWEBKIT=OFF" 52 - ++ lib.optional withGrass "-DGRASS_PREFIX7=${grass}/${grass.name}"; 83 + cmakeFlags = [ 84 + "-DCMAKE_SKIP_BUILD_RPATH=OFF" 85 + "-DPYQT5_SIP_DIR=${python3Packages.pyqt5}/share/sip/PyQt5" 86 + "-DQSCI_SIP_DIR=${python3Packages.qscintilla-qt5}/share/sip/PyQt5" 87 + ] ++ lib.optional (!withWebKit) "-DWITH_QTWEBKIT=OFF" 88 + ++ lib.optional withGrass "-DGRASS_PREFIX7=${grass}/${grass.name}"; 53 89 54 90 meta = { 55 91 description = "A Free and Open Source Geographic Information System";
+8 -4
pkgs/applications/misc/nnn/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pkg-config, ncurses, readline 1 + { lib, stdenv, fetchFromGitHub, pkg-config, makeWrapper, ncurses, readline 2 + , archivemount, atool, fzf, libarchive, rclone, sshfs, unzip, vlock 2 3 , conf ? null, withIcons ? false, withNerdIcons ? false }: 3 4 4 5 # Mutually exclusive options ··· 7 8 8 9 stdenv.mkDerivation rec { 9 10 pname = "nnn"; 10 - version = "3.6"; 11 + version = "4.0"; 11 12 12 13 src = fetchFromGitHub { 13 14 owner = "jarun"; 14 15 repo = pname; 15 16 rev = "v${version}"; 16 - sha256 = "1hwv7ncp8pmzdir30877ni4qlmczmb3yjdkbfd1pssr08y1srsc7"; 17 + sha256 = "0cbxgss9j0bvsp3czjx1kpm9id7c5xxmjfnvjyk3pfd69ygif2kl"; 17 18 }; 18 19 19 20 configFile = lib.optionalString (conf != null) (builtins.toFile "nnn.h" conf); 20 21 preBuild = lib.optionalString (conf != null) "cp ${configFile} src/nnn.h"; 21 22 22 - nativeBuildInputs = [ pkg-config ]; 23 + nativeBuildInputs = [ pkg-config makeWrapper ]; 23 24 buildInputs = [ readline ncurses ]; 24 25 25 26 makeFlags = [ "PREFIX=$(out)" ] ··· 31 32 install -Dm555 misc/auto-completion/bash/nnn-completion.bash $out/share/bash-completion/completions/nnn.bash 32 33 install -Dm555 misc/auto-completion/zsh/_nnn -t $out/share/zsh/site-functions 33 34 install -Dm555 misc/auto-completion/fish/nnn.fish -t $out/share/fish/vendor_completions.d 35 + 36 + wrapProgram $out/bin/nnn \ 37 + --prefix PATH : ${lib.makeBinPath [ archivemount atool fzf libarchive rclone sshfs unzip vlock ]} 34 38 ''; 35 39 36 40 meta = with lib; {
+3 -3
pkgs/applications/networking/cluster/nerdctl/default.nix
··· 10 10 11 11 buildGoModule rec { 12 12 pname = "nerdctl"; 13 - version = "0.7.3"; 13 + version = "0.8.0"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "containerd"; 17 17 repo = pname; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-4NIyit2HnDXWnHALGzz5KWxe4PU8CwMRwCoIlN/WX78="; 19 + sha256 = "sha256-It/p2Hk4/fkYgHTPynf7p7zs4ajjo0Fv3yTzhrWUusE="; 20 20 }; 21 21 22 - vendorSha256 = "sha256-qwUAC8LURsn6C3zKzcsuFsOTurjPV9V8Z/1Y9G0eohk="; 22 + vendorSha256 = "sha256-Vg6SHyQkeUvd2hT0JV32y+F0t/qb81MrgOFcr785a8M="; 23 23 24 24 nativeBuildInputs = [ makeWrapper installShellFiles ]; 25 25
+3 -3
pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "starboard-octant-plugin"; 5 - version = "0.9.2"; 5 + version = "0.10.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "aquasecurity"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-wis2ECCVXQeD7GiCMJQai+wDM8QJ1j5dPnE5O/I3wpM="; 11 + sha256 = "sha256-3BifigdAFuOCrhJRv/w4k7pT4BTHfINuEkeG6zaI0v8="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-T0wDbAl5GXphZIBrM36OwRCojnJ/cbXNqsjtCzUDZ6s="; 14 + vendorSha256 = "sha256-1NTneOGU4R1xzR9hAI9MJWYuYTPgYtLa5vH1H5wyHcM="; 15 15 16 16 buildFlagsArray = [ "-ldflags=" "-s" "-w" ]; 17 17
+8
pkgs/applications/networking/cluster/terraform/default.nix
··· 164 164 passthru = { inherit plugins; }; 165 165 }); 166 166 167 + terraform_0_15 = pluggable (generic { 168 + version = "0.15.0"; 169 + sha256 = "0d7hai57x6qczacdnzzvs3766180n6grmq0a7rlw5jp3zgzp8bmr"; 170 + vendorSha256 = "1l67kkrk8jw7v1rqpwj6n0l7lvmfgf1ir430j1n96459s1dzf0cn"; 171 + patches = [ ./provider-path-0_15.patch ]; 172 + passthru = { inherit plugins; }; 173 + }); 174 + 167 175 # Tests that the plugins are being used. Terraform looks at the specific 168 176 # file pattern and if the plugin is not found it will try to download it 169 177 # from the Internet. With sandboxing enable this test will fail if that is
+23
pkgs/applications/networking/cluster/terraform/provider-path-0_15.patch
··· 1 + diff -Naur terraform.old/command/init.go terraform.new/command/init.go 2 + --- terraform.old/command/init.go 3 + +++ terraform.new/command/init.go 4 + @@ -3,6 +3,7 @@ 5 + import ( 6 + "context" 7 + "fmt" 8 + + "os" 9 + "log" 10 + "strings" 11 + 12 + @@ -55,6 +56,11 @@ 13 + 14 + var diags tfdiags.Diagnostics 15 + 16 + + val, ok := os.LookupEnv("NIX_TERRAFORM_PLUGIN_DIR") 17 + + if ok { 18 + + flagPluginPath = append(flagPluginPath, val) 19 + + } 20 + + 21 + if len(flagPluginPath) > 0 { 22 + c.pluginPath = flagPluginPath 23 + }
+3 -3
pkgs/applications/networking/cluster/terragrunt/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "terragrunt"; 5 - version = "0.28.20"; 5 + version = "0.28.22"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "gruntwork-io"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-Hg4eeLFNm2cXUjp3T2VK6q+mgawqkHju9P3Vq9wnB9c="; 11 + sha256 = "sha256-tFM9kRdr98Jm2n6i5QDUKlLsI96RZ+e7MeYc7Y+ryUE="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-kcRM76xfajtQist1aJTmaRludxRlfvHQ9ucB3LOgnBk="; 14 + vendorSha256 = "sha256-qlSCQtiGHmlk3DyETMoQbbSYhuUSZTsvAnBKuDJI8x8="; 15 15 16 16 doCheck = false; 17 17
+7 -4
pkgs/applications/networking/cluster/velero/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "velero"; 5 - version = "1.5.4"; 5 + # When updating, change the commit underneath 6 + version = "1.6.0"; 7 + commit = "5bd70fd8eef316d220317245e46dc6016c348dce"; 8 + 6 9 7 10 src = fetchFromGitHub { 8 11 rev = "v${version}"; 9 12 owner = "vmware-tanzu"; 10 13 repo = "velero"; 11 - sha256 = "sha256-YHBqIM3NV2L13w9WCzldUWmdBMec7ZndzYgGHblS8Dg="; 14 + sha256 = "sha256-2d4xsffh5DpxGahmzXpgUBRFAt5CsDnHCm8xU1ksqyQ="; 12 15 }; 13 16 14 17 buildFlagsArray = '' 15 18 -ldflags= 16 19 -s -w 17 20 -X github.com/vmware-tanzu/velero/pkg/buildinfo.Version=${version} 18 - -X github.com/vmware-tanzu/velero/pkg/buildinfo.GitSHA=456eb19668f8da603756353d9179b59b5a7bfa04 21 + -X github.com/vmware-tanzu/velero/pkg/buildinfo.GitSHA=${commit} 19 22 -X github.com/vmware-tanzu/velero/pkg/buildinfo.GitTreeState=clean 20 23 ''; 21 24 22 - vendorSha256 = "sha256-m/zShJeclZ1k8Fr9faK2x1Mpwbwun674iMPJhMw/9Mc="; 25 + vendorSha256 = "sha256-aQjtebIyV69nRwc/zvK/9v0mX3pAPKfOunSL/FpFZJU="; 23 26 24 27 excludedPackages = [ "issue-template-gen" ]; 25 28
+42 -18
pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix
··· 1 - { mkDerivation, lib, fetchFromGitHub, pkg-config, python3, cmake, ninja 2 - , qtbase, qtimageformats, libdbusmenu, hunspell, xdg-utils, ffmpeg_3, openalSoft 3 - , xz, lz4, xxHash, zlib, minizip, openssl, libtgvoip, microsoft_gsl, tl-expected 4 - , range-v3 1 + { mkDerivation, lib, fetchFromGitHub, callPackage 2 + , pkg-config, cmake, ninja, python3, wrapGAppsHook, wrapQtAppsHook 3 + , qtbase, qtimageformats, gtk3, libsForQt5, lz4, xxHash 4 + , ffmpeg, openalSoft, minizip, libopus, alsaLib, libpulseaudio, range-v3 5 + , tl-expected, hunspell, glibmm 6 + # Transitive dependencies: 7 + , pcre, xorg, util-linux, libselinux, libsepol, epoxy 8 + , at-spi2-core, libXtst, libthai, libdatrie 5 9 }: 6 10 7 11 with lib; 8 12 9 - mkDerivation rec { 13 + let 14 + tg_owt = callPackage ../tdesktop/tg_owt.nix {}; 15 + in mkDerivation rec { 10 16 pname = "kotatogram-desktop"; 11 - version = "1.2"; 17 + version = "1.4"; 12 18 13 19 src = fetchFromGitHub { 14 20 owner = "kotatogram"; 15 21 repo = "kotatogram-desktop"; 16 22 rev = "k${version}"; 17 - sha256 = "00pdx3cjhrihf7ihhmszcf159jrzn1bcx20vwiiizs5r1qk8l210"; 23 + sha256 = "0nhyjqxrbqiik4sgzplmpgx8msf8rykjiik0c2zr61rjm4fngkb3"; 18 24 fetchSubmodules = true; 19 25 }; 20 26 21 - nativeBuildInputs = [ pkg-config python3 cmake ninja ]; 27 + postPatch = '' 28 + substituteInPlace Telegram/CMakeLists.txt \ 29 + --replace '"''${TDESKTOP_LAUNCHER_BASENAME}.appdata.xml"' '"''${TDESKTOP_LAUNCHER_BASENAME}.metainfo.xml"' 30 + ''; 31 + 32 + # We want to run wrapProgram manually (with additional parameters) 33 + dontWrapGApps = true; 34 + dontWrapQtApps = true; 35 + 36 + nativeBuildInputs = [ pkg-config cmake ninja python3 wrapGAppsHook wrapQtAppsHook ]; 22 37 23 38 buildInputs = [ 24 - qtbase qtimageformats ffmpeg_3 openalSoft xz lz4 xxHash libdbusmenu 25 - zlib minizip openssl hunspell libtgvoip microsoft_gsl tl-expected range-v3 39 + qtbase qtimageformats gtk3 libsForQt5.kwayland libsForQt5.libdbusmenu lz4 xxHash 40 + ffmpeg openalSoft minizip libopus alsaLib libpulseaudio range-v3 41 + tl-expected hunspell glibmm 42 + tg_owt 43 + # Transitive dependencies: 44 + pcre xorg.libXdmcp util-linux libselinux libsepol epoxy 45 + at-spi2-core libXtst libthai libdatrie 26 46 ]; 27 47 28 - qtWrapperArgs = [ 29 - "--prefix PATH : ${xdg-utils}/bin" 30 - ]; 48 + cmakeFlags = [ "-DTDESKTOP_API_TEST=ON" ]; 31 49 32 - cmakeFlags = [ 33 - "-DTDESKTOP_API_TEST=ON" 34 - "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF" 35 - "-DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF" 36 - ]; 50 + postFixup = '' 51 + # We also use gappsWrapperArgs from wrapGAppsHook. 52 + wrapProgram $out/bin/kotatogram-desktop \ 53 + "''${gappsWrapperArgs[@]}" \ 54 + "''${qtWrapperArgs[@]}" 55 + ''; 56 + 57 + passthru = { 58 + inherit tg_owt; 59 + }; 37 60 38 61 meta = { 39 62 description = "Kotatogram – experimental Telegram Desktop fork"; ··· 45 68 license = licenses.gpl3; 46 69 platforms = platforms.linux; 47 70 homepage = "https://kotatogram.github.io"; 71 + changelog = "https://github.com/kotatogram/kotatogram-desktop/releases/tag/k{ver}"; 48 72 maintainers = with maintainers; [ ilya-fedin ]; 49 73 }; 50 74 }
+8 -7
pkgs/data/documentation/man-pages-posix/default.nix
··· 1 1 {lib, stdenv, fetchurl}: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "man-pages-posix-2013-a"; 4 + pname = "man-pages-posix"; 5 + version = "2017-a"; 5 6 6 7 src = fetchurl { 7 - url = "mirror://kernel/linux/docs/man-pages/man-pages-posix/${name}.tar.xz"; 8 - sha256 = "0258j05zdrxpgdj8nndbyi7bvrs8fxdksb0xbfrylzgzfmf3lqqr"; 8 + url = "mirror://kernel/linux/docs/man-pages/man-pages-posix/${pname}-${version}.tar.xz"; 9 + sha256 = "ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3"; 9 10 }; 10 11 11 - preBuild = 12 - '' 13 - makeFlagsArray=(MANDIR=$out/share/man) 14 - ''; 12 + makeFlags = [ 13 + "MANDIR=${placeholder "out"}/share/man" 14 + ]; 15 15 16 16 meta = { 17 17 description = "POSIX man-pages (0p, 1p, 3p)"; 18 18 homepage = "https://www.kernel.org/doc/man-pages/"; 19 19 platforms = lib.platforms.unix; 20 + maintainers = [ lib.maintainers.sternenseemann ]; 20 21 }; 21 22 }
+19 -8
pkgs/development/compilers/llvm/12/clang/default.nix
··· 1 - { lib, stdenv, fetch, cmake, libxml2, llvm, version, clang-tools-extra_src, python3, lld 1 + { lib, stdenv, llvm_meta, fetch, cmake, libxml2, llvm, version, clang-tools-extra_src, python3, lld 2 2 , fixDarwinDylibNames 3 3 , enableManpages ? false 4 4 }: ··· 8 8 pname = "clang"; 9 9 inherit version; 10 10 11 - src = fetch "clang" "185r9rr254v75ja33nmm53j85lcnkj7bzsl18wvnd37jmz2nfxa5"; 11 + src = fetch "clang" "1vd9rhhrd8ghdg111lac7w8by71y9l14yh5zxfijsm6lj4p4avp2"; 12 12 inherit clang-tools-extra_src; 13 13 14 14 unpackPhase = '' ··· 82 82 inherit llvm; 83 83 }; 84 84 85 - meta = { 86 - description = "A c, c++, objective-c, and objective-c++ frontend for the llvm compiler"; 87 - homepage = "https://llvm.org/"; 88 - license = lib.licenses.ncsa; 89 - platforms = lib.platforms.all; 85 + meta = llvm_meta // { 86 + homepage = "https://clang.llvm.org/"; 87 + description = "A C language family frontend for LLVM"; 88 + longDescription = '' 89 + The Clang project provides a language front-end and tooling 90 + infrastructure for languages in the C language family (C, C++, Objective 91 + C/C++, OpenCL, CUDA, and RenderScript) for the LLVM project. 92 + It aims to deliver amazingly fast compiles, extremely useful error and 93 + warning messages and to provide a platform for building great source 94 + level tools. The Clang Static Analyzer and clang-tidy are tools that 95 + automatically find bugs in your code, and are great examples of the sort 96 + of tools that can be built using the Clang frontend as a library to 97 + parse C/C++ code. 98 + ''; 90 99 }; 91 100 } // lib.optionalAttrs enableManpages { 92 101 pname = "clang-manpages"; ··· 105 114 106 115 doCheck = false; 107 116 108 - meta.description = "man page for Clang ${version}"; 117 + meta = llvm_meta // { 118 + description = "man page for Clang ${version}"; 119 + }; 109 120 }); 110 121 in self
pkgs/development/compilers/llvm/12/compiler-rt-X86-support-extension.patch pkgs/development/compilers/llvm/12/compiler-rt/compiler-rt-X86-support-extension.patch
pkgs/development/compilers/llvm/12/compiler-rt-armv7l.patch pkgs/development/compilers/llvm/12/compiler-rt/compiler-rt-armv7l.patch
pkgs/development/compilers/llvm/12/compiler-rt-codesign.patch pkgs/development/compilers/llvm/12/compiler-rt/compiler-rt-codesign.patch
+17 -2
pkgs/development/compilers/llvm/12/compiler-rt.nix pkgs/development/compilers/llvm/12/compiler-rt/default.nix
··· 1 - { lib, stdenv, version, fetch, cmake, python3, llvm, libcxxabi }: 1 + { lib, stdenv, llvm_meta, version, fetch, cmake, python3, llvm, libcxxabi }: 2 2 3 3 let 4 4 ··· 11 11 stdenv.mkDerivation rec { 12 12 pname = "compiler-rt"; 13 13 inherit version; 14 - src = fetch pname "1x0z875nbdpzhr4qb7linm6r9swvdf6dvwqy1s22pbn4wdcw0cvf"; 14 + src = fetch pname "0d444qihq9jhqnfv003cr704v363va72zl6qaw2algj1c85cva45"; 15 15 16 16 nativeBuildInputs = [ cmake python3 llvm ]; 17 17 buildInputs = lib.optional stdenv.hostPlatform.isDarwin libcxxabi; ··· 87 87 ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o 88 88 ''; 89 89 90 + meta = llvm_meta // { 91 + homepage = "https://compiler-rt.llvm.org/"; 92 + description = "Compiler runtime libraries"; 93 + longDescription = '' 94 + The compiler-rt project provides highly tuned implementations of the 95 + low-level code generator support routines like "__fixunsdfdi" and other 96 + calls generated when a target doesn't have a short sequence of native 97 + instructions to implement a core IR operation. It also provides 98 + implementations of run-time libraries for dynamic testing tools such as 99 + AddressSanitizer, ThreadSanitizer, MemorySanitizer, and DataFlowSanitizer. 100 + ''; 101 + # "All of the code in the compiler-rt project is dual licensed under the MIT 102 + # license and the UIUC License (a BSD-like license)": 103 + license = with lib.licenses; [ mit ncsa ]; 104 + }; 90 105 }
+22 -11
pkgs/development/compilers/llvm/12/default.nix
··· 8 8 9 9 let 10 10 release_version = "12.0.0"; 11 - candidate = "rc5"; # empty or "rcN" 11 + candidate = ""; # empty or "rcN" 12 12 dash-candidate = lib.optionalString (candidate != "") "-${candidate}"; 13 13 version = "${release_version}${dash-candidate}"; # differentiating these (variables) is important for RCs 14 14 targetConfig = stdenv.targetPlatform.config; ··· 18 18 inherit sha256; 19 19 }; 20 20 21 - clang-tools-extra_src = fetch "clang-tools-extra" "1hga9k5m60ywmr7m69jf1v6vj1ra1n6ybv1abzlz94f5q22i1a02"; 21 + clang-tools-extra_src = fetch "clang-tools-extra" "0p3dzr0qa7mar83y66xa5m5apynf6ia0lsdsq6axwnm64ysy0hdd"; 22 + 23 + llvm_meta = { 24 + license = lib.licenses.ncsa; 25 + maintainers = with lib.maintainers; [ lovek323 raskin dtzWill primeos ]; 26 + platforms = lib.platforms.all; 27 + }; 22 28 23 29 tools = lib.makeExtensible (tools: let 24 30 callPackage = newScope (tools // { inherit stdenv cmake libxml2 python3 isl release_version version fetch; }); ··· 30 36 ln -s "${targetLlvmLibraries.compiler-rt.out}/share" "$rsrc/share" 31 37 echo "-resource-dir=$rsrc" >> $out/nix-support/cc-cflags 32 38 ''; 39 + 33 40 in { 34 41 35 - llvm = callPackage ./llvm.nix { }; 42 + llvm = callPackage ./llvm { 43 + inherit llvm_meta; 44 + }; 36 45 37 46 clang-unwrapped = callPackage ./clang { 38 47 inherit (tools) lld; 39 - inherit clang-tools-extra_src; 48 + inherit clang-tools-extra_src llvm_meta; 40 49 }; 41 50 42 51 # disabled until recommonmark supports sphinx 3 ··· 80 89 extraBuildCommands = mkExtraBuildCommands cc; 81 90 }; 82 91 83 - lld = callPackage ./lld.nix { 92 + lld = callPackage ./lld { 93 + inherit llvm_meta; 84 94 libunwind = libraries.libunwind; 85 95 }; 86 96 87 - lldb = callPackage ./lldb.nix { 97 + lldb = callPackage ./lldb { 98 + inherit llvm_meta; 88 99 inherit (darwin) libobjc bootstrap_cmds; 89 100 inherit (darwin.apple_sdk.libs) xpc; 90 101 inherit (darwin.apple_sdk.frameworks) Foundation Carbon Cocoa; ··· 172 183 callPackage = newScope (libraries // buildLlvmTools // { inherit stdenv cmake libxml2 python3 isl release_version version fetch; }); 173 184 in { 174 185 175 - compiler-rt = callPackage ./compiler-rt.nix ({} // 186 + compiler-rt = callPackage ./compiler-rt ({ inherit llvm_meta; } // 176 187 (lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) { 177 188 stdenv = overrideCC stdenv buildLlvmTools.lldClangNoCompilerRt; 178 189 })); ··· 181 192 182 193 libcxxStdenv = overrideCC stdenv buildLlvmTools.libcxxClang; 183 194 184 - libcxx = callPackage ./libc++ ({} // 195 + libcxx = callPackage ./libc++ ({ inherit llvm_meta; } // 185 196 (lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) { 186 197 stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx; 187 198 })); 188 199 189 - libcxxabi = callPackage ./libc++abi.nix ({} // 200 + libcxxabi = callPackage ./libc++abi ({ inherit llvm_meta; } // 190 201 (lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) { 191 202 stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx; 192 203 libunwind = libraries.libunwind; 193 204 })); 194 205 195 - openmp = callPackage ./openmp.nix {}; 206 + openmp = callPackage ./openmp.nix { inherit llvm_meta; }; 196 207 197 - libunwind = callPackage ./libunwind.nix ({} // 208 + libunwind = callPackage ./libunwind ({ inherit llvm_meta; } // 198 209 (lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) { 199 210 stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx; 200 211 }));
+11 -6
pkgs/development/compilers/llvm/12/libc++/default.nix
··· 1 - { lib, stdenv, fetch, fetchpatch, cmake, python3, libcxxabi, llvm, fixDarwinDylibNames, version 1 + { lib, stdenv, llvm_meta, fetch, cmake, python3, libcxxabi, llvm, fixDarwinDylibNames, version 2 2 , enableShared ? !stdenv.hostPlatform.isStatic 3 3 }: 4 4 ··· 6 6 pname = "libc++"; 7 7 inherit version; 8 8 9 - src = fetch "libcxx" "01abh553dvjgk5cjzzp0ghmg00laqbr4ar4frdhyhpbwhhmwc880"; 9 + src = fetch "libcxx" "1wf3ww29xkx7prs7pdwicy5qqfapib26110jgmkjrbka9z57bjvx"; 10 10 11 11 postUnpack = '' 12 12 unpackFile ${libcxxabi.src} ··· 40 40 isLLVM = true; 41 41 }; 42 42 43 - meta = { 43 + meta = llvm_meta // { 44 44 homepage = "https://libcxx.llvm.org/"; 45 - description = "A new implementation of the C++ standard library, targeting C++11"; 46 - license = with lib.licenses; [ ncsa mit ]; 47 - platforms = lib.platforms.all; 45 + description = "C++ standard library"; 46 + longDescription = '' 47 + libc++ is an implementation of the C++ standard library, targeting C++11, 48 + C++14 and above. 49 + ''; 50 + # "All of the code in libc++ is dual licensed under the MIT license and the 51 + # UIUC License (a BSD-like license)": 52 + license = with lib.licenses; [ mit ncsa ]; 48 53 }; 49 54 }
+12 -8
pkgs/development/compilers/llvm/12/libc++abi.nix pkgs/development/compilers/llvm/12/libc++abi/default.nix
··· 1 - { lib, stdenv, cmake, python3, fetch, libcxx, libunwind, llvm, version 1 + { lib, stdenv, llvm_meta, cmake, python3, fetch, libcxx, libunwind, llvm, version 2 2 , enableShared ? !stdenv.hostPlatform.isStatic 3 3 }: 4 4 ··· 6 6 pname = "libc++abi"; 7 7 inherit version; 8 8 9 - src = fetch "libcxxabi" "0mjj4f63ix4j1b72bgzpcki7mzf3qszrq7snqhiq0c5s73skkwx0"; 9 + src = fetch "libcxxabi" "1cbmzspwjlr8f6sp73pw6ivf4dpg6rpc61by0q1m2zca2k6yif3a"; 10 10 11 11 nativeBuildInputs = [ cmake python3 ]; 12 12 buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD && !stdenv.hostPlatform.isWasm) libunwind; ··· 29 29 '' + lib.optionalString stdenv.isDarwin '' 30 30 export TRIPLE=x86_64-apple-darwin 31 31 '' + lib.optionalString stdenv.hostPlatform.isMusl '' 32 - patch -p1 -d libcxx -i ${../libcxx-0001-musl-hacks.patch} 32 + patch -p1 -d libcxx -i ${../../libcxx-0001-musl-hacks.patch} 33 33 '' + lib.optionalString stdenv.hostPlatform.isWasm '' 34 34 patch -p1 -d llvm -i ${./libcxxabi-wasm.patch} 35 35 ''; ··· 57 57 ln -s libc++abi.so.1.0 $out/lib/libc++abi.so.1 58 58 ''; 59 59 60 - meta = { 60 + meta = llvm_meta // { 61 61 homepage = "https://libcxxabi.llvm.org/"; 62 - description = "A new implementation of low level support for a standard C++ library"; 63 - license = with lib.licenses; [ ncsa mit ]; 64 - maintainers = with lib.maintainers; [ vlstill ]; 65 - platforms = lib.platforms.all; 62 + description = "Provides C++ standard library support"; 63 + longDescription = '' 64 + libc++abi is a new implementation of low level support for a standard C++ library. 65 + ''; 66 + # "All of the code in libc++abi is dual licensed under the MIT license and 67 + # the UIUC License (a BSD-like license)": 68 + license = with lib.licenses; [ mit ncsa ]; 69 + maintainers = llvm_meta.maintainers ++ [ lib.maintainers.vlstill ]; 66 70 }; 67 71 }
pkgs/development/compilers/llvm/12/libcxxabi-wasm.patch pkgs/development/compilers/llvm/12/libc++abi/libcxxabi-wasm.patch
-21
pkgs/development/compilers/llvm/12/libunwind.nix
··· 1 - { lib, stdenv, version, fetch, libcxx, llvm, cmake 2 - , enableShared ? !stdenv.hostPlatform.isStatic 3 - }: 4 - 5 - stdenv.mkDerivation rec { 6 - pname = "libunwind"; 7 - inherit version; 8 - 9 - src = fetch pname "0kaq75ygzv9dqfsx27pi5a0clipdjq6a9vghhb89d8k1rf20lslh"; 10 - 11 - postUnpack = '' 12 - unpackFile ${libcxx.src} 13 - mv libcxx-* libcxx 14 - unpackFile ${llvm.src} 15 - mv llvm-* llvm 16 - ''; 17 - 18 - nativeBuildInputs = [ cmake ]; 19 - 20 - cmakeFlags = lib.optional (!enableShared) "-DLIBUNWIND_ENABLE_SHARED=OFF"; 21 - }
+33
pkgs/development/compilers/llvm/12/libunwind/default.nix
··· 1 + { lib, stdenv, llvm_meta, version, fetch, libcxx, llvm, cmake 2 + , enableShared ? !stdenv.hostPlatform.isStatic 3 + }: 4 + 5 + stdenv.mkDerivation rec { 6 + pname = "libunwind"; 7 + inherit version; 8 + 9 + src = fetch pname "1x8wpmsrsgnwj2v5ih52ylni7r6n8gzkcj6hx65zbxski2rablly"; 10 + 11 + postUnpack = '' 12 + unpackFile ${libcxx.src} 13 + mv libcxx-* libcxx 14 + unpackFile ${llvm.src} 15 + mv llvm-* llvm 16 + ''; 17 + 18 + nativeBuildInputs = [ cmake ]; 19 + 20 + cmakeFlags = lib.optional (!enableShared) "-DLIBUNWIND_ENABLE_SHARED=OFF"; 21 + 22 + meta = llvm_meta // { 23 + # Details: https://github.com/llvm/llvm-project/blob/main/libunwind/docs/index.rst 24 + homepage = "https://clang.llvm.org/docs/Toolchain.html#unwind-library"; 25 + description = "LLVM's unwinder library"; 26 + longDescription = '' 27 + The unwind library provides a family of _Unwind_* functions implementing 28 + the language-neutral stack unwinding portion of the Itanium C++ ABI (Level 29 + I). It is a dependency of the C++ ABI library, and sometimes is a 30 + dependency of other runtimes. 31 + ''; 32 + }; 33 + }
-39
pkgs/development/compilers/llvm/12/lld.nix
··· 1 - { lib, stdenv 2 - , fetch 3 - , libunwind 4 - , cmake 5 - , libxml2 6 - , llvm 7 - , version 8 - }: 9 - 10 - stdenv.mkDerivation rec { 11 - pname = "lld"; 12 - inherit version; 13 - 14 - src = fetch pname "044lv1d9am2xmbc3pvssxkkiyxyv72n2xkgk8z3p9k72h3ay00q3"; 15 - 16 - nativeBuildInputs = [ cmake ]; 17 - buildInputs = [ llvm libxml2 ]; 18 - 19 - postPatch = '' 20 - substituteInPlace MachO/CMakeLists.txt --replace \ 21 - '(''${LLVM_MAIN_SRC_DIR}/' '(' 22 - mkdir -p libunwind/include 23 - tar -xf "${libunwind.src}" --wildcards -C libunwind/include --strip-components=2 "libunwind-*/include/" 24 - ''; 25 - 26 - outputs = [ "out" "dev" ]; 27 - 28 - postInstall = '' 29 - moveToOutput include "$dev" 30 - moveToOutput lib "$dev" 31 - ''; 32 - 33 - meta = { 34 - description = "The LLVM Linker"; 35 - homepage = "https://lld.llvm.org/"; 36 - license = lib.licenses.ncsa; 37 - platforms = lib.platforms.all; 38 - }; 39 - }
+45
pkgs/development/compilers/llvm/12/lld/default.nix
··· 1 + { lib, stdenv, llvm_meta 2 + , fetch 3 + , libunwind 4 + , cmake 5 + , libxml2 6 + , llvm 7 + , version 8 + }: 9 + 10 + stdenv.mkDerivation rec { 11 + pname = "lld"; 12 + inherit version; 13 + 14 + src = fetch pname "1zakyxk5bwnh7jarckcd4rbmzi58jgn2dbah5j5cwcyfyfbx9drc"; 15 + 16 + nativeBuildInputs = [ cmake ]; 17 + buildInputs = [ llvm libxml2 ]; 18 + 19 + postPatch = '' 20 + substituteInPlace MachO/CMakeLists.txt --replace \ 21 + '(''${LLVM_MAIN_SRC_DIR}/' '(' 22 + mkdir -p libunwind/include 23 + tar -xf "${libunwind.src}" --wildcards -C libunwind/include --strip-components=2 "libunwind-*/include/" 24 + ''; 25 + 26 + outputs = [ "out" "dev" ]; 27 + 28 + postInstall = '' 29 + moveToOutput include "$dev" 30 + moveToOutput lib "$dev" 31 + ''; 32 + 33 + meta = llvm_meta // { 34 + homepage = "https://lld.llvm.org/"; 35 + description = "The LLVM linker"; 36 + longDescription = '' 37 + LLD is a linker from the LLVM project that is a drop-in replacement for 38 + system linkers and runs much faster than them. It also provides features 39 + that are useful for toolchain developers. 40 + The linker supports ELF (Unix), PE/COFF (Windows), Mach-O (macOS) and 41 + WebAssembly in descending order of completeness. Internally, LLD consists 42 + of several different linkers. 43 + ''; 44 + }; 45 + }
pkgs/development/compilers/llvm/12/lldb-procfs.patch pkgs/development/compilers/llvm/12/lldb/lldb-procfs.patch
+13 -7
pkgs/development/compilers/llvm/12/lldb.nix pkgs/development/compilers/llvm/12/lldb/default.nix
··· 1 - { lib, stdenv 1 + { lib, stdenv, llvm_meta 2 2 , fetch 3 3 , cmake 4 4 , zlib ··· 25 25 pname = "lldb"; 26 26 inherit version; 27 27 28 - src = fetch pname "0q4p4s5ws1zszs3i4da5w5fnxkpny0q3fr1s1sh7jp9wcwxbxiqq"; 28 + src = fetch pname "1v85qyq3snk81vjmwq5q7xikyyqsfpqy2c4qmr81mps4avsw1g0l"; 29 29 30 30 patches = [ ./lldb-procfs.patch ]; 31 31 ··· 72 72 ln -s $out/bin/lldb-vscode $out/share/vscode/extensions/llvm-org.lldb-vscode-0.1.0/bin 73 73 ''; 74 74 75 - meta = with lib; { 75 + meta = llvm_meta // { 76 + homepage = "https://lldb.llvm.org/"; 76 77 description = "A next-generation high-performance debugger"; 77 - homepage = "https://lldb.llvm.org"; 78 - license = licenses.ncsa; 79 - platforms = platforms.all; 78 + longDescription = '' 79 + LLDB is a next generation, high-performance debugger. It is built as a set 80 + of reusable components which highly leverage existing libraries in the 81 + larger LLVM Project, such as the Clang expression parser and LLVM 82 + disassembler. 83 + ''; 80 84 }; 81 85 } // lib.optionalAttrs enableManpages { 82 86 pname = "lldb-manpages"; ··· 99 103 100 104 doCheck = false; 101 105 102 - meta.description = "man pages for LLDB ${version}"; 106 + meta = llvm_meta // { 107 + description = "man pages for LLDB ${version}"; 108 + }; 103 109 })
pkgs/development/compilers/llvm/12/llvm-outputs.patch pkgs/development/compilers/llvm/12/llvm/llvm-outputs.patch
+24 -11
pkgs/development/compilers/llvm/12/llvm.nix pkgs/development/compilers/llvm/12/llvm/default.nix
··· 1 - { lib, stdenv 1 + { lib, stdenv, llvm_meta 2 2 , fetch 3 3 , cmake 4 4 , python3 ··· 32 32 pname = "llvm"; 33 33 inherit version; 34 34 35 - src = fetch pname "088dyv7hppidl3rqfsjdibvn4d3a74896fg2sz4dwaxlg19way93"; 36 - polly_src = fetch "polly" "1qj7gkfr1yrsrz6j086l9p6d2kyyln15fmfiab4isn96g1dhsfb5"; 35 + src = fetch pname "0l4b79gwfvxild974aigcq1yigypjsk2j5p59syhl6ksd744gp29"; 36 + polly_src = fetch "polly" "1ixl9yj526n8iqh9ckyiah2vzravs9d1akybqq7rvy32n9vgr6hd"; 37 37 38 38 unpackPhase = '' 39 39 unpackFile $src ··· 73 73 --replace "PassBuilderCallbacksTest.cpp" "" 74 74 rm unittests/IR/PassBuilderCallbacksTest.cpp 75 75 '' + optionalString stdenv.hostPlatform.isMusl '' 76 - patch -p1 -i ${../TLI-musl.patch} 76 + patch -p1 -i ${../../TLI-musl.patch} 77 77 substituteInPlace unittests/Support/CMakeLists.txt \ 78 78 --replace "add_subdirectory(DynamicLibrary)" "" 79 79 rm unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp ··· 160 160 checkTarget = "check-all"; 161 161 162 162 requiredSystemFeatures = [ "big-parallel" ]; 163 - meta = { 164 - description = "Collection of modular and reusable compiler and toolchain technologies"; 165 - homepage = "https://llvm.org/"; 166 - license = lib.licenses.ncsa; 167 - maintainers = with lib.maintainers; [ lovek323 raskin dtzWill primeos ]; 168 - platforms = lib.platforms.all; 163 + meta = llvm_meta // { 164 + homepage = "https://llvm.org/"; 165 + description = "A collection of modular and reusable compiler and toolchain technologies"; 166 + longDescription = '' 167 + The LLVM Project is a collection of modular and reusable compiler and 168 + toolchain technologies. Despite its name, LLVM has little to do with 169 + traditional virtual machines. The name "LLVM" itself is not an acronym; it 170 + is the full name of the project. 171 + LLVM began as a research project at the University of Illinois, with the 172 + goal of providing a modern, SSA-based compilation strategy capable of 173 + supporting both static and dynamic compilation of arbitrary programming 174 + languages. Since then, LLVM has grown to be an umbrella project consisting 175 + of a number of subprojects, many of which are being used in production by 176 + a wide variety of commercial and open source projects as well as being 177 + widely used in academic research. Code in the LLVM project is licensed 178 + under the "Apache 2.0 License with LLVM exceptions". 179 + ''; 169 180 }; 170 181 } // lib.optionalAttrs enableManpages { 171 182 pname = "llvm-manpages"; ··· 185 196 186 197 doCheck = false; 187 198 188 - meta.description = "man pages for LLVM ${version}"; 199 + meta = llvm_meta // { 200 + description = "man pages for LLVM ${version}"; 201 + }; 189 202 })
+15 -6
pkgs/development/compilers/llvm/12/openmp.nix
··· 1 1 { lib 2 2 , stdenv 3 + , llvm_meta 3 4 , fetch 4 5 , cmake 5 6 , llvm ··· 11 12 pname = "openmp"; 12 13 inherit version; 13 14 14 - src = fetch pname "1d16r5whjb2n4n28rg8wn2g9krlc92q6nb0qmnnbzhqhx0rbkjfb"; 15 + src = fetch pname "0z8n1wanby6aq3i7d91mgk72hb33zfl5blayk0a22cs7l8i706zb"; 15 16 16 17 nativeBuildInputs = [ cmake perl ]; 17 18 buildInputs = [ llvm ]; 18 19 19 - meta = { 20 - description = "Components required to build an executable OpenMP program"; 21 - homepage = "https://openmp.llvm.org/"; 22 - license = lib.licenses.mit; 23 - platforms = lib.platforms.all; 20 + meta = llvm_meta // { 21 + homepage = "https://openmp.llvm.org/"; 22 + description = "Support for the OpenMP language"; 23 + longDescription = '' 24 + The OpenMP subproject of LLVM contains the components required to build an 25 + executable OpenMP program that are outside the compiler itself. 26 + Contains the code for the runtime library against which code compiled by 27 + "clang -fopenmp" must be linked before it can run and the library that 28 + supports offload to target devices. 29 + ''; 30 + # "All of the code is dual licensed under the MIT license and the UIUC 31 + # License (a BSD-like license)": 32 + license = with lib.licenses; [ mit ncsa ]; 24 33 }; 25 34 }
pkgs/development/compilers/llvm/12/sanitizers-nongnu.patch pkgs/development/compilers/llvm/12/compiler-rt/sanitizers-nongnu.patch
+7 -5
pkgs/development/libraries/libfprint-2-tod1-goodix/default.nix
··· 5 5 6 6 src = fetchgit { 7 7 url = "https://git.launchpad.net/~oem-solutions-engineers/libfprint-2-tod1-goodix/+git/libfprint-2-tod1-goodix"; 8 - rev = "882735c6366fbe30149eea5cfd6d0ddff880f0e4"; # droped-lp1880058 on 20202-11-25 8 + rev = "882735c6366fbe30149eea5cfd6d0ddff880f0e4"; # droped-lp1880058 on 2020-11-25 9 9 sha256 = "sha256-Uv+Rr4V31DyaZFOj79Lpyfl3G6zVWShh20roI0AvMPU="; 10 10 }; 11 11 ··· 18 18 ''; 19 19 20 20 installPhase = '' 21 - mkdir -p "$out/usr/lib/libfprint-2/tod-1/" 22 - mkdir -p "$out/usr/lib/udev/rules.d/" 21 + mkdir -p "$out/lib/libfprint-2/tod-1/" 22 + mkdir -p "$out/lib/udev/rules.d/" 23 23 24 - cp usr/lib/x86_64-linux-gnu/libfprint-2/tod-1/libfprint-tod-goodix-53xc-$version.so "$out/usr/lib/libfprint-2/tod-1/" 25 - cp lib/udev/rules.d/60-libfprint-2-tod1-goodix.rules "$out/usr/lib/udev/rules.d/" 24 + cp usr/lib/x86_64-linux-gnu/libfprint-2/tod-1/libfprint-tod-goodix-53xc-$version.so "$out/lib/libfprint-2/tod-1/" 25 + cp lib/udev/rules.d/60-libfprint-2-tod1-goodix.rules "$out/lib/udev/rules.d/" 26 26 ''; 27 + 28 + passthru.driverPath = "/lib/libfprint-2/tod-1"; 27 29 28 30 meta = with lib; { 29 31 description = "Goodix driver module for libfprint-2-tod Touch OEM Driver";
+1 -1
pkgs/development/php-packages/couchbase/default.nix
··· 17 17 broken = lib.versionAtLeast php.version "8.0"; 18 18 19 19 buildInputs = [ libcouchbase zlib ]; 20 - internalDeps = [] ++ lib.optionals (lib.versionOlder php.version "8.0") [ php.extensions.json ]; 20 + internalDeps = lib.optionals (lib.versionOlder php.version "8.0") [ php.extensions.json ]; 21 21 peclDeps = [ php.extensions.igbinary ]; 22 22 23 23 patches = [
+2 -2
pkgs/development/python-modules/boto3/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "boto3"; 16 - version = "1.17.49"; # N.B: if you change this, change botocore and awscli to a matching version 16 + version = "1.17.52"; # N.B: if you change this, change botocore and awscli to a matching version 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "sha256-pIITXDD6B+r0NwMU3Q+0kRciKiZtBCOyB1rtODXtHwQ="; 20 + sha256 = "sha256-7WQMF8l68om+RpN0DBy/laRW6cSV45c6Htb1GjloRtI="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];
+2 -2
pkgs/development/python-modules/botocore/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "botocore"; 16 - version = "1.20.49"; # N.B: if you change this, change boto3 and awscli to a matching version 16 + version = "1.20.52"; # N.B: if you change this, change boto3 and awscli to a matching version 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "sha256-9/ED+gZRxp3TYMfQ7Nh0hUMD3lzAhp4MvCgYpSuqzGk="; 20 + sha256 = "sha256-3V9YCOxIqZm5Y0s4etarehojuh+XEqh1Bm0jSAj4qmI="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/sagemaker/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "sagemaker"; 18 - version = "2.34.0"; 18 + version = "2.35.0"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "sha256-j0YlFh5SG1PlBN5vWZ9bLuOKcO03pDwoOB44CMyvXPk="; 22 + sha256 = "sha256-12YYUZbctM6oRaC7Sr/hOghAM+s/Cdm5XWHaVU5Gg6Q="; 23 23 }; 24 24 25 25 pythonImportsCheck = [
+4
pkgs/development/ruby-modules/gem-config/default.nix
··· 394 394 ''; 395 395 }; 396 396 397 + mimemagic = attrs: { 398 + FREEDESKTOP_MIME_TYPES_PATH="${shared-mime-info}/share/mime/packages/freedesktop.org.xml"; 399 + }; 400 + 397 401 msgpack = attrs: { 398 402 buildInputs = [ msgpack ]; 399 403 };
+3 -3
pkgs/development/tools/rust/cargo-raze/default.nix
··· 3 3 4 4 rustPlatform.buildRustPackage rec { 5 5 pname = "cargo-raze"; 6 - version = "0.2.10"; 6 + version = "0.12.0"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "google"; 10 10 repo = pname; 11 11 rev = "v${version}"; 12 - sha256 = "1fznh8jygzyzphw7762qc2jv0370z7qjqk1vkql0g246iqby8pq9"; 12 + sha256 = "161m4y6i4sgqi9mg3f3348f5cr0m45vhix4a4bcw54wnmhiklnnl"; 13 13 }; 14 14 sourceRoot = "source/impl"; 15 15 16 - cargoSha256 = "1z20xc508a3slc1ii3hy09swvlyib14zwf9akxc0h24d5m48as1c"; 16 + cargoSha256 = "1vlywdq0bx6b1k3w1grisca0hvv2s4s88yxq7bil8nhm5ghjgxdr"; 17 17 18 18 nativeBuildInputs = [ pkg-config ]; 19 19 buildInputs = [ curl libgit2 openssl ]
+1 -1
pkgs/os-specific/bsd/netbsd/default.nix
··· 664 664 path = "share/man"; 665 665 noCC = true; 666 666 version = "8.0"; 667 - sha256 = "0d34b3irjbqsqfk8v8aaj36fjyvwyx410igl26jcx2ryh3ispch0"; 667 + sha256 = "0yp48syf3y5psm0mymxp6va6spym5izjym0ybr628iqwji21cqdz"; 668 668 makeFlags = [ "FILESDIR=$(out)/share" ]; 669 669 }; 670 670 #
+6 -5
pkgs/servers/sql/postgresql/ext/timescaledb.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "timescaledb"; 11 - version = "2.1.1"; 11 + version = "2.2.0"; 12 12 13 13 nativeBuildInputs = [ cmake ]; 14 14 buildInputs = [ postgresql openssl ]; ··· 17 17 owner = "timescale"; 18 18 repo = "timescaledb"; 19 19 rev = "refs/tags/${version}"; 20 - sha256 = "0mjqy0d60l62vqqbrayj6270173501i6aqgnkczywrqyzqw8522l"; 20 + sha256 = "0gl2jjk9k0s5h7s4yq1qb60lvcqvhp88rh1fhlpyx1vm1hifhhik"; 21 21 }; 22 22 23 - # -DWARNINGS_AS_ERRORS=OFF to be removed once https://github.com/timescale/timescaledb/issues/2770 is fixed in upstream 24 - cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" "-DWARNINGS_AS_ERRORS=OFF" ]; 23 + cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" ] 24 + ++ lib.optionals stdenv.isDarwin [ "-DLINTER=OFF" ]; 25 25 26 26 # Fix the install phase which tries to install into the pgsql extension dir, 27 27 # and cannot be manually overridden. This is rather fragile but works OK. 28 - patchPhase = '' 28 + postPatch = '' 29 29 for x in CMakeLists.txt sql/CMakeLists.txt; do 30 30 substituteInPlace "$x" \ 31 31 --replace 'DESTINATION "''${PG_SHAREDIR}/extension"' "DESTINATION \"$out/share/postgresql/extension\"" ··· 40 40 meta = with lib; { 41 41 description = "Scales PostgreSQL for time-series data via automatic partitioning across time and space"; 42 42 homepage = "https://www.timescale.com/"; 43 + changelog = "https://github.com/timescale/timescaledb/raw/${version}/CHANGELOG.md"; 43 44 maintainers = with maintainers; [ volth marsam ]; 44 45 platforms = postgresql.meta.platforms; 45 46 license = licenses.asl20;
+2 -2
pkgs/tools/admin/awscli/default.nix
··· 21 21 in 22 22 with py.pkgs; buildPythonApplication rec { 23 23 pname = "awscli"; 24 - version = "1.19.49"; # N.B: if you change this, change botocore and boto3 to a matching version too 24 + version = "1.19.52"; # N.B: if you change this, change botocore and boto3 to a matching version too 25 25 26 26 src = fetchPypi { 27 27 inherit pname version; 28 - sha256 = "sha256-SiE3t26giRwNMJHGpeSzEO0nFjXS+bms4pRydOGWQyI="; 28 + sha256 = "sha256-keKyuNeDC/90pn89KjoDTO8AGsmI8nqfDNSeGyM6iHQ="; 29 29 }; 30 30 31 31 # https://github.com/aws/aws-cli/issues/4837
+33
pkgs/tools/graphics/timg/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, pkg-config, graphicsmagick, libjpeg 2 + , ffmpeg, zlib, libexif }: 3 + 4 + stdenv.mkDerivation rec { 5 + pname = "timg"; 6 + version = "1.4.0"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "hzeller"; 10 + repo = "timg"; 11 + rev = "v${version}"; 12 + sha256 = "10qhjfkbazncmj07y0a6cpmi7ki0l10qzpvi2zh8369yycqqxr8y"; 13 + }; 14 + 15 + buildInputs = [ graphicsmagick ffmpeg libexif libjpeg zlib ]; 16 + 17 + nativeBuildInputs = [ cmake pkg-config ]; 18 + 19 + cmakeFlags = [ 20 + "-DTIMG_VERSION_FROM_GIT=Off" 21 + "-DWITH_VIDEO_DECODING=On" 22 + "-DWITH_VIDEO_DEVICE=On" 23 + "-DWITH_OPENSLIDE_SUPPORT=Off" # https://openslide.org/ lib not yet in nix 24 + ]; 25 + 26 + meta = with lib; { 27 + homepage = "https://timg.sh/"; 28 + description = "A terminal image and video viewer"; 29 + license = licenses.gpl2Only; 30 + platforms = platforms.unix; 31 + maintainers = with maintainers; [ hzeller ]; 32 + }; 33 + }
-24
pkgs/tools/misc/zoxide/default.nix
··· 5 5 , withFzf ? true 6 6 , fzf 7 7 , libiconv 8 - # checkInputs 9 - , fish 10 - , powershell 11 - , shellcheck 12 - , shfmt 13 - , xonsh 14 - , zsh 15 8 }: 16 9 17 10 rustPlatform.buildRustPackage rec { ··· 26 19 }; 27 20 28 21 buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; 29 - 30 - # tests are broken on darwin 31 - doCheck = !stdenv.isDarwin; 32 - 33 - # fish needs a writable HOME for whatever reason 34 - preCheck = '' 35 - export HOME=$(mktemp -d) 36 - ''; 37 - 38 - checkInputs = [ 39 - fish 40 - powershell 41 - shellcheck 42 - shfmt 43 - xonsh 44 - zsh 45 - ]; 46 22 47 23 postPatch = lib.optionalString withFzf '' 48 24 substituteInPlace src/fzf.rs \
+4 -4
pkgs/tools/networking/boundary/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "boundary"; 5 - version = "0.1.8"; 5 + version = "0.2.0"; 6 6 7 7 src = 8 8 let ··· 18 18 }; 19 19 in 20 20 fetchsrc version { 21 - x86_64-linux = "sha256-CZueZqN1XoSmqOsocGwUoIZ5878uSHFYW2KDURWRHhM="; 22 - aarch64-linux = "sha256-/pl9MzR4GFjiefc7Sde+jTGi/QaY3U/An8J5+KQR/68="; 23 - x86_64-darwin = "sha256-kkqROFXvEpxRySByGtmGtFJPBr5Dw3BOPQ+bArqLxAA="; 21 + x86_64-linux = "sha256-4h1Lx+Et1AfX75Cn0YUhV4MkEtzP6ICqAHVKex3PBpg="; 22 + aarch64-linux = "sha256-i7gzv8GdDgikPT1tMia4xltEYiIZ/VNRbAiGF2o8oKA="; 23 + x86_64-darwin = "sha256-tleIY1loPE61n59Qc9CJeropRUvTBbcIA8xmB1SaMt8="; 24 24 }; 25 25 26 26 dontConfigure = true;
+2
pkgs/top-level/aliases.nix
··· 946 946 947 947 zplugin = zinit; # Added 2021-01-30 948 948 949 + posix_man_pages = man-pages-posix; # Added 2021-04-15 950 + 949 951 /* If these are in the scope of all-packages.nix, they cause collisions 950 952 between mixed versions of qt. See: 951 953 https://github.com/NixOS/nixpkgs/pull/101369 */
+6 -3
pkgs/top-level/all-packages.nix
··· 21295 21295 21296 21296 man-pages = callPackage ../data/documentation/man-pages { }; 21297 21297 21298 + man-pages-posix = callPackage ../data/documentation/man-pages-posix { }; 21299 + 21298 21300 manrope = callPackage ../data/fonts/manrope { }; 21299 21301 21300 21302 marwaita = callPackage ../data/themes/marwaita { }; ··· 21467 21469 pop-icon-theme = callPackage ../data/icons/pop-icon-theme { 21468 21470 inherit (plasma5Packages) breeze-icons; 21469 21471 }; 21470 - 21471 - posix_man_pages = callPackage ../data/documentation/man-pages-posix { }; 21472 21472 21473 21473 powerline-fonts = callPackage ../data/fonts/powerline-fonts { }; 21474 21474 ··· 23973 23973 23974 23974 kooha = callPackage ../applications/video/kooha { }; 23975 23975 23976 - kotatogram-desktop = libsForQt514.callPackage ../applications/networking/instant-messengers/telegram/kotatogram-desktop { }; 23976 + kotatogram-desktop = libsForQt5.callPackage ../applications/networking/instant-messengers/telegram/kotatogram-desktop { }; 23977 23977 23978 23978 kpt = callPackage ../applications/networking/cluster/kpt { }; 23979 23979 ··· 26113 26113 }; 26114 26114 26115 26115 timewarrior = callPackage ../applications/misc/timewarrior { }; 26116 + 26117 + timg = callPackage ../tools/graphics/timg { }; 26116 26118 26117 26119 timidity = callPackage ../tools/misc/timidity { }; 26118 26120 ··· 30325 30327 terraform_0_12 30326 30328 terraform_0_13 30327 30329 terraform_0_14 30330 + terraform_0_15 30328 30331 terraform_plugins_test 30329 30332 ; 30330 30333