Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
6ef7c237 965c8e08

+512 -279
+6
maintainers/maintainer-list.nix
··· 9197 9197 fingerprint = "0EC3 FA89 EFBA B421 F82E 40B0 2567 6BCB FFAD 76B1"; 9198 9198 }]; 9199 9199 }; 9200 + sophrosyne = { 9201 + email = "joshuaortiz@tutanota.com"; 9202 + github = "sophrosyne97"; 9203 + githubId = 53029739; 9204 + name = "Joshua Ortiz"; 9205 + }; 9200 9206 sorki = { 9201 9207 email = "srk@48.io"; 9202 9208 github = "sorki";
+2 -2
nixos/modules/services/networking/mxisd.nix
··· 41 41 42 42 package = mkOption { 43 43 type = types.package; 44 - default = pkgs.mxisd; 45 - defaultText = "pkgs.mxisd"; 44 + default = pkgs.ma1sd; 45 + defaultText = "pkgs.ma1sd"; 46 46 description = "The mxisd/ma1sd package to use"; 47 47 }; 48 48
+9 -1
nixos/modules/services/web-servers/nginx/default.nix
··· 249 249 + optionalString (ssl && vhost.http2) "http2 " 250 250 + optionalString vhost.default "default_server " 251 251 + optionalString (extraParameters != []) (concatStringsSep " " extraParameters) 252 - + ";"; 252 + + ";" 253 + + (if ssl && vhost.http3 then '' 254 + # UDP listener for **QUIC+HTTP/3 255 + listen ${addr}:${toString port} http3 reuseport; 256 + # Advertise that HTTP/3 is available 257 + add_header Alt-Svc 'h3=":443"'; 258 + # Sent when QUIC was used 259 + add_header QUIC-Status $quic; 260 + '' else ""); 253 261 254 262 redirectListen = filter (x: !x.ssl) defaultListen; 255 263
+13
nixos/modules/services/web-servers/nginx/vhost-options.nix
··· 151 151 ''; 152 152 }; 153 153 154 + http3 = mkOption { 155 + type = types.bool; 156 + default = false; 157 + description = '' 158 + Whether to enable HTTP 3. 159 + This requires using <literal>pkgs.nginxQuic</literal> package 160 + which can be achived by setting <literal>services.nginx.package = pkgs.nginxQuic;</literal>. 161 + Note that HTTP 3 support is experimental and 162 + *not* yet recommended for production. 163 + Read more at https://quic.nginx.org/ 164 + ''; 165 + }; 166 + 154 167 root = mkOption { 155 168 type = types.nullOr types.path; 156 169 default = null;
+4 -13
nixos/tests/mxisd.nix
··· 6 6 }; 7 7 8 8 nodes = { 9 - server_mxisd = args : { 9 + server = args : { 10 10 services.mxisd.enable = true; 11 11 services.mxisd.matrix.domain = "example.org"; 12 12 }; 13 - 14 - server_ma1sd = args : { 15 - services.mxisd.enable = true; 16 - services.mxisd.matrix.domain = "example.org"; 17 - services.mxisd.package = pkgs.ma1sd; 18 - }; 19 13 }; 20 14 21 15 testScript = '' 22 16 start_all() 23 - server_mxisd.wait_for_unit("mxisd.service") 24 - server_mxisd.wait_for_open_port(8090) 25 - server_mxisd.succeed("curl -Ssf 'http://127.0.0.1:8090/_matrix/identity/api/v1'") 26 - server_ma1sd.wait_for_unit("mxisd.service") 27 - server_ma1sd.wait_for_open_port(8090) 28 - server_ma1sd.succeed("curl -Ssf 'http://127.0.0.1:8090/_matrix/identity/api/v1'") 17 + server.wait_for_unit("mxisd.service") 18 + server.wait_for_open_port(8090) 19 + server.succeed("curl -Ssf 'http://127.0.0.1:8090/_matrix/identity/api/v1'") 29 20 ''; 30 21 })
+35
pkgs/applications/misc/dwmblocks/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, libX11, patches ? [ ], writeText, conf ? null }: 2 + 3 + stdenv.mkDerivation { 4 + pname = "dwmblocks"; 5 + version = "unstable-2020-12-27"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "torrinfail"; 9 + repo = "dwmblocks"; 10 + rev = "96cbb453e5373c05372fd4bf3faacfa53e409067"; 11 + sha256 = "00lxfxsrvhm60zzqlcwdv7xkqzya69mgpi2mr3ivzbc8s9h8nwqx"; 12 + }; 13 + 14 + buildInputs = [ libX11 ]; 15 + 16 + inherit patches; 17 + 18 + postPatch = 19 + let 20 + configFile = 21 + if lib.isDerivation conf || builtins.isPath conf 22 + then conf else writeText "blocks.def.h" conf; 23 + in 24 + lib.optionalString (conf != null) "cp ${configFile} blocks.def.h"; 25 + 26 + makeFlags = [ "PREFIX=$(out)" ]; 27 + 28 + meta = with lib; { 29 + description = "Modular status bar for dwm written in c"; 30 + homepage = "https://github.com/torrinfail/dwmblocks"; 31 + license = licenses.isc; 32 + maintainers = with maintainers; [ sophrosyne ]; 33 + platforms = platforms.all; 34 + }; 35 + }
-1
pkgs/applications/networking/browsers/firefox/wrapper.nix
··· 263 263 --suffix PATH ':' "$out${browser.execdir or "/bin"}" \ 264 264 --set MOZ_APP_LAUNCHER "${browserName}${nameSuffix}" \ 265 265 --set MOZ_SYSTEM_DIR "$out/lib/mozilla" \ 266 - --set SNAP_NAME "firefox" \ 267 266 --set MOZ_LEGACY_PROFILES 1 \ 268 267 --set MOZ_ALLOW_DOWNGRADE 1 \ 269 268 ${lib.optionalString forceWayland ''
+3 -14
pkgs/applications/networking/instant-messengers/bitlbee-facebook/default.nix
··· 1 - { lib, fetchFromGitHub, fetchpatch, stdenv, bitlbee, autoconf, automake, libtool, pkg-config, json-glib }: 1 + { lib, fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkg-config, json-glib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "bitlbee-facebook"; 5 - version = "1.2.1"; 5 + version = "1.2.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 rev = "v${version}"; 9 9 owner = "bitlbee"; 10 10 repo = "bitlbee-facebook"; 11 - sha256 = "1yjhjhk3jzjip13lq009vlg84lm2lzwhac5jy0aq3vkcz6rp94rc"; 11 + sha256 = "1qiiiq17ybylbhwgbwsvmshb517589r8yy5rsh1rfaylmlcxyy7z"; 12 12 }; 13 - 14 - # TODO: This patch should be included with the next release after v1.2.1 15 - # these lines should be removed when this happens. 16 - patches = [ 17 - (fetchpatch { 18 - name = "FB_ORCA_AGENT_version_bump.patch"; 19 - url = "https://github.com/bitlbee/bitlbee-facebook/commit/49ea312d98b0578b9b2c1ff759e2cfa820a41f4d.patch"; 20 - sha256 = "0nzyyg8pw4f2jcickcpxq7r2la5wgl7q6iz94lhzybrkhss5753d"; 21 - } 22 - ) 23 - ]; 24 13 25 14 nativeBuildInputs = [ autoconf automake libtool pkg-config ]; 26 15
+2 -5
pkgs/applications/version-management/subversion/default.nix
··· 17 17 18 18 let 19 19 20 - common = { version, sha256, extraBuildInputs ? [ ] }: stdenv.mkDerivation (rec { 20 + common = { version, sha256 }: stdenv.mkDerivation (rec { 21 21 inherit version; 22 22 pname = "subversion"; 23 23 ··· 29 29 # Can't do separate $lib and $bin, as libs reference bins 30 30 outputs = [ "out" "dev" "man" ]; 31 31 32 - buildInputs = [ zlib apr aprutil sqlite openssl ] 33 - ++ extraBuildInputs 32 + buildInputs = [ zlib apr aprutil sqlite openssl lz4 utf8proc ] 34 33 ++ lib.optional httpSupport serf 35 34 ++ lib.optional pythonBindings python 36 35 ++ lib.optional perlBindings perl ··· 114 113 subversion_1_10 = common { 115 114 version = "1.10.7"; 116 115 sha256 = "1nhrd8z6c94sc0ryrzpyd98qdn5a5g3x0xv1kdb9da4drrk8y2ww"; 117 - extraBuildInputs = [ lz4 utf8proc ]; 118 116 }; 119 117 120 118 subversion = common { 121 119 version = "1.12.2"; 122 120 sha256 = "0wgpw3kzsiawzqk4y0xgh1z93kllxydgv4lsviim45y5wk4bbl1v"; 123 - extraBuildInputs = [ lz4 utf8proc ]; 124 121 }; 125 122 }
+3
pkgs/build-support/build-fhs-userenv/env.nix
··· 81 81 # compatibility with NixOS 82 82 ln -s /host/etc/static static 83 83 84 + # symlink nix config 85 + ln -s /host/etc/nix nix 86 + 84 87 # symlink some NSS stuff 85 88 ln -s /host/etc/passwd passwd 86 89 ln -s /host/etc/group group
+33
pkgs/data/themes/flat-remix-gtk/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , gtk-engine-murrine 5 + }: 6 + 7 + stdenv.mkDerivation rec { 8 + pname = "flat-remix-gtk"; 9 + version = "20201129"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "daniruiz"; 13 + repo = pname; 14 + rev = version; 15 + hash = "sha256-lAlHRVB/P3A1qWsXQZPZ3uhgctR4FLa+ocUrsbleXJU="; 16 + }; 17 + 18 + dontBuild = true; 19 + 20 + makeFlags = [ "PREFIX=$(out)" ]; 21 + 22 + propagatedUserEnvPkgs = [ 23 + gtk-engine-murrine 24 + ]; 25 + 26 + meta = with lib; { 27 + description = "GTK application theme inspired by material design"; 28 + homepage = "https://drasite.com/flat-remix-gtk"; 29 + license = licenses.gpl3Only; 30 + platforms = platforms.all; 31 + maintainers = [ maintainers.mkg20001 ]; 32 + }; 33 + }
+10 -25
pkgs/desktops/cinnamon/cinnamon-common/default.nix
··· 1 1 { atk 2 - , autoreconfHook 3 2 , cacert 4 3 , fetchpatch 5 4 , dbus ··· 42 41 , pciutils 43 42 , timezonemap 44 43 , libnma 44 + , meson 45 + , ninja 46 + , gst_all_1 45 47 }: 46 48 47 - let 48 - libcroco = callPackage ./libcroco.nix { }; 49 - in 50 49 stdenv.mkDerivation rec { 51 50 pname = "cinnamon-common"; 52 - version = "4.6.1"; 51 + version = "4.8.6"; 53 52 54 53 src = fetchFromGitHub { 55 54 owner = "linuxmint"; 56 55 repo = "cinnamon"; 57 56 rev = version; 58 - sha256 = "149lhg953fa0glm250f76z2jzyaabh97jxiqkjnqvsk6bjk1d0bw"; 57 + hash = "sha256-4DMXQYH1/RjLhgrn55I7Vkk6+gGsR+OVmiwxVHUIyro="; 59 58 }; 60 59 61 60 patches = [ 62 - # remove dbus-glib 63 - (fetchpatch { 64 - url = "https://github.com/linuxmint/cinnamon/commit/ce99760fa15c3de2e095b9a5372eeaca646fbed1.patch"; 65 - sha256 = "0p2sbdi5w7sgblqbgisb6f8lcj1syzq5vlk0ilvwaqayxjylg8gz"; 66 - }) 67 - (fetchpatch { 68 - url = "https://leigh123linux.fedorapeople.org/pub/patches/new_cjs.patch"; 69 - sha256 = "07biv3vkbn3jzijbdrxcw73p8xz2djbsax014mlkvmryrmys0rg4"; 70 - }) 61 + ./use-sane-install-dir.patch 62 + ./libdir.patch 71 63 ]; 72 64 73 65 buildInputs = [ ··· 84 76 glib 85 77 gtk3 86 78 json-glib 87 - libcroco 88 79 libsoup 89 80 libstartup_notification 90 81 libXtst ··· 94 85 polkit 95 86 libxml2 96 87 libgnomekbd 88 + gst_all_1.gstreamer 97 89 98 90 # bindings 99 91 cairo ··· 114 106 115 107 nativeBuildInputs = [ 116 108 gobject-introspection 117 - autoreconfHook 109 + meson 110 + ninja 118 111 wrapGAppsHook 119 112 intltool 120 113 gtk-doc 121 114 ]; 122 115 123 - autoreconfPhase = '' 124 - GTK_DOC_CHECK=false NOCONFIGURE=1 bash ./autogen.sh 125 - ''; 126 - 127 116 configureFlags = [ "--disable-static" "--with-ca-certificates=${cacert}/etc/ssl/certs/ca-bundle.crt" "--with-libxml=${libxml2.dev}/include/libxml2" "--enable-gtk-doc=no" ]; 128 117 129 118 postPatch = '' 130 - substituteInPlace src/Makefile.am \ 131 - --replace "\$(libdir)/muffin" "${muffin}/lib/muffin" 132 - patchShebangs autogen.sh 133 - 134 119 find . -type f -exec sed -i \ 135 120 -e s,/usr/share/cinnamon,$out/share/cinnamon,g \ 136 121 -e s,/usr/share/locale,/run/current-system/sw/share/locale,g \
-33
pkgs/desktops/cinnamon/cinnamon-common/libcroco.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, libxml2, glib, gnome3 }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "libcroco"; 5 - version = "0.6.13"; 6 - 7 - src = fetchurl { 8 - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 - sha256 = "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"; 10 - }; 11 - 12 - outputs = [ "out" "dev" ]; 13 - outputBin = "dev"; 14 - 15 - configureFlags = lib.optional stdenv.isDarwin "--disable-Bsymbolic"; 16 - 17 - nativeBuildInputs = [ pkg-config ]; 18 - buildInputs = [ libxml2 glib ]; 19 - 20 - passthru = { 21 - updateScript = gnome3.updateScript { 22 - packageName = pname; 23 - }; 24 - }; 25 - 26 - meta = with lib; { 27 - description = "GNOME CSS2 parsing and manipulation toolkit"; 28 - homepage = https://gitlab.gnome.org/GNOME/libcroco; 29 - license = licenses.lgpl2; 30 - platforms = platforms.unix; 31 - }; 32 - } 33 -
+25
pkgs/desktops/cinnamon/cinnamon-common/libdir.patch
··· 1 + From 1c99ff9b042d77d97a0841c78fceb7cfbf41aa8b Mon Sep 17 00:00:00 2001 2 + From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= <mkg20001@gmail.com> 3 + Date: Sun, 28 Feb 2021 05:58:09 +0100 4 + Subject: [PATCH] libdir patch 5 + 6 + --- 7 + meson.build | 2 +- 8 + 1 file changed, 1 insertion(+), 1 deletion(-) 9 + 10 + diff --git a/meson.build b/meson.build 11 + index 3c1e9a4f..a77d9b3c 100644 12 + --- a/meson.build 13 + +++ b/meson.build 14 + @@ -14,7 +14,7 @@ includedir = get_option('includedir') 15 + libexecdir = get_option('libexecdir') 16 + desktopdir = join_paths(datadir, 'applications') 17 + schemadir = join_paths(datadir, 'glib-2.0', 'schemas') 18 + -pkglibdir = join_paths(libdir, meson.project_name().to_lower()) 19 + +pkglibdir = libdir 20 + servicedir = join_paths(datadir, 'dbus-1', 'services') 21 + pkgdatadir = join_paths(datadir, meson.project_name().to_lower()) 22 + po_dir = join_paths(meson.source_root(), 'po') 23 + -- 24 + 2.30.0 25 +
+33
pkgs/desktops/cinnamon/cinnamon-common/use-sane-install-dir.patch
··· 1 + From f7e802959d7a5c217ed574cab30404fc769f174d Mon Sep 17 00:00:00 2001 2 + From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= <mkg20001@gmail.com> 3 + Date: Sat, 6 Feb 2021 14:26:26 +0100 4 + Subject: [PATCH] use sane install dir 5 + 6 + --- 7 + meson.build | 10 ++++++++-- 8 + 1 file changed, 8 insertions(+), 2 deletions(-) 9 + 10 + diff --git a/meson.build b/meson.build 11 + index bd803f20..3c1e9a4f 100644 12 + --- a/meson.build 13 + +++ b/meson.build 14 + @@ -127,8 +127,14 @@ configure_file( 15 + ) 16 + 17 + install_subdir( 18 + - 'files', 19 + - install_dir: '/', 20 + + 'files/usr', 21 + + install_dir: get_option('prefix'), 22 + + strip_directory: true, 23 + +) 24 + + 25 + +install_subdir( 26 + + 'files/etc', 27 + + install_dir: join_paths(get_option('prefix'), 'etc'), 28 + strip_directory: true, 29 + ) 30 + 31 + -- 32 + 2.30.0 33 +
+14 -15
pkgs/desktops/cinnamon/cinnamon-control-center/default.nix
··· 1 1 { lib, stdenv 2 2 , fetchFromGitHub 3 3 , pkg-config 4 - , autoreconfHook 5 4 , glib 6 5 , gettext 7 6 , cinnamon-desktop 8 - , intltool 9 7 , gtk3 10 8 , libnotify 11 9 , libxml2 ··· 20 18 , libxklavier 21 19 , networkmanager 22 20 , libwacom 23 - , libtool 21 + , gnome3 24 22 , wrapGAppsHook 25 23 , tzdata 26 24 , glibc ··· 28 26 , modemmanager 29 27 , xorg 30 28 , gdk-pixbuf 29 + , meson 30 + , ninja 31 31 }: 32 32 33 33 stdenv.mkDerivation rec { 34 34 pname = "cinnamon-control-center"; 35 - version = "4.6.2"; 35 + version = "4.8.2"; 36 36 37 37 src = fetchFromGitHub { 38 38 owner = "linuxmint"; 39 39 repo = pname; 40 40 rev = version; 41 - sha256 = "0fbgi2r2xikpa04k431qq9akngi9akyflq1kcks8f095qs5gsana"; 41 + hash = "sha256-vALThDY0uN9bV7b1fga3MK7b2/l5uL33+B2x6oSLPRE="; 42 42 }; 43 43 44 44 buildInputs = [ ··· 70 70 ./panels/datetime/tz.h:34:# define TZ_DATA_FILE "/usr/share/lib/zoneinfo/tab/zone_sun.tab" */ 71 71 72 72 postPatch = '' 73 - patchShebangs ./autogen.sh 74 73 sed 's|TZ_DIR "/usr/share/zoneinfo/"|TZ_DIR "${tzdata}/share/zoneinfo/"|g' -i ./panels/datetime/test-timezone.c 75 74 sed 's|TZ_DATA_FILE "/usr/share/zoneinfo/zone.tab"|TZ_DATA_FILE "${tzdata}/share/zoneinfo/zone.tab"|g' -i ./panels/datetime/tz.h 76 75 sed 's|"/usr/share/i18n/locales/"|"${glibc}/share/i18n/locales/"|g' -i panels/datetime/test-endianess.c 77 - ''; 78 - 79 - autoreconfPhase = '' 80 - NOCONFIGURE=1 bash ./autogen.sh 81 76 ''; 82 77 83 78 # it needs to have access to that file, otherwise we can't run tests after build ··· 87 82 ln -s $PWD/panels/datetime $out/share/cinnamon-control-center/ 88 83 ''; 89 84 85 + mesonFlags = [ 86 + "-Dc_args=-I${glib.dev}/include/gio-unix-2.0" 87 + ]; 88 + 90 89 preInstall = '' 91 - rm -rfv $out 90 + rm -r $out 92 91 ''; 93 92 94 - doCheck = true; 93 + # the only test is wacom-calibrator and it seems to need an xserver and prob more services aswell 94 + doCheck = false; 95 95 96 96 nativeBuildInputs = [ 97 97 pkg-config 98 - autoreconfHook 98 + meson 99 + ninja 99 100 wrapGAppsHook 100 101 gettext 101 - intltool 102 - libtool 103 102 ]; 104 103 105 104 meta = with lib; {
+2 -2
pkgs/desktops/cinnamon/cinnamon-desktop/default.nix
··· 17 17 18 18 stdenv.mkDerivation rec { 19 19 pname = "cinnamon-desktop"; 20 - version = "4.6.4"; 20 + version = "4.8.1"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "linuxmint"; 24 24 repo = pname; 25 25 rev = version; 26 - sha256 = "08z5hgc6dwdp9fczm75axwh8q9665iz4y2lxp92xp62r3k0v9fvd"; 26 + hash = "sha256-FLruY1lxzB3iJ/So3jSjrbv9e8VoN/0+U2YDXju/u3E="; 27 27 }; 28 28 29 29 outputs = [ "out" "dev" ];
+2 -2
pkgs/desktops/cinnamon/cinnamon-menus/default.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "cinnamon-menus"; 13 - version = "4.6.1"; 13 + version = "4.8.2"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "linuxmint"; 17 17 repo = pname; 18 18 rev = version; 19 - sha256 = "1qdaql4mknhzvl2qi1pyw4c820lqb7lg07gblh0wzfk4f7h8hddx"; 19 + hash = "sha256-9VSrqCjC8U3js1gqjl5QFctWYECATxN+AdfMdHLxYUY="; 20 20 }; 21 21 22 22 buildInputs = [
+2 -10
pkgs/desktops/cinnamon/cinnamon-screensaver/default.nix
··· 23 23 , xapps 24 24 , xorg 25 25 , iso-flags-png-320x420 26 - , fetchpatch 27 26 }: 28 27 29 28 stdenv.mkDerivation rec { 30 29 pname = "cinnamon-screensaver"; 31 - version = "4.6.0"; 30 + version = "4.8.1"; 32 31 33 32 src = fetchFromGitHub { 34 33 owner = "linuxmint"; 35 34 repo = pname; 36 35 rev = version; 37 - sha256 = "068lh6wcmznfyvny7hx83q2rf4j96b6mv4a5v79y02k9110m7bsm"; 36 + hash = "sha256-gvSGxSYKnRqJhj2unRYRHp6qGw/O9SxKPzhw5xjCSSQ="; 38 37 }; 39 - 40 - patches = [ 41 - (fetchpatch { 42 - url = "https://github.com/linuxmint/cinnamon-screensaver/pull/349/commits/4a9e5715f406bf2ca1aacddd5fd8f830102a423c.patch"; 43 - sha256 = "0fmkmskry4c88zcw0i8vsmh6q14k3m937hqi77p5xi1p93imr46y"; 44 - }) 45 - ]; 46 38 47 39 nativeBuildInputs = [ 48 40 pkg-config
+2 -2
pkgs/desktops/cinnamon/cinnamon-session/default.nix
··· 27 27 28 28 stdenv.mkDerivation rec { 29 29 pname = "cinnamon-session"; 30 - version = "4.6.2"; 30 + version = "4.8.0"; 31 31 32 32 src = fetchFromGitHub { 33 33 owner = "linuxmint"; 34 34 repo = pname; 35 35 rev = version; 36 - sha256 = "133vpgs0dqr16pvx5wyxhfcargn9wl14z0q99m2pn93hf6zycmsv"; 36 + hash = "sha256-lrwR8VSdPzHoc9MeBEQPbVfWNhPZDJ2wYizKSVpobmk="; 37 37 }; 38 38 39 39 patches = [
+15 -14
pkgs/desktops/cinnamon/cinnamon-settings-daemon/csd-backlight-helper-fix.patch
··· 1 - From 6d71bf9764fb81d437678a603826167850bbf453 Mon Sep 17 00:00:00 2001 1 + From 7fa408ebd72c9f1ff7ff4e9d7f4a811465a8a41b Mon Sep 17 00:00:00 2001 2 2 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= <mkg20001@gmail.com> 3 3 Date: Tue, 21 Jan 2020 03:19:28 +0100 4 4 Subject: [PATCH] fix: use an impure path to csd-backlight-helper to fix ··· 6 6 7 7 --- 8 8 plugins/power/csd-power-manager.c | 4 ++-- 9 - .../org.cinnamon.settings-daemon.plugins.power.policy.in.in | 2 +- 9 + .../org.cinnamon.settings-daemon.plugins.power.policy.in | 2 +- 10 10 2 files changed, 3 insertions(+), 3 deletions(-) 11 11 12 12 diff --git a/plugins/power/csd-power-manager.c b/plugins/power/csd-power-manager.c 13 - index b24c456..212c47e 100755 13 + index 33f4489..84dd98b 100644 14 14 --- a/plugins/power/csd-power-manager.c 15 15 +++ b/plugins/power/csd-power-manager.c 16 - @@ -2519,7 +2519,7 @@ backlight_helper_get_value (const gchar *argument, CsdPowerManager* manager, 16 + @@ -2529,7 +2529,7 @@ backlight_helper_get_value (const gchar *argument, CsdPowerManager* manager, 17 17 #endif 18 - 18 + 19 19 /* get the data */ 20 20 - command = g_strdup_printf (LIBEXECDIR "/csd-backlight-helper --%s %s", 21 21 + command = g_strdup_printf ("/run/current-system/sw/bin/cinnamon-settings-daemon/csd-backlight-helper --%s %s", 22 22 argument, 23 23 manager->priv->backlight_helper_preference_args); 24 24 ret = g_spawn_command_line_sync (command, 25 - @@ -2609,7 +2609,7 @@ backlight_helper_set_value (const gchar *argument, 25 + @@ -2619,7 +2619,7 @@ backlight_helper_set_value (const gchar *argument, 26 26 #endif 27 - 27 + 28 28 /* get the data */ 29 29 - command = g_strdup_printf ("pkexec " LIBEXECDIR "/csd-backlight-helper --%s %i %s", 30 30 + command = g_strdup_printf ("pkexec " "/run/current-system/sw/bin/cinnamon-settings-daemon/csd-backlight-helper --%s %i %s", 31 31 argument, value, 32 32 manager->priv->backlight_helper_preference_args); 33 33 ret = g_spawn_command_line_sync (command, 34 - diff --git a/plugins/power/org.cinnamon.settings-daemon.plugins.power.policy.in.in b/plugins/power/org.cinnamon.settings-daemon.plugins.power.policy.in.in 35 - index 2c44e62..c0a2348 100755 36 - --- a/plugins/power/org.cinnamon.settings-daemon.plugins.power.policy.in.in 37 - +++ b/plugins/power/org.cinnamon.settings-daemon.plugins.power.policy.in.in 34 + diff --git a/plugins/power/org.cinnamon.settings-daemon.plugins.power.policy.in b/plugins/power/org.cinnamon.settings-daemon.plugins.power.policy.in 35 + index 504f017..3569e8c 100644 36 + --- a/plugins/power/org.cinnamon.settings-daemon.plugins.power.policy.in 37 + +++ b/plugins/power/org.cinnamon.settings-daemon.plugins.power.policy.in 38 38 @@ -25,7 +25,7 @@ 39 39 <allow_inactive>no</allow_inactive> 40 40 <allow_active>yes</allow_active> ··· 42 42 - <annotate key="org.freedesktop.policykit.exec.path">@libexecdir@/csd-backlight-helper</annotate> 43 43 + <annotate key="org.freedesktop.policykit.exec.path">/run/current-system/sw/bin/cinnamon-settings-daemon/csd-backlight-helper</annotate> 44 44 </action> 45 + 46 + </policyconfig> 47 + -- 48 + 2.30.0 45 49 46 - </policyconfig> 47 - -- 48 - 2.24.1
+12 -9
pkgs/desktops/cinnamon/cinnamon-settings-daemon/default.nix
··· 1 1 { fetchFromGitHub 2 - , autoconf-archive 3 - , autoreconfHook 4 2 , cinnamon-desktop 5 3 , colord 6 4 , glib 7 5 , gsettings-desktop-schemas 8 6 , gtk3 9 - , intltool 10 7 , lcms2 11 8 , libcanberra-gtk3 12 9 , libgnomekbd ··· 29 26 , tzdata 30 27 , nss 31 28 , libgudev 29 + , meson 30 + , ninja 31 + , dbus 32 + , dbus-glib 32 33 }: 33 34 34 35 stdenv.mkDerivation rec { 35 36 pname = "cinnamon-settings-daemon"; 36 - version = "4.6.4"; 37 + version = "4.8.5"; 37 38 38 39 /* csd-power-manager.c:50:10: fatal error: csd-power-proxy.h: No such file or directory 39 40 #include "csd-power-proxy.h" ··· 48 49 owner = "linuxmint"; 49 50 repo = pname; 50 51 rev = version; 51 - sha256 = "1xcjzjfwnzvkv9jiyw8adsjyhz92almzhyfwb91115774zgqnb7m"; 52 + hash = "sha256-PAWVTjGFs8yKXgNQ2ucDnEDS+n7bp2n3lhGl9gHXfdQ="; 52 53 }; 53 54 54 55 patches = [ 55 56 ./csd-backlight-helper-fix.patch 57 + ./use-sane-install-dir.patch 56 58 ]; 57 59 58 - NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; # TODO: https://github.com/NixOS/nixpkgs/issues/36468 60 + mesonFlags = [ "-Dc_args=-I${glib.dev}/include/gio-unix-2.0" ]; 59 61 60 62 buildInputs = [ 61 63 cinnamon-desktop ··· 85 87 fontconfig 86 88 nss 87 89 libgudev 90 + dbus 91 + dbus-glib 88 92 ]; 89 93 90 94 nativeBuildInputs = [ 91 - autoconf-archive 92 - autoreconfHook 95 + meson 96 + ninja 93 97 wrapGAppsHook 94 - intltool 95 98 pkg-config 96 99 ]; 97 100
+27
pkgs/desktops/cinnamon/cinnamon-settings-daemon/use-sane-install-dir.patch
··· 1 + From be57c01e6595a8e08ecc17de298e30640b532f11 Mon Sep 17 00:00:00 2001 2 + From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= <mkg20001@gmail.com> 3 + Date: Sat, 6 Feb 2021 13:55:03 +0100 4 + Subject: [PATCH] use sane install-dir 5 + 6 + --- 7 + meson.build | 4 ++-- 8 + 1 file changed, 2 insertions(+), 2 deletions(-) 9 + 10 + diff --git a/meson.build b/meson.build 11 + index 0e11d50..54f4637 100644 12 + --- a/meson.build 13 + +++ b/meson.build 14 + @@ -156,8 +156,8 @@ subdir('cinnamon-settings-daemon') 15 + subdir('plugins') 16 + 17 + install_subdir( 18 + - 'files', 19 + - install_dir: '/', 20 + + 'files/usr', 21 + + install_dir: get_option('prefix'), 22 + strip_directory: true, 23 + ) 24 + 25 + -- 26 + 2.30.0 27 +
+4 -3
pkgs/desktops/cinnamon/cinnamon-translations/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , fetchFromGitHub 3 4 , gettext 4 5 }: 5 6 6 7 stdenv.mkDerivation rec { 7 8 pname = "cinnamon-translations"; 8 - version = "4.6.2"; 9 + version = "4.8.3"; 9 10 10 11 src = fetchFromGitHub { 11 12 owner = "linuxmint"; 12 13 repo = pname; 13 14 rev = version; 14 - sha256 = "0zaghha62ibhg3rir6mrfy1z3v7p7v83b6glhmj9s51nxd86fyv6"; 15 + hash = "sha256-o/JFfwloXLUOy9YQzHtMCuzK7yBp/G43VS/RguxiTPY="; 15 16 }; 16 17 17 18 nativeBuildInputs = [
+6 -5
pkgs/desktops/cinnamon/cjs/default.nix
··· 2 2 , fetchFromGitHub 3 3 , gobject-introspection 4 4 , pkg-config 5 - , lib, stdenv 5 + , lib 6 + , stdenv 6 7 , wrapGAppsHook 7 8 , python3 8 9 , cairo ··· 27 28 }: 28 29 29 30 stdenv.mkDerivation rec { 30 - pname = "cjs-unstable"; 31 - version = "2020-10-19"; 31 + pname = "cjs"; 32 + version = "4.8.2"; 32 33 33 34 src = fetchFromGitHub { 34 35 owner = "linuxmint"; 35 36 repo = "cjs"; 36 - rev = "befc11adb5ba10681464e6fa81b1a79f108ce61c"; 37 - hash = "sha256-F2t8uKV2r29NxX2+3mYp5x1bug2lwihJZTK1dSS8rPg="; 37 + rev = version; 38 + hash = "sha256-6+zlWL0DmyP+RFp1ECA4XGbgYUlsMqqyTd6z46w99Ug="; 38 39 }; 39 40 40 41 outputs = [ "out" "dev" ];
+2 -2
pkgs/desktops/cinnamon/muffin/default.nix
··· 35 35 36 36 stdenv.mkDerivation rec { 37 37 pname = "muffin"; 38 - version = "4.6.3"; 38 + version = "4.8.1"; 39 39 40 40 src = fetchFromGitHub { 41 41 owner = "linuxmint"; 42 42 repo = pname; 43 43 rev = version; 44 - sha256 = "1p8irzf20wari1id5rfx5sypywih1jsrmn0f83zlyhc5fxg02r5p"; 44 + hash = "sha256-zRW+hnoaKKTe4zIJpY1D0Ahc8k5zRbvYBF5Y4vZ6Rbs="; 45 45 }; 46 46 47 47 buildInputs = [
+2 -2
pkgs/desktops/cinnamon/nemo/default.nix
··· 20 20 21 21 stdenv.mkDerivation rec { 22 22 pname = "nemo"; 23 - version = "4.6.5"; 23 + version = "4.8.4"; 24 24 25 25 # TODO: add plugins support (see https://github.com/NixOS/nixpkgs/issues/78327) 26 26 ··· 28 28 owner = "linuxmint"; 29 29 repo = pname; 30 30 rev = version; 31 - sha256 = "04rgdph9pxdj5wzzv2i0pgyhg3s74nh9jf1ry9z6v5bvv222ili4"; 31 + hash = "sha256-OOPjxYrYUd1PIRxRgHwYbm7ennmAChbXqcM8MEPKXO0="; 32 32 }; 33 33 34 34 outputs = [ "out" "dev" ];
-1
pkgs/desktops/cinnamon/warpinator/default.nix
··· 17 17 version = "1.0.8"; 18 18 19 19 format = "other"; 20 - doCheck = false; 21 20 22 21 src = fetchFromGitHub { 23 22 owner = "linuxmint";
+1
pkgs/development/compilers/gcc/common/configure-flags.nix
··· 176 176 177 177 # Platform-specific flags 178 178 ++ lib.optional (targetPlatform == hostPlatform && targetPlatform.isx86_32) "--with-arch=${stdenv.hostPlatform.parsed.cpu.name}" 179 + ++ lib.optional targetPlatform.isNetBSD "--disable-libssp" # Provided by libc. 179 180 ++ lib.optionals hostPlatform.isSunOS [ 180 181 "--enable-long-long" "--enable-libssp" "--enable-threads=posix" "--disable-nls" "--enable-__cxa_atexit" 181 182 # On Illumos/Solaris GNU as is preferred
+10 -1
pkgs/development/compilers/haxe/default.nix
··· 13 13 sha 14 14 dune_2 15 15 luv 16 - ocaml_extlib 16 + (if lib.versionAtLeast version "4.2" 17 + then ocaml_extlib else ocaml_extlib-1-7-7) 17 18 ] else with ocaml-ng.ocamlPackages_4_05; [ 18 19 ocaml 19 20 camlp4 ··· 124 125 ${defaultPatch} 125 126 sed -i -re 's!(let +prefix_path += +).*( +in)!\1"'"$out/"'"\2!' src/main.ml 126 127 ''; 128 + }; 129 + haxe_4_0 = generic { 130 + version = "4.0.5"; 131 + sha256 = "0f534pchdx0m057ixnk07ab4s518ica958pvpd0vfjsrxg5yjkqa"; 132 + }; 133 + haxe_4_1 = generic { 134 + version = "4.1.5"; 135 + sha256 = "0rns6d28qzkbai6yyws08yzbyvxfn848nj0fsji7chdi0y7pzzj0"; 127 136 }; 128 137 haxe_4_2 = generic { 129 138 version = "4.2.1";
+25 -8
pkgs/development/libraries/boringssl/default.nix
··· 1 - { lib, stdenv, fetchgit, cmake, perl, go }: 1 + { lib 2 + , stdenv 3 + , fetchgit 4 + , cmake 5 + , ninja 6 + , perl 7 + , buildGoModule 8 + }: 2 9 3 10 # reference: https://boringssl.googlesource.com/boringssl/+/2661/BUILDING.md 4 - stdenv.mkDerivation { 11 + buildGoModule { 5 12 pname = "boringssl"; 6 - version = "2019-12-04"; 13 + version = "2021-04-18"; 7 14 8 15 src = fetchgit { 9 16 url = "https://boringssl.googlesource.com/boringssl"; 10 - rev = "243b5cc9e33979ae2afa79eaa4e4c8d59db161d4"; 11 - sha256 = "1ak27dln0zqy2vj4llqsb99g03sk0sg25wlp09b58cymrh3gccvl"; 17 + rev = "468cde90ca58421d63f4dfeaebcf8bb3fccb4127"; 18 + sha256 = "0gaqcbvp6r5fq265mckmg0i0rjab0bhxkxcvfxp3ar5dm7q88w39"; 12 19 }; 13 20 14 - nativeBuildInputs = [ cmake perl go ]; 21 + nativeBuildInputs = [ cmake ninja perl ]; 15 22 16 - makeFlags = [ "GOCACHE=$(TMPDIR)/go-cache" ]; 23 + vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; 24 + 25 + # hack to get both go and cmake configure phase 26 + # (if we use postConfigure then cmake will loop runHook postConfigure) 27 + preBuild = '' 28 + cmakeConfigurePhase 29 + ''; 30 + 31 + buildPhase = '' 32 + ninjaBuildPhase 33 + ''; 17 34 18 35 # CMAKE_OSX_ARCHITECTURES is set to x86_64 by Nix, but it confuses boringssl on aarch64-linux. 19 - cmakeFlags = lib.optionals (stdenv.isLinux) [ "-DCMAKE_OSX_ARCHITECTURES=" ]; 36 + cmakeFlags = [ "-GNinja" ] ++ lib.optionals (stdenv.isLinux) [ "-DCMAKE_OSX_ARCHITECTURES=" ]; 20 37 21 38 installPhase = '' 22 39 mkdir -p $bin/bin $out/include $out/lib
+4 -4
pkgs/development/libraries/mpir/default.nix
··· 7 7 nativeBuildInputs = [ m4 which yasm ]; 8 8 9 9 src = fetchurl { 10 - url = "http://mpir.org/mpir-${version}.tar.bz2"; 10 + url = "https://mpir.org/mpir-${version}.tar.bz2"; 11 11 sha256 = "1fvmhrqdjs925hzr2i8bszm50h00gwsh17p2kn2pi51zrxck9xjj"; 12 12 }; 13 13 14 - configureFlags = [ "--enable-cxx" ]; 14 + configureFlags = [ "--enable-cxx" "--enable-fat" ]; 15 15 16 16 meta = { 17 17 inherit version; ··· 19 19 license = lib.licenses.lgpl3Plus; 20 20 maintainers = [lib.maintainers.raskin]; 21 21 platforms = lib.platforms.unix; 22 - downloadPage = "http://mpir.org/downloads.html"; 23 - homepage = "http://mpir.org/"; 22 + downloadPage = "https://mpir.org/downloads.html"; 23 + homepage = "https://mpir.org/"; 24 24 updateWalker = true; 25 25 }; 26 26 }
+11
pkgs/development/ocaml-modules/extlib/1.7.7.nix
··· 1 + # Older version of extlib for Haxe 4.0 and 4.1. 2 + # May be replaceable by the next extlib + extlib-base64 release. 3 + { fetchurl, ocaml_extlib }: 4 + 5 + ocaml_extlib.overrideAttrs (_: rec { 6 + version = "1.7.7"; 7 + src = fetchurl { 8 + url = "https://github.com/ygrek/ocaml-extlib/releases/download/${version}/extlib-${version}.tar.gz"; 9 + sha256 = "1sxmzc1mx3kg62j8kbk0dxkx8mkf1rn70h542cjzrziflznap0s1"; 10 + }; 11 + })
+2 -5
pkgs/development/python-modules/aioimaplib/default.nix
··· 8 8 , nose 9 9 , pyopenssl 10 10 , pytestCheckHook 11 - , pythonAtLeast 12 11 , pytz 13 12 , tzlocal 14 13 }: 15 14 16 15 buildPythonPackage rec { 17 16 pname = "aioimaplib"; 18 - version = "0.8.0"; 19 - 20 - disabled = pythonAtLeast "3.9"; 17 + version = "0.9.0"; 21 18 22 19 src = fetchFromGitHub { 23 20 owner = "bamthomas"; 24 21 repo = pname; 25 22 rev = version; 26 - sha256 = "sha256-ume25EwLNB6szokHXonDXHGKVK76CiZYOBXVUf37/x8="; 23 + sha256 = "sha256-xxZAeJDuqrPv4kGgDr0ypFuZJk1zcs/bmgeEzI0jpqY="; 27 24 }; 28 25 29 26 checkInputs = [
+15 -4
pkgs/development/python-modules/pymetno/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "PyMetno"; 12 - version = "0.8.1"; 12 + version = "0.8.2"; 13 + format = "setuptools"; 13 14 14 15 src = fetchFromGitHub { 15 16 repo = pname; 16 17 owner = "Danielhiversen"; 17 18 rev = version; 18 - sha256 = "1jngf0mbn5hn166pqh1ga5snwwvv7n5kv1k9kaksrfibixkvpw6h"; 19 + sha256 = "0b1zm60yqj1mivc3zqw2qm9rqh8cbmx0r58jyyvm3pxzq5cafdg5"; 19 20 }; 20 21 21 - propagatedBuildInputs = [ aiohttp async-timeout pytz xmltodict ]; 22 + propagatedBuildInputs = [ 23 + aiohttp 24 + async-timeout 25 + pytz 26 + xmltodict 27 + ]; 28 + 29 + pythonImportsCheck = [ 30 + "metno" 31 + ]; 22 32 23 - pythonImportsCheck = [ "metno"]; 33 + # no tests 34 + doCheck = false; 24 35 25 36 meta = with lib; { 26 37 description = "A library to communicate with the met.no api";
+6 -5
pkgs/development/python-modules/slob/default.nix
··· 8 8 9 9 buildPythonPackage { 10 10 pname = "slob"; 11 - version = "unstable-2016-11-03"; 11 + version = "unstable-2020-06-26"; 12 12 disabled = !isPy3k; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "itkach"; 16 16 repo = "slob"; 17 - rev = "d1ed71e4778729ecdfc2fe27ed783689a220a6cd"; 18 - sha256 = "1r510s4r124s121wwdm9qgap6zivlqqxrhxljz8nx0kv0cdyypi5"; 17 + rev = "018588b59999c5c0eb42d6517fdb84036f3880cb"; 18 + sha256 = "01195hphjnlcvgykw143rf06s6y955sjc1r825a58vhjx7hj54zh"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ PyICU ]; ··· 24 24 ${python.interpreter} -m unittest slob 25 25 ''; 26 26 27 + pythonImportsCheck = [ "slob" ]; 28 + 27 29 meta = with lib; { 28 30 homepage = "https://github.com/itkach/slob/"; 29 31 description = "Reference implementation of the slob (sorted list of blobs) format"; 30 - license = licenses.gpl3; 32 + license = licenses.gpl3Only; 31 33 }; 32 - 33 34 }
+2 -2
pkgs/development/tools/gops/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gops"; 5 - version = "0.3.17"; 5 + version = "0.3.18"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "google"; 9 9 repo = "gops"; 10 10 rev = "v${version}"; 11 - sha256 = "1l0k1v2wwwdrwwznrdq2ivbrl5z3hxa89xm89jlaglkd7jjg74zk"; 11 + sha256 = "0534jyravpsj73lgdmw6fns1qaqiw401jlfk04wa0as5sv09rfhy"; 12 12 }; 13 13 14 14 vendorSha256 = null;
+2 -2
pkgs/misc/screensavers/multilockscreen/default.nix
··· 16 16 in 17 17 stdenv.mkDerivation rec { 18 18 pname = "multilockscreen"; 19 - version = "1.0.0"; 19 + version = "1.1.0"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "jeffmhubbard"; 23 23 repo = pname; 24 24 rev = "v${version}"; 25 - sha256 = "0gmnrq7ibbhiwsn7mfi2r71fwm6nvhiwf4wsyz44cscm474z83p0"; 25 + sha256 = "1vdai1ymkzlkh5l69s8zpyj2klzm8zyak00vd4p7lcldxfj861ig"; 26 26 }; 27 27 28 28 nativeBuildInputs = [ makeWrapper ];
-1
pkgs/os-specific/linux/kernel/common-config.nix
··· 710 710 MD = yes; # Device mapper (RAID, LVM, etc.) 711 711 712 712 # Enable initrd support. 713 - BLK_DEV_RAM = yes; 714 713 BLK_DEV_INITRD = yes; 715 714 716 715 PM_TRACE_RTC = no; # Disable some expensive (?) features.
+2 -2
pkgs/os-specific/linux/kernel/linux-lqx.nix
··· 1 1 { lib, fetchFromGitHub, buildLinux, linux_zen, ... } @ args: 2 2 3 3 let 4 - version = "5.11.14"; 4 + version = "5.11.15"; 5 5 suffix = "lqx1"; 6 6 in 7 7 ··· 14 14 owner = "zen-kernel"; 15 15 repo = "zen-kernel"; 16 16 rev = "v${version}-${suffix}"; 17 - sha256 = "0kgr6c3mpc9nmg4m2qfk58bji95paq3jwqsyl3h55xk40gshka32"; 17 + sha256 = "1dwibknj4q8cd3mim679mrb4j8yi7p4q9qjcb4rwvw0yzgxmz3lv"; 18 18 }; 19 19 20 20 extraMeta = {
+2 -2
pkgs/os-specific/linux/kernel/linux-zen.nix
··· 1 1 { lib, fetchFromGitHub, buildLinux, ... } @ args: 2 2 3 3 let 4 - version = "5.11.14"; 4 + version = "5.11.15"; 5 5 suffix = "zen1"; 6 6 in 7 7 ··· 14 14 owner = "zen-kernel"; 15 15 repo = "zen-kernel"; 16 16 rev = "v${version}-${suffix}"; 17 - sha256 = "1n49h9s3jyvrdy662b6j9xjbmhxxdczk980vrlgs09fg5ny0k59a"; 17 + sha256 = "0n9wm0lpwkqd79112k03lxp4hc898nvs2jjw3hxzggn5wk4i2dz9"; 18 18 }; 19 19 20 20 extraMeta = {
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 2 2 # Do not edit! 3 3 4 4 { 5 - version = "2021.4.5"; 5 + version = "2021.4.6"; 6 6 components = { 7 7 "abode" = ps: with ps; [ abodepy ]; 8 8 "accuweather" = ps: with ps; [ accuweather ];
+4 -3
pkgs/servers/home-assistant/default.nix
··· 23 23 # Override the version of some packages pinned in Home Assistant's setup.py 24 24 25 25 # Pinned due to API changes in astral>=2.0, required by the sun/moon plugins 26 - # https://github.com/home-assistant/core/issues/36636 26 + # https://github.com/home-assistant/core/pull/48573; Remove >= 2021.5 27 27 (mkOverride "astral" "1.10.1" 28 28 "d2a67243c4503131c856cafb1b1276de52a86e5b8a1d507b7e08bee51cb67bf1") 29 29 ··· 51 51 "sha256-8bxn27DU1XUQUxQFJklEge29DHx1DMu7pJG4hVE1jDU=") 52 52 53 53 # Pinned due to API changes in pylilterbot>=2021.3.0 54 + # https://github.com/home-assistant/core/pull/48300; Remove >= 2021.5 54 55 (self: super: { 55 56 pylitterbot = super.pylitterbot.overridePythonAttrs (oldAttrs: rec { 56 57 version = "2021.2.8"; ··· 116 117 extraBuildInputs = extraPackages py.pkgs; 117 118 118 119 # Don't forget to run parse-requirements.py after updating 119 - hassVersion = "2021.4.5"; 120 + hassVersion = "2021.4.6"; 120 121 121 122 in with py.pkgs; buildPythonApplication rec { 122 123 pname = "homeassistant"; ··· 135 136 owner = "home-assistant"; 136 137 repo = "core"; 137 138 rev = version; 138 - sha256 = "106d1n9z8pfcnqm594vkhczrrrjap801w6fdr0psv5vhdxrqh4sj"; 139 + sha256 = "1s1slwcqls2prz9kgyhggs8xi3x7ghwdi33j983kvpg0gva7d2f0"; 139 140 }; 140 141 141 142 # leave this in, so users don't have to constantly update their downstream patch handling
+21
pkgs/servers/http/nginx/quic.nix
··· 1 + { callPackage, fetchhg, boringssl, ... } @ args: 2 + 3 + callPackage ./generic.nix args { 4 + src = fetchhg { 5 + url = "https://hg.nginx.org/nginx-quic"; 6 + rev = "47a43b011dec"; # branch=quic 7 + sha256 = "1d4d1v4zbnf5qlfl79pi7sficn1h7zm6kk7llm24yyhlsvssz10x"; 8 + }; 9 + 10 + preConfigure = '' 11 + ln -s auto/configure configure 12 + ''; 13 + 14 + configureFlags = [ 15 + "--with-http_v3_module" 16 + "--with-http_quic_module" 17 + "--with-stream_quic_module" 18 + ]; 19 + 20 + version = "quic"; 21 + }
-70
pkgs/servers/mxisd/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, jre, git, gradle_6, perl, makeWrapper }: 2 - 3 - let 4 - name = "mxisd-${version}"; 5 - version = "1.4.6"; 6 - rev = "6e9601cb3a18281857c3cefd20ec773023b577d2"; 7 - 8 - src = fetchFromGitHub { 9 - inherit rev; 10 - owner = "kamax-matrix"; 11 - repo = "mxisd"; 12 - sha256 = "07gpdgbz281506p2431qn92bvdza6ap3jfq5b7xdm7nwrry80pzd"; 13 - }; 14 - 15 - 16 - deps = stdenv.mkDerivation { 17 - name = "${name}-deps"; 18 - inherit src; 19 - nativeBuildInputs = [ gradle_6 perl git ]; 20 - 21 - buildPhase = '' 22 - export MXISD_BUILD_VERSION=${rev} 23 - export GRADLE_USER_HOME=$(mktemp -d); 24 - gradle --no-daemon build -x test 25 - ''; 26 - 27 - # perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar) 28 - installPhase = '' 29 - find $GRADLE_USER_HOME/caches/modules-2 -type f -regex '.*\.\(jar\|pom\)' \ 30 - | perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \ 31 - | sh 32 - ''; 33 - 34 - dontStrip = true; 35 - 36 - outputHashAlgo = "sha256"; 37 - outputHashMode = "recursive"; 38 - outputHash = "0z9f3w7lfdvbk26kyckpbgas7mi98rjghck9w0kvx3r7k48p5vnv"; 39 - }; 40 - 41 - in 42 - stdenv.mkDerivation { 43 - inherit name src version; 44 - nativeBuildInputs = [ gradle_6 perl makeWrapper ]; 45 - buildInputs = [ jre ]; 46 - 47 - patches = [ ./0001-gradle.patch ]; 48 - 49 - buildPhase = '' 50 - export MXISD_BUILD_VERSION=${rev} 51 - export GRADLE_USER_HOME=$(mktemp -d) 52 - 53 - sed -ie "s#REPLACE#mavenLocal(); maven { url '${deps}' }#g" build.gradle 54 - gradle --offline --no-daemon build -x test 55 - ''; 56 - 57 - installPhase = '' 58 - install -D build/libs/source.jar $out/lib/mxisd.jar 59 - makeWrapper ${jre}/bin/java $out/bin/mxisd --add-flags "-jar $out/lib/mxisd.jar" 60 - ''; 61 - 62 - meta = with lib; { 63 - description = "a federated matrix identity server"; 64 - homepage = "https://github.com/kamax-matrix/mxisd"; 65 - license = licenses.agpl3; 66 - maintainers = with maintainers; [ mguentner ]; 67 - platforms = platforms.all; 68 - }; 69 - 70 - }
+1 -1
pkgs/stdenv/generic/default.nix
··· 139 139 140 140 # Utility flags to test the type of platform. 141 141 inherit (hostPlatform) 142 - isDarwin isLinux isSunOS isCygwin isFreeBSD isOpenBSD 142 + isDarwin isLinux isSunOS isCygwin isBSD isFreeBSD isOpenBSD 143 143 isi686 isx86_32 isx86_64 144 144 is32bit is64bit 145 145 isAarch32 isAarch64 isMips isBigEndian;
+46
pkgs/tools/admin/cjdns-tools/default.nix
··· 1 + { stdenv 2 + , cjdns 3 + , nodejs 4 + , makeWrapper 5 + , lib 6 + }: 7 + 8 + stdenv.mkDerivation { 9 + pname = "cjdns-tools"; 10 + version = cjdns.version; 11 + 12 + src = cjdns.src; 13 + 14 + buildInputs = [ 15 + nodejs 16 + ]; 17 + 18 + nativeBuildInputs = [ 19 + makeWrapper 20 + ]; 21 + 22 + buildPhase = '' 23 + patchShebangs tools 24 + 25 + sed -e "s|'password': 'NONE'|'password': Fs.readFileSync('/etc/cjdns.keys').toString().split('\\\\n').map(v => v.split('=')).filter(v => v[0] === 'CJDNS_ADMIN_PASSWORD').map(v => v[1])[0]|g" \ 26 + -i tools/lib/cjdnsadmin/cjdnsadmin.js 27 + ''; 28 + 29 + installPhase = '' 30 + mkdir -p $out/bin 31 + cat ${./wrapper.sh} | sed "s|@@out@@|$out|g" > $out/bin/cjdns-tools 32 + chmod +x $out/bin/cjdns-tools 33 + 34 + cp -r tools $out/tools 35 + find $out/tools -maxdepth 1 -type f -exec chmod -v a+x {} \; 36 + cp -r node_modules $out/node_modules 37 + ''; 38 + 39 + meta = with lib; { 40 + homepage = "https://github.com/cjdelisle/cjdns"; 41 + description = "Tools for cjdns managment"; 42 + license = licenses.gpl3Plus; 43 + maintainers = with maintainers; [ mkg20001 ]; 44 + platforms = platforms.linux; 45 + }; 46 + }
+29
pkgs/tools/admin/cjdns-tools/wrapper.sh
··· 1 + #!/usr/bin/env bash 2 + 3 + export PATH="@@out@@/tools:$PATH" 4 + 5 + set -eo pipefail 6 + 7 + if ! cat /etc/cjdns.keys >/dev/null 2>&1; then 8 + echo "ERROR: No permission to read /etc/cjdns.keys (use sudo)" >&2 9 + exit 1 10 + fi 11 + 12 + if [[ -z $1 ]]; then 13 + echo "Cjdns admin" 14 + 15 + echo "Usage: $0 <command> <args..>" 16 + 17 + echo 18 + echo "Commands:" $(find @@out@@/tools -maxdepth 1 -type f | sed -r "s|.+/||g") 19 + 20 + _sh=$(which sh) 21 + PATH="@@out@@/tools" PS1="cjdns\$ " "$_sh" 22 + else 23 + if [[ ! -e @@out@@/tools/$1 ]]; then 24 + echo "ERROR: '$1' is not a valid tool" >&2 25 + exit 2 26 + else 27 + "$@" 28 + fi 29 + fi
+1 -1
pkgs/tools/misc/ffsend/default.nix
··· 7 7 }: 8 8 9 9 let 10 - usesX11 = stdenv.isLinux || stdenv.hostPlatform.isBSD; 10 + usesX11 = stdenv.isLinux || stdenv.isBSD; 11 11 in 12 12 13 13 assert (x11Support && usesX11) -> xclip != null || xsel != null;
+3 -3
pkgs/tools/networking/swagger-codegen/default.nix
··· 15 15 sha256 = "04wl5k8k1ziqz7k5w0g7i6zdfn41pbh3k0m8vq434k1886inf8yn"; 16 16 }; 17 17 18 - phases = [ "installPhase" ]; 18 + dontUnpack = true; 19 19 20 20 installPhase = '' 21 - install -D "$src" "$out/share/java/${jarfilename}" 21 + install -D $src $out/share/java/${jarfilename} 22 22 23 - makeWrapper ${jre}/bin/java $out/bin/swagger-codegen \ 23 + makeWrapper ${jre}/bin/java $out/bin/${pname} \ 24 24 --add-flags "-jar $out/share/java/${jarfilename}" 25 25 ''; 26 26
+33
pkgs/tools/networking/swagger-codegen3/default.nix
··· 1 + { lib, stdenv, fetchurl, jre, makeWrapper }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "3.0.25"; 5 + pname = "swagger-codegen"; 6 + 7 + jarfilename = "${pname}-cli-${version}.jar"; 8 + 9 + nativeBuildInputs = [ 10 + makeWrapper 11 + ]; 12 + 13 + src = fetchurl { 14 + url = "https://repo1.maven.org/maven2/io/swagger/codegen/v3/${pname}-cli/${version}/${jarfilename}"; 15 + sha256 = "1rdz45kmmg60fs7ddnla1xq30nah6s6rd18fqbjbjxng8r92brnd"; 16 + }; 17 + 18 + dontUnpack = true; 19 + 20 + installPhase = '' 21 + install -D $src $out/share/java/${jarfilename} 22 + 23 + makeWrapper ${jre}/bin/java $out/bin/${pname}3 \ 24 + --add-flags "-jar $out/share/java/${jarfilename}" 25 + ''; 26 + 27 + meta = with lib; { 28 + description = "Allows generation of API client libraries (SDK generation), server stubs and documentation automatically given an OpenAPI Spec"; 29 + homepage = "https://github.com/swagger-api/swagger-codegen/tree/3.0.0"; 30 + license = licenses.asl20; 31 + maintainers = [ maintainers._1000101 ]; 32 + }; 33 + }
+1
pkgs/top-level/aliases.nix
··· 460 460 mpv-with-scripts = self.wrapMpv self.mpv-unwrapped { }; # added 2020-05-22 461 461 multipath_tools = multipath-tools; # added 2016-01-21 462 462 mupen64plus1_5 = mupen64plus; # added 2016-02-12 463 + mxisd = throw "mxisd has been removed from nixpkgs as it has reached end of life, see https://github.com/kamax-matrix/mxisd/blob/535e0a5b96ab63cb0ddef90f6f42c5866407df95/EOL.md#end-of-life-notice . ma1sd may be a suitable alternative."; # added 2021-04-15 463 464 mysqlWorkbench = mysql-workbench; # added 2017-01-19 464 465 nagiosPluginsOfficial = monitoring-plugins; 465 466 ncat = nmap; # added 2016-01-26
+17 -2
pkgs/top-level/all-packages.nix
··· 3349 3349 }; 3350 3350 3351 3351 cjdns = callPackage ../tools/networking/cjdns { }; 3352 + cjdns-tools = callPackage ../tools/admin/cjdns-tools { }; 3352 3353 3353 3354 cjson = callPackage ../development/libraries/cjson { }; 3354 3355 ··· 6109 6110 6110 6111 mxt-app = callPackage ../misc/mxt-app { }; 6111 6112 6112 - mxisd = callPackage ../servers/mxisd { }; 6113 - 6114 6113 naabu = callPackage ../tools/security/naabu { }; 6115 6114 6116 6115 nagstamon = callPackage ../tools/misc/nagstamon { ··· 8569 8568 8570 8569 swagger-codegen = callPackage ../tools/networking/swagger-codegen { }; 8571 8570 8571 + swagger-codegen3 = callPackage ../tools/networking/swagger-codegen3 { }; 8572 + 8572 8573 swapview = callPackage ../os-specific/linux/swapview/default.nix { }; 8573 8574 8574 8575 swec = callPackage ../tools/networking/swec { }; ··· 10609 10610 10610 10611 inherit (callPackage ../development/compilers/haxe { }) 10611 10612 haxe_4_2 10613 + haxe_4_1 10614 + haxe_4_0 10612 10615 haxe_3_4 10613 10616 haxe_3_2 10614 10617 ; ··· 18685 18688 18686 18689 nginx = nginxStable; 18687 18690 18691 + nginxQuic = callPackage ../servers/http/nginx/quic.nix { 18692 + withPerl = false; 18693 + # We don't use `with` statement here on purpose! 18694 + # See https://github.com/NixOS/nixpkgs/pull/10474/files#r42369334 18695 + modules = [ nginxModules.rtmp nginxModules.dav nginxModules.moreheaders ]; 18696 + # Use latest boringssl to allow http3 support 18697 + openssl = boringssl; 18698 + }; 18699 + 18688 18700 nginxStable = callPackage ../servers/http/nginx/stable.nix { 18689 18701 withPerl = false; 18690 18702 # We don't use `with` statement here on purpose! ··· 21142 21154 flat-remix-icon-theme = callPackage ../data/icons/flat-remix-icon-theme { 21143 21155 inherit (plasma5Packages) breeze-icons; 21144 21156 }; 21157 + flat-remix-gtk = callPackage ../data/themes/flat-remix-gtk { }; 21145 21158 21146 21159 font-awesome_4 = (callPackage ../data/fonts/font-awesome-5 { }).v4; 21147 21160 font-awesome_5 = (callPackage ../data/fonts/font-awesome-5 { }).v5; ··· 22535 22548 dwl = callPackage ../applications/window-managers/dwl { }; 22536 22549 22537 22550 dwm = callPackage ../applications/window-managers/dwm { }; 22551 + 22552 + dwmblocks = callPackage ../applications/misc/dwmblocks { }; 22538 22553 22539 22554 dwm-status = callPackage ../applications/window-managers/dwm/dwm-status.nix { }; 22540 22555
+5 -1
pkgs/top-level/ocaml-packages.nix
··· 1018 1018 1019 1019 ocaml-protoc = callPackage ../development/ocaml-modules/ocaml-protoc { }; 1020 1020 1021 - ocaml_extlib = callPackage ../development/ocaml-modules/extlib { }; 1021 + ocaml_extlib = ocaml_extlib-1-7-8; 1022 + 1023 + ocaml_extlib-1-7-8 = callPackage ../development/ocaml-modules/extlib { }; 1024 + 1025 + ocaml_extlib-1-7-7 = callPackage ../development/ocaml-modules/extlib/1.7.7.nix { }; 1022 1026 1023 1027 ocb-stubblr = callPackage ../development/ocaml-modules/ocb-stubblr { }; 1024 1028