nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
6610f459 46be2858

+382 -284
+29
nixos/modules/security/pam.nix
··· 548 548 (let yubi = config.security.pam.yubico; in optionalString cfg.yubicoAuth '' 549 549 auth ${yubi.control} ${pkgs.yubico-pam}/lib/security/pam_yubico.so mode=${toString yubi.mode} ${optionalString (yubi.challengeResponsePath != null) "chalresp_path=${yubi.challengeResponsePath}"} ${optionalString (yubi.mode == "client") "id=${toString yubi.id}"} ${optionalString yubi.debug "debug"} 550 550 '') + 551 + (let dp9ik = config.security.pam.dp9ik; in optionalString dp9ik.enable '' 552 + auth ${dp9ik.control} ${pkgs.pam_dp9ik}/lib/security/pam_p9.so ${dp9ik.authserver} 553 + '') + 551 554 optionalString cfg.fprintAuth '' 552 555 auth sufficient ${pkgs.fprintd}/lib/security/pam_fprintd.so 553 556 '' + ··· 915 912 }; 916 913 917 914 security.pam.enableOTPW = mkEnableOption (lib.mdDoc "the OTPW (one-time password) PAM module"); 915 + 916 + security.pam.dp9ik = { 917 + enable = mkEnableOption ( 918 + lib.mdDoc '' 919 + the dp9ik pam module provided by tlsclient. 920 + 921 + If set, users can be authenticated against the 9front 922 + authentication server given in {option}`security.pam.dp9ik.authserver`. 923 + '' 924 + ); 925 + control = mkOption { 926 + default = "sufficient"; 927 + type = types.str; 928 + description = lib.mdDoc '' 929 + This option sets the pam "control" used for this module. 930 + ''; 931 + }; 932 + authserver = mkOption { 933 + default = null; 934 + type = with types; nullOr string; 935 + description = lib.mdDoc '' 936 + This controls the hostname for the 9front authentication server 937 + that users will be authenticated against. 938 + ''; 939 + }; 940 + }; 918 941 919 942 security.pam.krb5 = { 920 943 enable = mkOption {
+17 -14
nixos/modules/services/network-filesystems/ceph.nix
··· 3 3 with lib; 4 4 5 5 let 6 - cfg = config.services.ceph; 6 + cfg = config.services.ceph; 7 7 8 8 # function that translates "camelCaseOptions" to "camel case options", credits to tilpner in #nixos@freenode 9 9 expandCamelCase = replaceStrings upperChars (map (s: " ${s}") lowerChars); 10 10 expandCamelCaseAttrs = mapAttrs' (name: value: nameValuePair (expandCamelCase name) value); 11 11 12 - makeServices = (daemonType: daemonIds: 12 + makeServices = daemonType: daemonIds: 13 13 mkMerge (map (daemonId: 14 - { "ceph-${daemonType}-${daemonId}" = makeService daemonType daemonId cfg.global.clusterName pkgs.ceph; }) 15 - daemonIds)); 14 + { "ceph-${daemonType}-${daemonId}" = makeService daemonType daemonId cfg.global.clusterName cfg.${daemonType}.package; }) 15 + daemonIds); 16 16 17 - makeService = (daemonType: daemonId: clusterName: ceph: 17 + makeService = daemonType: daemonId: clusterName: ceph: 18 18 let 19 19 stateDirectory = "ceph/${if daemonType == "rgw" then "radosgw" else daemonType}/${clusterName}-${daemonId}"; in { 20 20 enable = true; ··· 54 54 } // optionalAttrs ( daemonType == "mon") { 55 55 RestartSec = "10"; 56 56 }; 57 - }); 57 + }; 58 58 59 - makeTarget = (daemonType: 59 + makeTarget = daemonType: 60 60 { 61 61 "ceph-${daemonType}" = { 62 62 description = "Ceph target allowing to start/stop all ceph-${daemonType} services at once"; ··· 65 65 before = [ "ceph.target" ]; 66 66 unitConfig.StopWhenUnneeded = true; 67 67 }; 68 - } 69 - ); 68 + }; 70 69 in 71 70 { 72 71 options.services.ceph = { ··· 210 211 to the id part in ceph i.e. [ "name1" ] would result in mgr.name1 211 212 ''; 212 213 }; 214 + package = mkPackageOptionMD pkgs "ceph" { }; 213 215 extraConfig = mkOption { 214 216 type = with types; attrsOf str; 215 217 default = {}; ··· 231 231 to the id part in ceph i.e. [ "name1" ] would result in mon.name1 232 232 ''; 233 233 }; 234 + package = mkPackageOptionMD pkgs "ceph" { }; 234 235 extraConfig = mkOption { 235 236 type = with types; attrsOf str; 236 237 default = {}; ··· 252 251 to the id part in ceph i.e. [ "name1" ] would result in osd.name1 253 252 ''; 254 253 }; 255 - 254 + package = mkPackageOptionMD pkgs "ceph" { }; 256 255 extraConfig = mkOption { 257 256 type = with types; attrsOf str; 258 257 default = { ··· 280 279 to the id part in ceph i.e. [ "name1" ] would result in mds.name1 281 280 ''; 282 281 }; 282 + package = mkPackageOptionMD pkgs "ceph" { }; 283 283 extraConfig = mkOption { 284 284 type = with types; attrsOf str; 285 285 default = {}; ··· 292 290 293 291 rgw = { 294 292 enable = mkEnableOption (lib.mdDoc "Ceph RadosGW daemon"); 293 + package = mkPackageOptionMD pkgs "ceph" { }; 295 294 daemons = mkOption { 296 295 type = with types; listOf str; 297 296 default = []; ··· 331 328 { assertion = cfg.global.fsid != ""; 332 329 message = "fsid has to be set to a valid uuid for the cluster to function"; 333 330 } 334 - { assertion = cfg.mon.enable == true -> cfg.mon.daemons != []; 331 + { assertion = cfg.mon.enable -> cfg.mon.daemons != []; 335 332 message = "have to set id of atleast one MON if you're going to enable Monitor"; 336 333 } 337 - { assertion = cfg.mds.enable == true -> cfg.mds.daemons != []; 334 + { assertion = cfg.mds.enable -> cfg.mds.daemons != []; 338 335 message = "have to set id of atleast one MDS if you're going to enable Metadata Service"; 339 336 } 340 - { assertion = cfg.osd.enable == true -> cfg.osd.daemons != []; 337 + { assertion = cfg.osd.enable -> cfg.osd.daemons != []; 341 338 message = "have to set id of atleast one OSD if you're going to enable OSD"; 342 339 } 343 - { assertion = cfg.mgr.enable == true -> cfg.mgr.daemons != []; 340 + { assertion = cfg.mgr.enable -> cfg.mgr.daemons != []; 344 341 message = "have to set id of atleast one MGR if you're going to enable MGR"; 345 342 } 346 343 ];
+2 -14
pkgs/applications/editors/lapce/default.nix
··· 7 7 , pkg-config 8 8 , perl 9 9 , fontconfig 10 - , copyDesktopItems 11 - , makeDesktopItem 12 10 , glib 13 11 , gtk3 14 12 , openssl ··· 90 92 cmake 91 93 pkg-config 92 94 perl 93 - copyDesktopItems 94 95 wrapGAppsHook # FIX: No GSettings schemas are installed on the system 95 96 gobject-introspection 96 97 ]; ··· 113 116 ]; 114 117 115 118 postInstall = '' 116 - install -Dm0644 $src/extra/images/logo.svg $out/share/icons/hicolor/scalable/apps/lapce.svg 119 + install -Dm0644 $src/extra/images/logo.svg $out/share/icons/hicolor/scalable/apps/dev.lapce.lapce.svg 120 + install -Dm0644 $src/extra/linux/dev.lapce.lapce.desktop $out/share/applications/lapce.desktop 117 121 ''; 118 - 119 - desktopItems = [ (makeDesktopItem { 120 - name = "lapce"; 121 - exec = "lapce %F"; 122 - icon = "lapce"; 123 - desktopName = "Lapce"; 124 - comment = meta.description; 125 - genericName = "Code Editor"; 126 - categories = [ "Development" "Utility" "TextEditor" ]; 127 - }) ]; 128 122 129 123 passthru.updateScript = nix-update-script { }; 130 124
+2 -2
pkgs/applications/graphics/pineapple-pictures/default.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "pineapple-pictures"; 13 - version = "0.7.0"; 13 + version = "0.7.1"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "BLumia"; 17 17 repo = "pineapple-pictures"; 18 18 rev = version; 19 - hash = "sha256-fNme11zoQBoFz4qJxBWzA8qHPwwxirM9rxxT36tjiQs"; 19 + hash = "sha256-6peNZc+rrQrUFSrn1AK8lZsy4RQf9DwpmXY0McfEus8="; 20 20 }; 21 21 22 22 nativeBuildInputs = [
+2 -2
pkgs/applications/misc/nwg-dock/default.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "nwg-dock"; 11 - version = "0.3.4"; 11 + version = "0.3.5"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "nwg-piotr"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-4cyhE9CJz/4omvzucLuTR4QLQnd5iVANCG/BI6Sdhq8="; 17 + sha256 = "sha256-kLvVP+hwv8Xgvp1YqrXZ2xpEcU92yvNMT5YCcDcg7xQ="; 18 18 }; 19 19 20 20 vendorHash = "sha256-WDygnKdldZda4GadfStHWsDel1KLdzjVjw0RxmnFPRE=";
+3 -3
pkgs/applications/networking/cluster/argocd/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "argocd"; 5 - version = "2.7.6"; 5 + version = "2.7.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "argoproj"; 9 9 repo = "argo-cd"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-YEQ5vLE13FzcE0dt/RRxuM2qRuvuHrTgGlF+3D4aox4="; 11 + sha256 = "sha256-1GFA/zGX9geHgGRWx+sgszr9bJnMhAiiTjrnfvkTzuA="; 12 12 }; 13 13 14 14 proxyVendor = true; # darwin/linux hash mismatch 15 - vendorHash = "sha256-PQys3jXpwBsBQAMLW6WUUsIc+l1knSAvUicQug9fCmU="; 15 + vendorHash = "sha256-h4TKomZSG6fEUVxIDhsxNHaIO+1Xl40+pFWgJJ2VH4E="; 16 16 17 17 # Set target as ./cmd per cli-local 18 18 # https://github.com/argoproj/argo-cd/blob/master/Makefile#L227
+16
pkgs/applications/networking/cluster/kube-score/default.nix
··· 1 1 { lib 2 2 , buildGoModule 3 3 , fetchFromGitHub 4 + , testers 5 + , kube-score 4 6 }: 5 7 6 8 buildGoModule rec { ··· 17 15 }; 18 16 19 17 vendorHash = "sha256-UpuwkQHcNg3rohr+AdALakIdHroIySlTnXHgoUdY+EQ="; 18 + 19 + ldflags = [ 20 + "-s" 21 + "-w" 22 + "-X=main.version=${version}" 23 + "-X=main.commit=${src.rev}" 24 + ]; 25 + 26 + passthru.tests = { 27 + version = testers.testVersion { 28 + package = kube-score; 29 + command = "kube-score version"; 30 + }; 31 + }; 20 32 21 33 meta = with lib; { 22 34 description = "Kubernetes object analysis with recommendations for improved reliability and security";
-44
pkgs/applications/networking/mailreaders/betterbird/betterbird.diff
··· 1 - --- a/12-feature-linux-systray-example.patch 2 - +++ b/12-feature-linux-systray-example.patch 3 - @@ -8,18 +8,15 @@ diff --git a/third_party/appindicator/Makefile b/third_party/appindicator/Makefi 4 - new file mode 100644 5 - --- /dev/null 6 - +++ b/third_party/appindicator/Makefile 7 - -@@ -0,0 +1,34 @@ 8 - +@@ -0,0 +1,31 @@ 9 - +# Code from https://github.com/AyatanaIndicators/libayatana-appindicator 10 - +# and related repositories. 11 - +# See https://github.com/AyatanaIndicators/libayatana-appindicator/issues/46 for build instructions. 12 - +# You need: sudo aptitude install libdbusmenu-gtk3-dev 13 - + 14 - -+CFLAGS=`pkg-config --cflags gtk+-3.0 glib-2.0` \ 15 - -+ -I/usr/include/libdbusmenu-glib-0.4/ \ 16 - -+ -I/usr/include/libdbusmenu-gtk3-0.4/ \ 17 - -+ -I/usr/include/glib-2.0 18 - ++CFLAGS=`pkg-config --cflags gtk+-3.0 glib-2.0 dbusmenu-gtk3-0.4` \ 19 - + 20 - -+LDFLAGS=`pkg-config --libs gtk+-3.0 glib-2.0` -ldbusmenu-glib -ldbusmenu-gtk3 21 - ++LDFLAGS=`pkg-config --libs dbusmenu-gtk3-0.4` 22 - + 23 - +OBJECTS=betterbird-systray-icon.o \ 24 - + app-indicator.o \ 25 - --- a/1790619-send-progress-width.patch 26 - +++ b/1790619-send-progress-width.patch 27 - @@ -31,6 +21,7 @@ 28 - scrolling="false"> 29 - <head> 30 - <title>&sendDialog.title;</title> 31 - + <link rel="localization" href="branding/brand.ftl" /> 32 - + <script defer="defer" src="chrome://messenger/content/dialogShadowDom.js"></script> 33 - <script defer="defer" src="chrome://messenger/content/messengercompose/sendProgress.js"></script> 34 - - <script defer="defer" src="chrome://messenger/content/dialogShadowDom.js"></script> 35 - --- a/1777788-fix-dialog-size.patch 36 - +++ b/1777788-fix-dialog-size.patch 37 - @@ -22,6 +22,7 @@ diff --git a/mailnews/compose/content/sendProgress.xhtml b/mailnews/compose/cont 38 - scrolling="false"> 39 - <head> 40 - <title>&sendDialog.title;</title> 41 - + <link rel="localization" href="branding/brand.ftl" /> 42 - <script defer="defer" src="chrome://messenger/content/dialogShadowDom.js"></script> 43 - <script defer="defer" src="chrome://messenger/content/messengercompose/sendProgress.js"></script> 44 - </head>
+42 -33
pkgs/applications/networking/mailreaders/betterbird/default.nix
··· 9 9 , thunderbird-unwrapped 10 10 }: 11 11 12 - ((buildMozillaMach rec { 12 + let 13 + version = "102.12.0"; 14 + majVer = lib.versions.major version; 15 + 16 + betterbird-patches = fetchFromGitHub { 17 + owner = "Betterbird"; 18 + repo = "thunderbird-patches"; 19 + rev = "${version}-bb37"; 20 + postFetch = '' 21 + echo "Retrieving external patches" 22 + 23 + echo "#!${runtimeShell}" > external.sh 24 + # if no external patches need to be downloaded, don't fail 25 + { grep " # " $out/${majVer}/series-M-C || true ; } >> external.sh 26 + { grep " # " $out/${majVer}/series || true ; } >> external.sh 27 + sed -i -e '/^#/d' external.sh 28 + sed -i -e 's/\/rev\//\/raw-rev\//' external.sh 29 + sed -i -e 's|\(.*\) # \(.*\)|curl \2 -o $out/${majVer}/external/\1|' external.sh 30 + chmod 700 external.sh 31 + 32 + mkdir $out/${majVer}/external 33 + SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt 34 + . ./external.sh 35 + rm external.sh 36 + ''; 37 + sha256 = "sha256-LH0dgWqariutfaOCPIUZrHzZ8oCbZF1VaaKQIQS4aL8="; 38 + }; 39 + in ((buildMozillaMach { 13 40 pname = "betterbird"; 14 - version = "102.8.0"; 41 + inherit version; 15 42 16 43 applicationName = "Betterbird"; 17 44 binaryName = "betterbird"; 18 45 inherit (thunderbird-unwrapped) application extraPatches; 19 46 20 47 src = fetchurl { 21 - # https://download.cdn.mozilla.net/pub/mozilla.org/thunderbird/releases/ 48 + # https://download.cdn.mozilla.net/pub/thunderbird/releases/ 22 49 url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz"; 23 - sha512 = "2431eb8799184b261609c96bed3c9368bec9035a831aa5f744fa89e48aedb130385b268dd90f03bbddfec449dc3e5fad1b5f8727fe9e11e1d1f123a81b97ddf8"; 50 + sha512 = "303787a8f22a204e48784d54320d5f4adaeeeedbe4c2294cd26ad75792272ffc9453be7f0ab1434214b61a2cc46982c23c4fd447c4d80d588df4a7800225ddee"; 24 51 }; 25 52 26 - extraPostPatch = let 27 - majVer = lib.versions.major version; 28 - betterbird = fetchFromGitHub { 29 - owner = "Betterbird"; 30 - repo = "thunderbird-patches"; 31 - rev = "${version}-bb30"; 32 - postFetch = '' 33 - echo "Retrieving external patches" 34 - 35 - echo "#!${runtimeShell}" > external.sh 36 - grep " # " $out/${majVer}/series-M-C >> external.sh 37 - grep " # " $out/${majVer}/series >> external.sh 38 - sed -i -e 's/\/rev\//\/raw-rev\//' external.sh 39 - sed -i -e 's|\(.*\) # \(.*\)|curl \2 -o $out/${majVer}/external/\1|' external.sh 40 - chmod 700 external.sh 41 - 42 - mkdir $out/${majVer}/external 43 - SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt 44 - . ./external.sh 45 - rm external.sh 46 - ''; 47 - sha256 = "sha256-ouJSFz/5shNR9puVjrZRJq90DHTeSx7hAnDpuhkBsDo="; 48 - }; 49 - in thunderbird-unwrapped.extraPostPatch or "" + /* bash */ '' 53 + extraPostPatch = thunderbird-unwrapped.extraPostPatch or "" + /* bash */ '' 50 54 PATH=$PATH:${lib.makeBinPath [ git ]} 51 55 patches=$(mktemp -d) 52 56 for dir in branding bugs external features misc; do 53 - cp -r ${betterbird}/${majVer}/$dir/*.patch $patches/ 57 + cp -r ${betterbird-patches}/${majVer}/$dir/*.patch $patches/ 58 + # files is not in series file and duplicated with external patch 59 + [[ $dir == bugs ]] && rm $patches/1820504-optimise-grapheme-m-c.patch 54 60 done 55 - cp ${betterbird}/${majVer}/series* $patches/ 61 + cp ${betterbird-patches}/${majVer}/series* $patches/ 56 62 chmod -R +w $patches 57 63 58 64 cd $patches 59 - patch -p1 < ${./betterbird.diff} 65 + # fix FHS paths to libdbusmenu 60 66 substituteInPlace 12-feature-linux-systray.patch \ 61 67 --replace "/usr/include/libdbusmenu-glib-0.4/" "${lib.getDev libdbusmenu-gtk3}/include/libdbusmenu-glib-0.4/" \ 62 68 --replace "/usr/include/libdbusmenu-gtk3-0.4/" "${lib.getDev libdbusmenu-gtk3}/include/libdbusmenu-gtk3-0.4/" ··· 109 103 webrtcSupport = false; 110 104 111 105 pgoSupport = false; # console.warn: feeds: "downloadFeed: network connection unavailable" 112 - }).overrideAttrs(oldAttrs: { 106 + }).overrideAttrs (oldAttrs: { 113 107 postInstall = oldAttrs.postInstall or "" + '' 114 108 mv $out/lib/thunderbird/* $out/lib/betterbird 115 109 rmdir $out/lib/thunderbird/ ··· 118 112 ''; 119 113 120 114 doInstallCheck = false; 121 - requiredSystemFeatures = []; 115 + 116 + passthru = oldAttrs.passthru // { 117 + inherit betterbird-patches; 118 + }; 122 119 })
+2 -2
pkgs/applications/science/biology/kallisto/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "kallisto"; 5 - version = "0.48.0"; 5 + version = "0.50.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 repo = "kallisto"; 9 9 owner = "pachterlab"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-r0cdR0jTRa1wu/LDKW6NdxI3XaKj6wcIVbIlct0fFvI="; 11 + sha256 = "sha256-GJ8xMbHrnTzvPoMSczpugbIjh79cT3ngX3tLtwzlfEQ="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ autoconf cmake ];
+4
pkgs/development/libraries/botan/generic.nix
··· 15 15 pname = "botan"; 16 16 version = "${baseVersion}.${revision}"; 17 17 18 + outputs = [ "out" "dev" ]; 19 + 18 20 src = fetchurl { 19 21 name = "Botan-${version}.${sourceExtension}"; 20 22 urls = [ ··· 32 30 ++ lib.optionals stdenv.isDarwin [ CoreServices Security ]; 33 31 34 32 configurePhase = '' 33 + runHook preConfigure 35 34 python configure.py --prefix=$out --with-bzip2 --with-zlib ${extraConfigureFlags}${lib.optionalString stdenv.cc.isClang " --cc=clang"} 35 + runHook postConfigure 36 36 ''; 37 37 38 38 enableParallelBuilding = true;
+3 -2
pkgs/development/libraries/libmediainfo/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libmediainfo"; 5 - version = "23.04"; 5 + version = "23.06"; 6 6 7 7 src = fetchurl { 8 8 url = "https://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz"; 9 - sha256 = "sha256-NlDt6jJv5U0/Y0YUdkSZUI++7ErphAAvCGrfHQwHGSY="; 9 + sha256 = "sha256-xrGuiyu89AM0BRizyU8q51yOsAaCv7vRiyJELkLcz80="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ autoreconfHook pkg-config ]; ··· 31 31 meta = with lib; { 32 32 description = "Shared library for mediainfo"; 33 33 homepage = "https://mediaarea.net/"; 34 + changelog = "https://mediaarea.net/MediaInfo/ChangeLog"; 34 35 license = licenses.bsd2; 35 36 platforms = platforms.unix; 36 37 maintainers = [ maintainers.devhell ];
+2 -2
pkgs/development/libraries/ode/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ode"; 5 - version = "0.16.3"; 5 + version = "0.16.4"; 6 6 7 7 src = fetchurl { 8 8 url = "https://bitbucket.org/odedevs/${pname}/downloads/${pname}-${version}.tar.gz"; 9 - sha256 = "sha256-x0Hb9Jv8Rozilkgk5bw/kG6pVrGuNZTFDTUcOD8DxBM="; 9 + sha256 = "sha256-cQN7goHGyGsKVXKfkNXbaXq+TL7B2BGBV+ANSOwlNGc="; 10 10 }; 11 11 12 12 meta = with lib; {
+2 -2
pkgs/development/python-modules/google-auth/default.nix
··· 27 27 28 28 buildPythonPackage rec { 29 29 pname = "google-auth"; 30 - version = "2.19.1"; 30 + version = "2.21.0"; 31 31 format = "setuptools"; 32 32 33 33 disabled = pythonOlder "3.6"; 34 34 35 35 src = fetchPypi { 36 36 inherit pname version; 37 - hash = "sha256-qc+oiz4WGWhF5ko2WOuVOZISnROsczewZMZUb3fBcYM="; 37 + hash = "sha256-so6ASOV3J+fPDlvY5ydrISrvR2ZUoJURNUqoJ1O0XGY="; 38 38 }; 39 39 40 40 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-cloud-compute/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "google-cloud-compute"; 15 - version = "1.12.0"; 15 + version = "1.12.1"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.7"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - hash = "sha256-d5L0/GiKVCfqHx8UGSx7BLClhgf0fGjw/q0p8N5h6X4="; 22 + hash = "sha256-6P8jDASYoFuN7J6BVD50Ww2jZ21soyWUN6QpyNKsqiU="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+3 -1
pkgs/development/python-modules/matplotlib/default.nix
··· 3 3 , fetchPypi 4 4 , writeText 5 5 , buildPythonPackage 6 + , isPyPy 6 7 , pythonOlder 7 8 8 9 # https://github.com/matplotlib/matplotlib/blob/main/doc/devel/dependencies.rst ··· 41 40 , pygobject3 42 41 43 42 # Tk 44 - , enableTk ? !stdenv.isDarwin # darwin has its own "MacOSX" backend 43 + # Darwin has its own "MacOSX" backend, PyPy has tkagg backend and does not support tkinter 44 + , enableTk ? (!stdenv.isDarwin && !isPyPy) 45 45 , tcl 46 46 , tk 47 47 , tkinter
+3 -2
pkgs/development/python-modules/nose3/default.nix
··· 3 3 , coverage 4 4 , fetchPypi 5 5 , isPyPy 6 + , isPy311 6 7 , python 7 8 , stdenv 8 9 }: ··· 20 19 propagatedBuildInputs = [ coverage ]; 21 20 22 21 # PyPy hangs for unknwon reason 23 - # darwin fails an assertion and I didn't find a way to find skip that test 24 - doCheck = !isPyPy && !stdenv.isDarwin; 22 + # Darwin and python 3.11 fail at various assertions and I didn't find an easy way to find skip those tests 23 + doCheck = !isPyPy && !stdenv.isDarwin && !isPy311; 25 24 26 25 checkPhase = '' 27 26 ${python.pythonForBuild.interpreter} selftest.py
-31
pkgs/development/python-modules/py-radix/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , pythonAtLeast 4 - , fetchFromGitHub 5 - , coverage 6 - , nose 7 - }: 8 - 9 - buildPythonPackage rec { 10 - pname = "py-radix"; 11 - version = "0.10.0"; 12 - 13 - disabled = pythonAtLeast "3.10"; # abandoned, remove when we move to py310/py311 14 - 15 - src = fetchFromGitHub { 16 - owner = "mjschultz"; 17 - repo = "py-radix"; 18 - rev = "v${version}"; 19 - sha256 = "01xyn9lg6laavnzczf5bck1l1c2718ihxx0hvdkclnnxjqhbrqis"; 20 - }; 21 - 22 - doCheck = true; 23 - nativeCheckInputs = [ coverage nose ]; 24 - 25 - meta = with lib; { 26 - description = "Python radix tree for IPv4 and IPv6 prefix matching"; 27 - homepage = "https://github.com/mjschultz/py-radix"; 28 - license = with licenses; [ isc bsdOriginal ]; 29 - maintainers = with maintainers; [ mkg ]; 30 - }; 31 - }
+2 -2
pkgs/development/python-modules/rns/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "rns"; 12 - version = "0.5.5"; 12 + version = "0.5.6"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.7"; ··· 18 18 owner = "markqvist"; 19 19 repo = "Reticulum"; 20 20 rev = "refs/tags/${version}"; 21 - hash = "sha256-gyEf6Sck+qmbnepiBoHrN9t018BwBM4iJQBjU9Iqhn4="; 21 + hash = "sha256-s/rOU9FEWdb0vmRsMq/yPkP/ZTNc5wjlfdB0V+ltryQ="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+4 -1
pkgs/development/python-modules/skia-pathops/default.nix
··· 2 2 , stdenv 3 3 , buildPythonPackage 4 4 , cython 5 + , isPyPy 5 6 , ninja 6 7 , setuptools-scm 7 8 , setuptools ··· 51 50 52 51 meta = { 53 52 description = "Python access to operations on paths using the Skia library"; 54 - homepage = "https://skia.org/dev/present/pathops"; 53 + homepage = "https://github.com/fonttools/skia-pathops"; 55 54 license = lib.licenses.bsd3; 56 55 maintainers = [ lib.maintainers.BarinovMaxim ]; 56 + # ERROR at //gn/BUILDCONFIG.gn:87:14: Script returned non-zero exit code. 57 + broken = isPyPy; 57 58 }; 58 59 }
+14 -1
pkgs/development/python-modules/sphinx/default.nix
··· 3 3 , buildPythonPackage 4 4 , pythonOlder 5 5 , fetchFromGitHub 6 - , fetchpatch 6 + , isPyPy 7 7 8 8 # nativeBuildInputs 9 9 , flit-core ··· 144 144 "test_auth_header_no_match" 145 145 "test_follows_redirects_on_GET" 146 146 "test_connect_to_selfsigned_fails" 147 + ] ++ lib.optionals isPyPy [ 148 + # PyPy has not __builtins__ which get asserted 149 + # https://doc.pypy.org/en/latest/cpython_differences.html#miscellaneous 150 + "test_autosummary_generate_content_for_module" 151 + "test_autosummary_generate_content_for_module_skipped" 152 + # internals are asserted which are sightly different in PyPy 153 + "test_autodoc_inherited_members_None" 154 + "test_automethod_for_builtin" 155 + "test_builtin_function" 156 + "test_cython" 157 + "test_isattributedescriptor" 158 + "test_methoddescriptor" 159 + "test_partialfunction" 147 160 ]; 148 161 149 162 meta = with lib; {
-26
pkgs/development/python-modules/validictory/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , pythonAtLeast 4 - , fetchPypi 5 - }: 6 - 7 - buildPythonPackage rec { 8 - pname = "validictory"; 9 - version = "1.1.2"; 10 - 11 - disabled = pythonAtLeast "3.10"; # abandoned, should be removed when we move to py310/311 12 - 13 - src = fetchPypi { 14 - inherit pname version; 15 - sha256 = "1fim11vj990rmn59qd67knccjx1p4an7gavbgprpabsrb13bi1rs"; 16 - }; 17 - 18 - doCheck = false; 19 - 20 - meta = with lib; { 21 - description = "Validate dicts against a schema"; 22 - homepage = "https://github.com/sunlightlabs/validictory"; 23 - license = licenses.mit; 24 - }; 25 - 26 - }
+3 -3
pkgs/development/tools/database/sqlcmd/default.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "sqlcmd"; 11 - version = "1.1.0"; 11 + version = "1.2.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 repo = "go-sqlcmd"; 15 15 owner = "microsoft"; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-sBOCUlhqXShcF+KA7NXaUEC6c5+Rz9zutGOw6i2FSsQ="; 17 + sha256 = "sha256-nMTC4bOv2Mgmt0GFXoBkbSayJ85i1mS/mcCsP8/x00A="; 18 18 }; 19 19 20 - vendorHash = "sha256-1KnMFTadgTmHan2E/9+iHRPgakXi9F3tEOnuwGR+FXw="; 20 + vendorHash = "sha256-+buoX9etR34p1N2G8+48ZvF6cg/y4uKb89sSIwkoeuY="; 21 21 proxyVendor = true; 22 22 23 23 ldflags = [ "-s" "-w" "-X main.version=${version}" ];
+3 -3
pkgs/development/tools/github-commenter/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "github-commenter"; 5 - version = "0.9.0"; 5 + version = "0.19.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "cloudposse"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-IBo4FAoYX1FmrmQ9mlyyu1TGLY7dlH7pWalBoRb2puE="; 11 + hash = "sha256-pCcTdj2ZgGIpa6784xkBX29LVu1o5ORqqk9j9wR/V8k="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-H1SnNG+/ALYs7h/oT8zWBhAXOuCFY0Sto2ATBBZg2ek="; 14 + vendorHash = "sha256-etR//FfHRzCL6WEZSqeaKYu3eLjxA0x5mZJRe1yvycQ="; 15 15 16 16 meta = with lib; { 17 17 description = "Command line utility for creating GitHub comments on Commits, Pull Request Reviews or Issues";
+3 -3
pkgs/development/tools/misc/go-license-detector/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "go-license-detector"; 5 - version = "4.3.0"; 5 + version = "4.3.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "go-enry"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-MubQpxpUCPDBVsEz4NmY8MFEoECXQtzAaZJ89vv5bDc="; 11 + hash = "sha256-S9LKXjn5dL5FETOOAk+bs7bIVdu2x7MIhfjpZuXzuLo="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-a9yCnGg+4f+UoHbGG8a47z2duBD3qXcAzPKnE4PQsvM="; 14 + vendorHash = "sha256-MtQsUsFd9zQGbP7NGZ4zcSoa6O2WSWvGig0GUwCc6uM="; 15 15 16 16 nativeCheckInputs = [ git ]; 17 17
+3 -3
pkgs/development/tools/rust/cargo-crev/default.nix
··· 14 14 15 15 rustPlatform.buildRustPackage rec { 16 16 pname = "cargo-crev"; 17 - version = "0.24.2"; 17 + version = "0.24.3"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "crev-dev"; 21 21 repo = "cargo-crev"; 22 22 rev = "v${version}"; 23 - sha256 = "sha256-9jP/GPI+KXtHA54mCIaoN9hK16Xwlkoe7Qqxo4TbQh8="; 23 + sha256 = "sha256-CCTG58dwO9gYe0WSUXFeaBSgvZ7pbX9S3B3hzabzkjo="; 24 24 }; 25 25 26 - cargoHash = "sha256-wVLPcPPzrXU26BgB4TznGyIAsVmBbKNkNPuLfrS2+MQ="; 26 + cargoHash = "sha256-p2qAWAZ1Y0GI0t9wHmn5Ww3o5vXpA6rsA/D7HD2x6o0="; 27 27 28 28 preCheck = '' 29 29 export HOME=$(mktemp -d)
+22 -5
pkgs/development/tools/rust/cargo-espflash/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub, pkg-config, udev, stdenv, Security }: 1 + { 2 + lib 3 + , rustPlatform 4 + , fetchFromGitHub 5 + , pkg-config 6 + , udev 7 + , stdenv 8 + , Security 9 + , nix-update-script 10 + , openssl 11 + , SystemConfiguration 12 + }: 2 13 3 14 rustPlatform.buildRustPackage rec { 4 15 pname = "cargo-espflash"; 5 - version = "1.7.0"; 16 + version = "2.0.0"; 6 17 7 18 src = fetchFromGitHub { 8 19 owner = "esp-rs"; 9 20 repo = "espflash"; 10 21 rev = "v${version}"; 11 - sha256 = "sha256-AauIneSnacnY4mulD/qUgfN4K9tLzZXFug0oEsDuj18="; 22 + hash = "sha256-3E0OC8DVP2muLyoN4DQfrdnK+idQEm7IpaA/CUIyYnU="; 12 23 }; 13 24 14 25 nativeBuildInputs = [ 15 26 pkg-config 16 27 ]; 17 28 18 - buildInputs = lib.optionals stdenv.isLinux [ 29 + # Needed to get openssl-sys to use pkg-config. 30 + OPENSSL_NO_VENDOR = 1; 31 + 32 + buildInputs = [ openssl ] ++ lib.optionals stdenv.isLinux [ 19 33 udev 20 34 ] ++ lib.optionals stdenv.isDarwin [ 21 35 Security 36 + SystemConfiguration 22 37 ]; 23 38 24 - cargoSha256 = "sha256-82o3B6qmBVPpBVAogClmTbxrBRXY8Lmd2sHmonP5/s8="; 39 + cargoHash = "sha256-8VIAmmtaQoIvD7wN+W3yUM0CEDadOQrv1wnJ4/AWKFA="; 40 + 41 + passthru.updateScript = nix-update-script { }; 25 42 26 43 meta = with lib; { 27 44 description = "Serial flasher utility for Espressif SoCs and modules based on esptool.py";
+3 -3
pkgs/misc/vencord/default.nix
··· 8 8 }: 9 9 buildNpmPackage rec { 10 10 pname = "vencord"; 11 - version = "1.2.8"; 11 + version = "1.3.4"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "Vendicated"; 15 15 repo = "Vencord"; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-l3h4LrpMQ944i4QivKeL3dhZxZCr5uG29pQMY1XNbqc="; 17 + sha256 = "sha256-r+VgxXwsBOfMggcVlr5q1/ONfp13CpX4ssrLQtmdLe8="; 18 18 }; 19 19 20 20 ESBUILD_BINARY_PATH = lib.getExe (esbuild.override { ··· 33 33 # Supresses an error about esbuild's version. 34 34 npmRebuildFlags = [ "|| true" ]; 35 35 36 - npmDepsHash = "sha256-m+hczXog03Gz81CP/blkRJPaTrEhmLQFvVtOfWKYQL4="; 36 + npmDepsHash = "sha256-HJK88z4Gs8mqd28zKrsTtk34VcRqIyb6aURbvRZLN0I="; 37 37 npmFlags = [ "--legacy-peer-deps" ]; 38 38 npmBuildScript = if buildWebExtension then "buildWeb" else "build"; 39 39 npmBuildFlags = [ "--" "--standalone" ];
+2 -2
pkgs/misc/vencord/package-lock.json
··· 1 1 { 2 2 "name": "vencord", 3 - "version": "1.2.8", 3 + "version": "1.3.4", 4 4 "lockfileVersion": 3, 5 5 "requires": true, 6 6 "packages": { 7 7 "": { 8 8 "name": "vencord", 9 - "version": "1.2.8", 9 + "version": "1.3.4", 10 10 "license": "GPL-3.0", 11 11 "dependencies": { 12 12 "@vap/core": "0.0.12",
+8 -8
pkgs/os-specific/linux/nixos-rebuild/nixos-rebuild.sh
··· 17 17 18 18 # Parse the command line. 19 19 origArgs=("$@") 20 - copyClosureFlags=() 20 + copyFlags=() 21 21 extraBuildFlags=() 22 22 lockFlags=() 23 23 flakeFlags=(--extra-experimental-features 'nix-command flakes') ··· 74 74 upgrade=1 75 75 upgrade_all=1 76 76 ;; 77 - --use-substitutes|-s) 78 - copyClosureFlags+=("$i") 77 + --use-substitutes|--substitute-on-destination|-s) 78 + copyFlags+=("-s") 79 79 ;; 80 80 -I|--max-jobs|-j|--cores|--builders|--log-format) 81 81 j="$1"; shift 1 ··· 192 192 if ! [ "$targetHost" = "$buildHost" ]; then 193 193 if [ -z "$targetHost" ]; then 194 194 logVerbose "Running nix-copy-closure with these NIX_SSHOPTS: $SSHOPTS" 195 - NIX_SSHOPTS=$SSHOPTS runCmd nix-copy-closure "${copyClosureFlags[@]}" --from "$buildHost" "$1" 195 + NIX_SSHOPTS=$SSHOPTS runCmd nix-copy-closure "${copyFlags[@]}" --from "$buildHost" "$1" 196 196 elif [ -z "$buildHost" ]; then 197 197 logVerbose "Running nix-copy-closure with these NIX_SSHOPTS: $SSHOPTS" 198 - NIX_SSHOPTS=$SSHOPTS runCmd nix-copy-closure "${copyClosureFlags[@]}" --to "$targetHost" "$1" 198 + NIX_SSHOPTS=$SSHOPTS runCmd nix-copy-closure "${copyFlags[@]}" --to "$targetHost" "$1" 199 199 else 200 - buildHostCmd nix-copy-closure "${copyClosureFlags[@]}" --to "$targetHost" "$1" 200 + buildHostCmd nix-copy-closure "${copyFlags[@]}" --to "$targetHost" "$1" 201 201 fi 202 202 fi 203 203 } ··· 292 292 drv="$(runCmd nix "${flakeFlags[@]}" eval --raw "${attr}.drvPath" "${evalArgs[@]}" "${extraBuildFlags[@]}")" 293 293 if [ -a "$drv" ]; then 294 294 logVerbose "Running nix with these NIX_SSHOPTS: $SSHOPTS" 295 - NIX_SSHOPTS=$SSHOPTS runCmd nix "${flakeFlags[@]}" copy --derivation --to "ssh://$buildHost" "$drv" 295 + NIX_SSHOPTS=$SSHOPTS runCmd nix "${flakeFlags[@]}" copy "${copyFlags[@]}" --derivation --to "ssh://$buildHost" "$drv" 296 296 buildHostCmd nix-store -r "$drv" "${buildArgs[@]}" 297 297 else 298 298 log "nix eval failed" ··· 480 480 if [ -a "$nixDrv" ]; then 481 481 nix-store -r "$nixDrv"'!'"out" --add-root "$tmpDir/nix" --indirect >/dev/null 482 482 if [ -n "$buildHost" ]; then 483 - nix-copy-closure "${copyClosureFlags[@]}" --to "$buildHost" "$nixDrv" 483 + nix-copy-closure "${copyFlags[@]}" --to "$buildHost" "$nixDrv" 484 484 # The nix build produces multiple outputs, we add them all to the remote path 485 485 for p in $(buildHostCmd nix-store -r "$(readlink "$nixDrv")" "${buildArgs[@]}"); do 486 486 remoteNix="$remoteNix${remoteNix:+:}$p/bin"
+30
pkgs/os-specific/linux/pam_dp9ik/default.nix
··· 1 + { lib 2 + , tlsclient 3 + , stdenv 4 + , pkg-config 5 + , pam 6 + }: 7 + 8 + stdenv.mkDerivation { 9 + inherit (tlsclient) src version enableParallelBuilding; 10 + 11 + pname = "pam_dp9ik"; 12 + 13 + strictDeps = true; 14 + nativeBuildInputs = [ pkg-config ]; 15 + buildInputs = [ pam ]; 16 + 17 + makeFlags = [ "pam_p9.so" ]; 18 + installPhase = '' 19 + install -Dm755 -t $out/lib/security/ pam_p9.so 20 + ''; 21 + 22 + meta = with lib; { 23 + description = "dp9ik pam module"; 24 + longDescription = "Uses tlsclient to authenticate users against a 9front auth server"; 25 + homepage = "https://git.sr.ht/~moody/tlsclient"; 26 + license = licenses.mit; 27 + maintainers = with maintainers; [ moody ]; 28 + platforms = platforms.linux; 29 + }; 30 + }
+5 -5
pkgs/os-specific/linux/prl-tools/default.nix
··· 34 34 "${util-linux}/bin" 35 35 ]; 36 36 in 37 - stdenv.mkDerivation rec { 38 - version = "18.3.1-53614"; 37 + stdenv.mkDerivation (finalAttrs: { 39 38 pname = "prl-tools"; 39 + version = "18.3.2-53621"; 40 40 41 41 # We download the full distribution to extract prl-tools-lin.iso from 42 42 # => ${dmg}/Parallels\ Desktop.app/Contents/Resources/Tools/prl-tools-lin.iso 43 43 src = fetchurl { 44 - url = "https://download.parallels.com/desktop/v${lib.versions.major version}/${version}/ParallelsDesktop-${version}.dmg"; 45 - hash = "sha256-MZtNxByY2GSoPFeH9mPieCPPNfUgfla+lYgpeD+SgOc="; 44 + url = "https://download.parallels.com/desktop/v${lib.versions.major finalAttrs.version}/${finalAttrs.version}/ParallelsDesktop-${finalAttrs.version}.dmg"; 45 + hash = "sha256-mPETZiCI/i6xJ3+ououDKaVwrAxK5cr6L6A16oEgIqk="; 46 46 }; 47 47 48 48 hardeningDisable = [ "pic" "format" ]; ··· 173 173 maintainers = with maintainers; [ catap wegank ]; 174 174 platforms = platforms.linux; 175 175 }; 176 - } 176 + })
+4 -4
pkgs/servers/http/apache-modules/mod_tile/default.nix
··· 50 50 ]; 51 51 52 52 # the install script wants to install mod_tile.so into apache's modules dir 53 + # also mapnik pkg-config config is missing this patch: https://github.com/mapnik/mapnik/commit/692c2faa0ef168a8c908d262c2bbfe51a74a8336.patch 53 54 postPatch = '' 54 55 sed -i "s|\''${HTTPD_MODULES_DIR}|$out/modules|" CMakeLists.txt 56 + sed -i -e "s|@MAPNIK_FONTS_DIR@|$(mapnik-config --fonts)|" -e "s|@MAPNIK_PLUGINS_DIR@|$(mapnik-config --input-plugins)|" tests/renderd.conf.in 55 57 ''; 56 58 57 59 enableParallelBuilding = true; 58 60 59 - # We need to either disable the `render_speedtest` and `download_tile` tests 60 - # or fix the URLs they try to download from 61 - #cmakeFlags = [ "-DENABLE_TESTS=1" ]; 62 - #doCheck = true; 61 + cmakeFlags = [ "-DENABLE_TESTS=1" ]; 62 + doCheck = true; 63 63 64 64 meta = with lib; { 65 65 homepage = "https://github.com/openstreetmap/mod_tile";
+3 -3
pkgs/servers/irc/robustirc-bridge/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "robustirc-bridge"; 5 - version = "1.8"; 5 + version = "1.9.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "robustirc"; 9 9 repo = "bridge"; 10 10 rev = "v${version}"; 11 - sha256 = "12jzil97147f978shdgm6whz7699db0shh0c1fzgrjh512dw502c"; 11 + hash = "sha256-8SNy3xqVahBuEXCrG21zIggXeahbzJtqtFMxfp+r48g="; 12 12 }; 13 13 14 - vendorSha256 = "0lm8j2iz0yysgi0bbh78ca629kb6sxvyy9al3aj2587hpvy79q85"; 14 + vendorHash = "sha256-NBouR+AwQd7IszEcnYRxHFKtCdVTdfOWnzYjdZ5fXfs="; 15 15 16 16 postInstall = '' 17 17 install -D robustirc-bridge.1 $out/share/man/man1/robustirc-bridge.1
+14 -6
pkgs/servers/matrix-synapse/default.nix
··· 86 86 87 87 doCheck = !stdenv.isDarwin; 88 88 89 - checkPhase = let testFlags = lib.optionalString (!stdenv.isAarch64) "-j $NIX_BUILD_CORES"; in '' 89 + checkPhase = '' 90 90 runHook preCheck 91 91 92 92 # remove src module, so tests use the installed module instead 93 93 rm -rf ./synapse 94 94 95 - PYTHONPATH=".:$PYTHONPATH" ${python3.interpreter} -m twisted.trial ${testFlags} tests 95 + # high parallelisem makes test suite unstable 96 + # upstream uses 2 cores but 4 seems to be also stable 97 + # https://github.com/matrix-org/synapse/blob/develop/.github/workflows/latest_deps.yml#L103 98 + if (( $NIX_BUILD_CORES > 4)); then 99 + NIX_BUILD_CORES=4 100 + fi 101 + 102 + PYTHONPATH=".:$PYTHONPATH" ${python3.interpreter} -m twisted.trial -j $NIX_BUILD_CORES tests 96 103 97 104 runHook postCheck 98 105 ''; 99 106 100 - passthru.tests = { inherit (nixosTests) matrix-synapse; }; 101 - passthru.plugins = plugins; 102 - passthru.tools = tools; 103 - passthru.python = python3; 107 + passthru = { 108 + tests = { inherit (nixosTests) matrix-synapse; }; 109 + inherit plugins tools; 110 + python = python3; 111 + }; 104 112 105 113 meta = with lib; { 106 114 homepage = "https://matrix.org";
+7 -4
pkgs/servers/monitoring/prometheus/lnd-exporter.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "lndmon"; 5 - version = "unstable-2021-03-26"; 5 + version = "0.2.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "lightninglabs"; 9 9 repo = "lndmon"; 10 - sha256 = "14lmmjq61p8yhc86swigs43risqi31vlmz7ri8j0n0fyp8lm2kxs"; 11 - rev = "3aa925aa4f633a6c4d132601922e78f173ae8ac1"; 10 + rev = "v${version}"; 11 + hash = "sha256-j9T60J7n9sya9/nN0Y6wsPDXN2h35pXxMdadsOkAMWI="; 12 12 }; 13 13 14 - vendorSha256 = "06if387b9m02ciqgcissih1x06l33djp87vgspwzz589f77vczk8"; 14 + vendorHash = "sha256-h9+/BOy1KFiqUUV35M548fDKFC3Q5mBaANuD7t1rpp8="; 15 + 16 + # Irrelevant tools dependencies. 17 + excludedPackages = [ "./tools" ]; 15 18 16 19 passthru.tests = { inherit (nixosTests.prometheus-exporters) lnd; }; 17 20
+3 -3
pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "rabbitmq_exporter"; 5 - version = "1.0.0-RC8"; 5 + version = "1.0.0-RC19"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "kbudde"; 9 9 repo = "rabbitmq_exporter"; 10 10 rev = "v${version}"; 11 - sha256 = "162rjp1j56kcq0vdi0ch09ka101zslxp684x6jvw0jq0aix4zj3r"; 11 + hash = "sha256-31A0afmARdHxflR3n59DaqmLpTXws4OqROHfnc6cLKw="; 12 12 }; 13 13 14 - vendorSha256 = "1cvdqf5pdwczhqz6xb6w86h7gdr0l8fc3lav88xq26r4x75cm6v0"; 14 + vendorHash = "sha256-ER0vK0xYUbQT3bqUosQMFT7HBycb3U8oI4Eak72myzs="; 15 15 16 16 meta = with lib; { 17 17 description = "Prometheus exporter for RabbitMQ";
+2 -2
pkgs/tools/admin/kics/default.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "kics"; 11 - version = "1.7.2"; 11 + version = "1.7.3"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "Checkmarx"; 15 15 repo = "kics"; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-D5w/Wt6Dlu6ouwwyZkGa6Ttu367s7SrnlGI0lQqSpfI="; 17 + sha256 = "sha256-IYyGZ0eJcGLQoQyfgbwxzzoEZ2dUKLlEaZ4NhuP5Q30="; 18 18 }; 19 19 20 20 vendorHash = "sha256-cMKEUH/teEfyhHgBz3pMD8sotZ51t6O+4EiQ9BJt2Qg=";
+40
pkgs/tools/admin/tlsclient/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromSourcehut 4 + , pkg-config 5 + , openssl 6 + , installShellFiles 7 + }: 8 + 9 + stdenv.mkDerivation rec { 10 + pname = "tlsclient"; 11 + version = "1.5"; 12 + 13 + src = fetchFromSourcehut { 14 + owner = "~moody"; 15 + repo = "tlsclient"; 16 + rev = "v${version}"; 17 + hash = "sha256-9LKx9x5Kx7Mo4EL/b89Mdsdu8NqVYxohn98XnF+IWXs="; 18 + }; 19 + 20 + strictDeps = true; 21 + enableParallelBuilding = true; 22 + nativeBuildInputs = [ pkg-config installShellFiles ]; 23 + buildInputs = [ openssl ]; 24 + 25 + makeFlags = [ "tlsclient" ]; 26 + installPhase = '' 27 + install -Dm755 -t $out/bin tlsclient 28 + installManPage tlsclient.1 29 + ''; 30 + 31 + meta = with lib; { 32 + description = "tlsclient command line utility"; 33 + longDescription = "unix port of 9front's tlsclient(1) and rcpu(1)"; 34 + homepage = "https://git.sr.ht/~moody/tlsclient"; 35 + license = licenses.mit; 36 + maintainers = with maintainers; [ moody ]; 37 + mainProgram = "tlsclient"; 38 + platforms = platforms.all; 39 + }; 40 + }
+5 -11
pkgs/tools/admin/wander/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, wander }: 1 + { lib, buildGoModule, fetchFromGitHub, installShellFiles }: 2 2 3 3 buildGoModule rec { 4 4 pname = "wander"; 5 - version = "0.9.0"; 5 + version = "0.10.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "robinovitch61"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-g9QAdwAqy3OA+nYsSpVLUPv1gn6N12339fgmYFT6Iys="; 11 + sha256 = "sha256-jg83GHNlzPPzzhrLWw686vrmLlDL5L0+OUYqMoYUiJw="; 12 12 }; 13 13 14 - vendorHash = "sha256-iTaZ5/0UrLJ3JE3FwQpvjKKrhqklG4n1WFTJhWfj/rI="; 14 + vendorHash = "sha256-SqDGXV8MpvEQFAkcE1NWvWjdzYsvbO5vA6k+hpY0js0="; 15 15 16 - ldflags = [ "-s" "-w" "-X=github.com/robinovitch61/wander/cmd.Version=v${version}" ]; 16 + ldflags = [ "-s" "-w" ]; 17 17 18 18 nativeBuildInputs = [ installShellFiles ]; 19 19 ··· 23 23 --bash <($out/bin/wander completion bash) \ 24 24 --zsh <($out/bin/wander completion zsh) 25 25 ''; 26 - 27 - passthru.tests.version = testers.testVersion { 28 - package = wander; 29 - command = "wander --version"; 30 - version = "v${version}"; 31 - }; 32 26 33 27 meta = with lib; { 34 28 description = "Terminal app/TUI for HashiCorp Nomad";
+44
pkgs/tools/filesystems/fuse-archive/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , fuse 5 + , libarchive 6 + , pkg-config 7 + }: 8 + 9 + stdenv.mkDerivation rec { 10 + pname = "fuse-archive"; 11 + version = "0.1.14"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "google"; 15 + repo = "fuse-archive"; 16 + rev = "refs/tags/v${version}"; 17 + hash = "sha256-l4tIK157Qo4m611etwMSk564+eC28x4RbmjX3J57/7Q="; 18 + }; 19 + 20 + nativeBuildInputs = [ 21 + pkg-config 22 + ]; 23 + 24 + buildInputs = [ 25 + fuse 26 + libarchive 27 + ]; 28 + 29 + env.NIX_CFLAGS_COMPILE = "-D_FILE_OFFSET_BITS=64"; 30 + 31 + makeFlags = [ 32 + "prefix=${placeholder "out"}" 33 + ]; 34 + 35 + meta = with lib; { 36 + description = "Serve an archive or a compressed file as a read-only FUSE file system"; 37 + homepage = "https://github.com/google/fuse-archive"; 38 + changelog = "https://github.com/google/fuse-archive/releases/tag/v${version}"; 39 + license = licenses.asl20; 40 + maintainers = with maintainers; [ icyrockcom ]; 41 + }; 42 + 43 + inherit (fuse.meta) platforms; 44 + }
+1 -1
pkgs/tools/security/softhsm/default.nix
··· 12 12 13 13 configureFlags = [ 14 14 "--with-crypto-backend=botan" 15 - "--with-botan=${botan2}" 15 + "--with-botan=${lib.getDev botan2}" 16 16 "--sysconfdir=$out/etc" 17 17 "--localstatedir=$out/var" 18 18 ];
+14 -24
pkgs/tools/typesetting/tex/texlive/default.nix
··· 34 34 tl = let 35 35 orig = removeAttrs tlpdb [ "00texlive.config" ]; 36 36 37 - overridden = orig // { 37 + overridden = lib.recursiveUpdate orig { 38 38 # overrides of texlive.tlpdb 39 39 40 40 # only *.po for tlmgr 41 - texlive-msg-translations = builtins.removeAttrs orig.texlive-msg-translations [ "hasTlpkg" ]; 41 + texlive-msg-translations.hasTlpkg = false; 42 42 43 - xdvi = orig.xdvi // { # it seems to need it to transform fonts 44 - deps = (orig.xdvi.deps or []) ++ [ "metafont" ]; 45 - }; 43 + # it seems to need it to transform fonts 44 + xdvi.deps = (orig.xdvi.deps or []) ++ [ "metafont" ]; 46 45 47 - arabi-add = orig.arabi-add // { 48 - # tlpdb lists license as "unknown", but the README says lppl13: http://mirrors.ctan.org/language/arabic/arabi-add/README 49 - license = [ "lppl13c" ]; 50 - }; 46 + # tlpdb lists license as "unknown", but the README says lppl13: http://mirrors.ctan.org/language/arabic/arabi-add/README 47 + arabi-add.license = [ "lppl13c" ]; 51 48 52 49 # TODO: remove this when updating to texlive-2023, npp-for-context is no longer in texlive 53 - npp-for-context = orig.npp-for-context // { 54 - # tlpdb lists license as "noinfo", but it's gpl3: https://github.com/luigiScarso/context-npp 55 - license = [ "gpl3Only" ]; 56 - }; 50 + # tlpdb lists license as "noinfo", but it's gpl3: https://github.com/luigiScarso/context-npp 51 + npp-for-context.license = [ "gpl3Only" ]; 57 52 58 53 # remove dependency-heavy packages from the basic collections 59 - collection-basic = orig.collection-basic // { 60 - deps = lib.filter (n: n != "metafont" && n != "xdvi") orig.collection-basic.deps; 61 - }; 62 - # add them elsewhere so that collections cover all packages 63 - collection-metapost = orig.collection-metapost // { 64 - deps = orig.collection-metapost.deps ++ [ "metafont" ]; 65 - }; 66 - collection-plaingeneric = orig.collection-plaingeneric // { 67 - deps = orig.collection-plaingeneric.deps ++ [ "xdvi" ]; 68 - }; 54 + collection-basic.deps = lib.subtractLists [ "metafont" "xdvi" ] orig.collection-basic.deps; 69 55 70 - texdoc = orig.texdoc // { 56 + # add them elsewhere so that collections cover all packages 57 + collection-metapost.deps = orig.collection-metapost.deps ++ [ "metafont" ]; 58 + collection-plaingeneric.deps = orig.collection-plaingeneric.deps ++ [ "xdvi" ]; 59 + 60 + texdoc = { 71 61 extraRevision = ".tlpdb${toString tlpdbVersion.revision}"; 72 62 extraVersion = "-tlpdb-${toString tlpdbVersion.revision}"; 73 63
+7 -1
pkgs/top-level/all-packages.nix
··· 7984 7984 7985 7985 fuse-7z-ng = callPackage ../tools/filesystems/fuse-7z-ng { }; 7986 7986 7987 + fuse-archive = callPackage ../tools/filesystems/fuse-archive { }; 7988 + 7987 7989 fuse-overlayfs = callPackage ../tools/filesystems/fuse-overlayfs { }; 7988 7990 7989 7991 fusee-interfacee-tk = callPackage ../applications/misc/fusee-interfacee-tk { }; ··· 13347 13345 13348 13346 tldr-hs = haskellPackages.tldr; 13349 13347 13348 + tlsclient = callPackage ../tools/admin/tlsclient { }; 13349 + 13350 13350 tlsx = callPackage ../tools/security/tlsx { }; 13351 13351 13352 13352 tmate = callPackage ../tools/misc/tmate { }; ··· 16668 16664 cargo2junit = callPackage ../development/tools/rust/cargo2junit { }; 16669 16665 16670 16666 cargo-espflash = callPackage ../development/tools/rust/cargo-espflash { 16671 - inherit (darwin.apple_sdk.frameworks) Security; 16667 + inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; 16672 16668 }; 16673 16669 16674 16670 cargo-web = callPackage ../development/tools/rust/cargo-web { ··· 27958 27954 # pam_bioapi ( see http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader ) 27959 27955 27960 27956 pam_ccreds = callPackage ../os-specific/linux/pam_ccreds { }; 27957 + 27958 + pam_dp9ik = callPackage ../os-specific/linux/pam_dp9ik { }; 27961 27959 27962 27960 pam_gnupg = callPackage ../os-specific/linux/pam_gnupg { }; 27963 27961
+2
pkgs/top-level/python-aliases.nix
··· 210 210 pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08 211 211 pushbullet = pushbullet-py; # Added 2022-10-15 212 212 Pweave = pweave; # added 2023-02-19 213 + py-radix = throw "py-radix has been removed, since it abandoned"; # added 2023-07-07 213 214 pyalmond = throw "pyalmond has been removed, since its API endpoints have been shutdown"; # added 2023-02-02 214 215 pyblake2 = throw "pyblake2 is deprecated in favor of hashlib"; # added 2023-04-23 215 216 pyblock = throw "pyblock has been removed, since it is abandoned and broken"; # added 2023-06-20 ··· 341 340 unittest2 = throw "unittest2 has been removed as it's a backport of unittest that's unmaintained and not needed beyond Python 3.4."; # added 2022-12-01 342 341 uproot3 = throw "uproot3 has been removed, use uproot instead"; # added 2022-12-13 343 342 uproot3-methods = throw "uproot3-methods has been removed"; # added 2022-12-13 343 + validictory = throw "validictory has been removed, since it abandoned"; # added 2023-07-07 344 344 virtual-display = throw "virtual-display has been renamed to PyVirtualDisplay"; # added 2023-01-07 345 345 Wand = wand; # added 2022-11-13 346 346 wasm = throw "wasm has been removed because it no longer builds and is unmaintained"; # added 2023-05-20
-4
pkgs/top-level/python-packages.nix
··· 9388 9388 9389 9389 pyradios = callPackage ../development/python-modules/pyradios { }; 9390 9390 9391 - py-radix = callPackage ../development/python-modules/py-radix { }; 9392 - 9393 9391 pyrainbird = callPackage ../development/python-modules/pyrainbird { }; 9394 9392 9395 9393 pyramid_beaker = callPackage ../development/python-modules/pyramid_beaker { }; ··· 13006 13008 validate-email = callPackage ../development/python-modules/validate-email { }; 13007 13009 13008 13010 validators = callPackage ../development/python-modules/validators { }; 13009 - 13010 - validictory = callPackage ../development/python-modules/validictory { }; 13011 13011 13012 13012 validobj = callPackage ../development/python-modules/validobj { }; 13013 13013