Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub ab59b681 4c60ee3d

+308 -246
+6
maintainers/maintainer-list.nix
··· 5010 githubId = 4085046; 5011 name = "Imuli"; 5012 }; 5013 infinisil = { 5014 email = "contact@infinisil.com"; 5015 matrix = "@infinisil:matrix.org";
··· 5010 githubId = 4085046; 5011 name = "Imuli"; 5012 }; 5013 + ineol = { 5014 + email = "leo.stefanesco@gmail.com"; 5015 + github = "ineol"; 5016 + githubId = 37965; 5017 + name = "Léo Stefanesco"; 5018 + }; 5019 infinisil = { 5020 email = "contact@infinisil.com"; 5021 matrix = "@infinisil:matrix.org";
+35
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
··· 172 </listitem> 173 </itemizedlist> 174 </listitem> 175 </itemizedlist> 176 </section> 177 <section xml:id="sec-release-21.11-new-services">
··· 172 </listitem> 173 </itemizedlist> 174 </listitem> 175 + <listitem> 176 + <para> 177 + ORY Kratos was updated to version 0.8.0-alpha.3 178 + </para> 179 + <itemizedlist spacing="compact"> 180 + <listitem> 181 + <para> 182 + This release requires you to run SQL migrations. Please, 183 + as always, create a backup of your database first! 184 + </para> 185 + </listitem> 186 + <listitem> 187 + <para> 188 + The SDKs are now generated with tag v0alpha2 to reflect 189 + that some signatures have changed in a breaking fashion. 190 + Please update your imports from v0alpha1 to v0alpha2. 191 + </para> 192 + </listitem> 193 + <listitem> 194 + <para> 195 + The SMTPS scheme used in courier config URL with 196 + cleartext/StartTLS/TLS SMTP connection types is now only 197 + supporting implicit TLS. For StartTLS and cleartext SMTP, 198 + please use the SMTP scheme instead. 199 + </para> 200 + </listitem> 201 + <listitem> 202 + <para> 203 + for more details, see 204 + <link xlink:href="https://github.com/ory/kratos/releases/tag/v0.8.0-alpha.1">Release 205 + Notes</link>. 206 + </para> 207 + </listitem> 208 + </itemizedlist> 209 + </listitem> 210 </itemizedlist> 211 </section> 212 <section xml:id="sec-release-21.11-new-services">
+6
nixos/doc/manual/release-notes/rl-2111.section.md
··· 50 - This breaks connections to old SSH daemons as ssh-rsa host keys and ssh-rsa public keys that were signed with SHA-1 are disabled by default now 51 - These can be re-enabled, see the [OpenSSH changelog](https://www.openssh.com/txt/release-8.8) for details 52 53 ## New Services {#sec-release-21.11-new-services} 54 55 - [btrbk](https://digint.ch/btrbk/index.html), a backup tool for btrfs subvolumes, taking advantage of btrfs specific capabilities to create atomic snapshots and transfer them incrementally to your backup locations. Available as [services.btrbk](options.html#opt-services.brtbk.instances).
··· 50 - This breaks connections to old SSH daemons as ssh-rsa host keys and ssh-rsa public keys that were signed with SHA-1 are disabled by default now 51 - These can be re-enabled, see the [OpenSSH changelog](https://www.openssh.com/txt/release-8.8) for details 52 53 + - ORY Kratos was updated to version 0.8.0-alpha.3 54 + - This release requires you to run SQL migrations. Please, as always, create a backup of your database first! 55 + - The SDKs are now generated with tag v0alpha2 to reflect that some signatures have changed in a breaking fashion. Please update your imports from v0alpha1 to v0alpha2. 56 + - The SMTPS scheme used in courier config URL with cleartext/StartTLS/TLS SMTP connection types is now only supporting implicit TLS. For StartTLS and cleartext SMTP, please use the SMTP scheme instead. 57 + - for more details, see [Release Notes](https://github.com/ory/kratos/releases/tag/v0.8.0-alpha.1). 58 + 59 ## New Services {#sec-release-21.11-new-services} 60 61 - [btrbk](https://digint.ch/btrbk/index.html), a backup tool for btrfs subvolumes, taking advantage of btrfs specific capabilities to create atomic snapshots and transfer them incrementally to your backup locations. Available as [services.btrbk](options.html#opt-services.brtbk.instances).
+3 -3
pkgs/applications/misc/kratos/default.nix
··· 2 3 buildGoModule rec { 4 pname = "kratos"; 5 - version = "0.7.6-alpha.1"; 6 7 src = fetchFromGitHub { 8 owner = "ory"; 9 repo = "kratos"; 10 rev = "v${version}"; 11 - sha256 = "1412jckfsm0d5gn7fhjpj212xbsf43sfpd8hgcz3pxc0q37dzfgh"; 12 }; 13 14 - vendorSha256 = "1gcdahs8x26kpwlng3wijqi12yjwj19v413wyyviim4vn1r4c0m7"; 15 16 subPackages = [ "." ]; 17
··· 2 3 buildGoModule rec { 4 pname = "kratos"; 5 + version = "0.8.0-alpha.3"; 6 7 src = fetchFromGitHub { 8 owner = "ory"; 9 repo = "kratos"; 10 rev = "v${version}"; 11 + sha256 = "0ihq2kxjackicxg0hrpmx6bsgz056xbaq3j8py37z2w6mwszarcg"; 12 }; 13 14 + vendorSha256 = "175pckj30cm5xkbvsdvwzarvwapsylyjgj4ss8v5r1sa0fjpj008"; 15 16 subPackages = [ "." ]; 17
+52
pkgs/build-support/build-graalvm-native-image/default.nix
···
··· 1 + { lib, stdenv, graalvmCEPackages, glibcLocales }: 2 + 3 + { name ? "${args.pname}-${args.version}" 4 + # Final executable name 5 + , executable ? args.pname 6 + # JAR used as input for GraalVM derivation, defaults to src 7 + , jar ? args.src 8 + , dontUnpack ? (jar == args.src) 9 + # Default native-image arguments. You probably don't want to set this, 10 + # except in special cases. In most cases, use extraNativeBuildArgs instead 11 + , nativeImageBuildArgs ? [ 12 + "-jar" jar 13 + "-H:CLibraryPath=${lib.getLib graalvm}/lib" 14 + (lib.optionalString stdenv.isDarwin "-H:-CheckToolchain") 15 + "-H:Name=${executable}" 16 + "--verbose" 17 + ] 18 + # Extra arguments to be passed to the native-image 19 + , extraNativeImageBuildArgs ? [ ] 20 + # XMX size of GraalVM during build 21 + , graalvmXmx ? "-J-Xmx6g" 22 + # The GraalVM to use 23 + , graalvm ? graalvmCEPackages.graalvm11-ce 24 + , ... 25 + } @ args: 26 + 27 + stdenv.mkDerivation (args // { 28 + inherit dontUnpack; 29 + 30 + nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ graalvm glibcLocales ]; 31 + 32 + nativeImageBuildArgs = nativeImageBuildArgs ++ extraNativeImageBuildArgs ++ [ graalvmXmx ]; 33 + 34 + buildPhase = args.buildPhase or '' 35 + runHook preBuild 36 + 37 + native-image ''${nativeImageBuildArgs[@]} 38 + 39 + runHook postBuild 40 + ''; 41 + 42 + installPhase = args.installPhase or '' 43 + runHook preInstall 44 + 45 + install -Dm755 ${executable} -t $out/bin 46 + 47 + runHook postInstall 48 + ''; 49 + 50 + meta.platforms = lib.attrByPath [ "meta" "platforms" ] graalvm.meta.platforms args; 51 + meta.mainProgram = lib.attrByPath [ "meta" "mainProgram" ] executable args; 52 + })
+2 -2
pkgs/desktops/pantheon/apps/elementary-code/default.nix
··· 30 31 stdenv.mkDerivation rec { 32 pname = "elementary-code"; 33 - version = "6.0.1"; 34 35 repoName = "code"; 36 ··· 38 owner = "elementary"; 39 repo = repoName; 40 rev = version; 41 - sha256 = "120328pprzqj4587yj54yya9v2mv1rfwylpmxyr5l2qf80cjxi9d"; 42 }; 43 44 passthru = {
··· 30 31 stdenv.mkDerivation rec { 32 pname = "elementary-code"; 33 + version = "6.1.0"; 34 35 repoName = "code"; 36 ··· 38 owner = "elementary"; 39 repo = repoName; 40 rev = version; 41 + sha256 = "sha256-AXmMcPj2hf33G5v3TUg+eZwaKOdVlRvoVXglMJFHRjw="; 42 }; 43 44 passthru = {
+13 -14
pkgs/desktops/pantheon/desktop/gala/default.nix
··· 16 , granite 17 , libgee 18 , bamf 19 - , libcanberra 20 , libcanberra-gtk3 21 , gnome-desktop 22 , mutter 23 , clutter 24 - , elementary-dock 25 , elementary-icon-theme 26 - , elementary-settings-daemon 27 , gnome-settings-daemon 28 , wrapGAppsHook 29 , gexiv2 ··· 31 32 stdenv.mkDerivation rec { 33 pname = "gala"; 34 - version = "6.2.1"; 35 36 src = fetchFromGitHub { 37 owner = "elementary"; 38 repo = pname; 39 rev = version; 40 - sha256 = "1phnhj731kvk8ykmm33ypcxk8fkfny9k6kdapl582qh4d47wcy6f"; 41 }; 42 43 patches = [ 44 ./plugins-dir.patch 45 - # Multitasking view: Don't use smooth scroll events to handle mouse wheel 46 - # Avoid breaking the multitasking view scroll once xf86-input-libinput 1.2.0 lands 47 - # https://github.com/elementary/gala/pull/1266 48 (fetchpatch { 49 - url = "https://github.com/elementary/gala/commit/d2dcfdefdf97c1b49654179a7acd01ebfe017308.patch"; 50 - sha256 = "sha256-2lKrCz3fSjrfKfysuUHzeUjhmMm84K47n882CLpfAyg="; 51 }) 52 ]; 53 ··· 66 buildInputs = [ 67 bamf 68 clutter 69 - elementary-dock 70 elementary-icon-theme 71 - elementary-settings-daemon 72 gnome-settings-daemon 73 gexiv2 74 gnome-desktop 75 granite 76 gtk3 77 - libcanberra 78 libcanberra-gtk3 79 libgee 80 mutter 81 ]; 82 83 postPatch = '' 84 chmod +x build-aux/meson/post_install.py 85 patchShebangs build-aux/meson/post_install.py ··· 91 }; 92 }; 93 94 - meta = with lib; { 95 description = "A window & compositing manager based on mutter and designed by elementary for use with Pantheon"; 96 homepage = "https://github.com/elementary/gala"; 97 license = licenses.gpl3Plus;
··· 16 , granite 17 , libgee 18 , bamf 19 , libcanberra-gtk3 20 , gnome-desktop 21 , mutter 22 , clutter 23 , elementary-icon-theme 24 , gnome-settings-daemon 25 , wrapGAppsHook 26 , gexiv2 ··· 28 29 stdenv.mkDerivation rec { 30 pname = "gala"; 31 + version = "6.3.0"; 32 33 src = fetchFromGitHub { 34 owner = "elementary"; 35 repo = pname; 36 rev = version; 37 + sha256 = "sha256-f/WDm9/+lXgplg9tGpct4f+1cOhKgdypwiDRBhewRGw="; 38 }; 39 40 patches = [ 41 ./plugins-dir.patch 42 + # Session crashes when switching windows with Alt+Tab 43 + # https://github.com/elementary/gala/issues/1312 44 (fetchpatch { 45 + url = "https://github.com/elementary/gala/commit/cc83db8fe398feae9f3e4caa8352b65f0c8c96d4.patch"; 46 + sha256 = "sha256-CPO3EHIzqHAV6ZLHngivCdsD8je8CK/NHznfxSEkhzc="; 47 }) 48 ]; 49 ··· 62 buildInputs = [ 63 bamf 64 clutter 65 elementary-icon-theme 66 gnome-settings-daemon 67 gexiv2 68 gnome-desktop 69 granite 70 gtk3 71 libcanberra-gtk3 72 libgee 73 mutter 74 ]; 75 76 + mesonFlags = [ 77 + # TODO: enable this and remove --builtin flag from session-settings 78 + # https://github.com/NixOS/nixpkgs/pull/140429 79 + "-Dsystemd=false" 80 + ]; 81 + 82 postPatch = '' 83 chmod +x build-aux/meson/post_install.py 84 patchShebangs build-aux/meson/post_install.py ··· 90 }; 91 }; 92 93 + meta = with lib; { 94 description = "A window & compositing manager based on mutter and designed by elementary for use with Pantheon"; 95 homepage = "https://github.com/elementary/gala"; 96 license = licenses.gpl3Plus;
+2 -2
pkgs/desktops/pantheon/desktop/wingpanel-indicators/applications-menu/default.nix
··· 26 27 stdenv.mkDerivation rec { 28 pname = "wingpanel-applications-menu"; 29 - version = "2.9.1"; 30 31 repoName = "applications-menu"; 32 ··· 34 owner = "elementary"; 35 repo = repoName; 36 rev = version; 37 - sha256 = "sha256-Q0ee8S8wWhK0Y16SWfE79Us6QD/oRE5Pxm3o//eb/po="; 38 }; 39 40 patches = [
··· 26 27 stdenv.mkDerivation rec { 28 pname = "wingpanel-applications-menu"; 29 + version = "2.10.1"; 30 31 repoName = "applications-menu"; 32 ··· 34 owner = "elementary"; 35 repo = repoName; 36 rev = version; 37 + sha256 = "sha256-e9InWx5b2DAFK7m7z/oCW7Mw/ymBNz1Sc7vT65kkZ9o="; 38 }; 39 40 patches = [
+5 -1
pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/default.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 , nix-update-script 5 , substituteAll 6 , pantheon ··· 40 }) 41 # Fix incorrect month shown on re-opening indicator if previously changed month 42 # https://github.com/elementary/wingpanel-indicator-datetime/pull/284 43 - ./fix-incorrect-month.patch 44 ]; 45 46 nativeBuildInputs = [
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 + , fetchpatch 5 , nix-update-script 6 , substituteAll 7 , pantheon ··· 41 }) 42 # Fix incorrect month shown on re-opening indicator if previously changed month 43 # https://github.com/elementary/wingpanel-indicator-datetime/pull/284 44 + (fetchpatch { 45 + url = "https://github.com/elementary/wingpanel-indicator-datetime/commit/9b0bed98e09dfdad62f43a95d956d2f53d824e65.patch"; 46 + sha256 = "sha256-MQfz4Uzo59SmmfQNi58OA7CIHHkm2TODQz2fmmIall4="; 47 + }) 48 ]; 49 50 nativeBuildInputs = [
-26
pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/fix-incorrect-month.patch
··· 1 - From 401cb05d7181e69ae8edd347644f2518904e9acb Mon Sep 17 00:00:00 2001 2 - From: Jeremy Paul Wootten <jeremywootten@gmail.com> 3 - Date: Sat, 30 Oct 2021 17:44:12 +0100 4 - Subject: [PATCH] Reset position and relative position after rebuilding 5 - carousel 6 - 7 - --- 8 - src/Widgets/calendar/CalendarView.vala | 4 ++++ 9 - 1 file changed, 4 insertions(+) 10 - 11 - diff --git a/src/Widgets/calendar/CalendarView.vala b/src/Widgets/calendar/CalendarView.vala 12 - index a41b37a4..f946b91c 100644 13 - --- a/src/Widgets/calendar/CalendarView.vala 14 - +++ b/src/Widgets/calendar/CalendarView.vala 15 - @@ -216,7 +216,11 @@ public class DateTime.Widgets.CalendarView : Gtk.Grid { 16 - carousel.add (right_grid); 17 - carousel.scroll_to (start_month_grid); 18 - label.label = calmodel.month_start.format (_("%OB, %Y")); 19 - + 20 - + position = 1; 21 - + rel_postion = 0; 22 - } 23 - + 24 - carousel.no_show_all = false; 25 - } 26 -
···
+16
pkgs/development/coq-modules/coq-record-update/default.nix
···
··· 1 + { lib, mkCoqDerivation, coq, version ? null , paco, coq-ext-lib }: 2 + 3 + with lib; mkCoqDerivation rec { 4 + pname = "coq-record-update"; 5 + owner = "tchajed"; 6 + inherit version; 7 + defaultVersion = with versions; switch coq.coq-version [ 8 + { case = range "8.10" "8.14"; out = "0.3.0"; } 9 + ] null; 10 + release."0.3.0".sha256 = "1ffr21dd6hy19gxnvcd4if2450iksvglvkd6q5713fajd72hmc0z"; 11 + releaseRev = v: "v${v}"; 12 + meta = { 13 + description = "Library to create Coq record update functions"; 14 + maintainers = with maintainers; [ ineol ]; 15 + }; 16 + }
+8 -44
pkgs/development/interpreters/clojure/babashka.nix
··· 1 - { lib, stdenv, fetchurl, graalvm11-ce, glibcLocales, writeScript }: 2 3 - stdenv.mkDerivation rec { 4 pname = "babashka"; 5 version = "0.6.5"; 6 ··· 9 sha256 = "sha256-72D/HzDIxkGD4zTPE9gHf/uFtboLbNnT7CTslSlAqjc="; 10 }; 11 12 - dontUnpack = true; 13 - 14 - nativeBuildInputs = [ graalvm11-ce glibcLocales ]; 15 - 16 - LC_ALL = "en_US.UTF-8"; 17 - BABASHKA_JAR = src; 18 - BABASHKA_BINARY = "bb"; 19 - BABASHKA_XMX = "-J-Xmx4500m"; 20 - 21 - buildPhase = '' 22 - runHook preBuild 23 - 24 - # https://github.com/babashka/babashka/blob/v0.6.2/script/compile#L41-L52 25 - args=("-jar" "$BABASHKA_JAR" 26 - "-H:CLibraryPath=${graalvm11-ce.lib}/lib" 27 - # Required to build babashka on darwin. Do not remove. 28 - "${lib.optionalString stdenv.isDarwin "-H:-CheckToolchain"}" 29 - "-H:Name=$BABASHKA_BINARY" 30 - "-H:+ReportExceptionStackTraces" 31 - # "-H:+PrintAnalysisCallTree" 32 - # "-H:+DashboardAll" 33 - # "-H:DashboardDump=reports/dump" 34 - # "-H:+DashboardPretty" 35 - # "-H:+DashboardJson" 36 - "--verbose" 37 - "--no-fallback" 38 - "--native-image-info" 39 - "$BABASHKA_XMX") 40 41 - native-image ''${args[@]} 42 - 43 - runHook postBuild 44 - ''; 45 - 46 - installPhase = '' 47 - runHook preInstall 48 - 49 - mkdir -p $out/bin 50 - cp bb $out/bin/bb 51 - 52 - runHook postInstall 53 - ''; 54 55 installCheckPhase = '' 56 $out/bin/bb --version | grep '${version}' ··· 102 homepage = "https://github.com/babashka/babashka"; 103 changelog = "https://github.com/babashka/babashka/blob/v${version}/CHANGELOG.md"; 104 license = licenses.epl10; 105 - platforms = graalvm11-ce.meta.platforms; 106 maintainers = with maintainers; [ 107 bandresen 108 bhougland
··· 1 + { lib, buildGraalvmNativeImage, fetchurl, writeScript }: 2 3 + buildGraalvmNativeImage rec { 4 pname = "babashka"; 5 version = "0.6.5"; 6 ··· 9 sha256 = "sha256-72D/HzDIxkGD4zTPE9gHf/uFtboLbNnT7CTslSlAqjc="; 10 }; 11 12 + executable = "bb"; 13 14 + extraNativeImageBuildArgs = [ 15 + "-H:+ReportExceptionStackTraces" 16 + "--no-fallback" 17 + "--native-image-info" 18 + ]; 19 20 installCheckPhase = '' 21 $out/bin/bb --version | grep '${version}' ··· 67 homepage = "https://github.com/babashka/babashka"; 68 changelog = "https://github.com/babashka/babashka/blob/v${version}/CHANGELOG.md"; 69 license = licenses.epl10; 70 maintainers = with maintainers; [ 71 bandresen 72 bhougland
+42
pkgs/development/python-modules/asyncmy/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , cython 4 + , fetchFromGitHub 5 + , poetry-core 6 + , pythonOlder 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "asyncmy"; 11 + version = "0.2.3"; 12 + format = "pyproject"; 13 + 14 + disabled = pythonOlder "3.7"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "long2ice"; 18 + repo = pname; 19 + rev = "v${version}"; 20 + sha256 = "ys9RYaosc4noJsWYsVo9+6W7JaG4r6lsz6UH4o08q4A="; 21 + }; 22 + 23 + nativeBuildInputs = [ 24 + cython 25 + poetry-core 26 + ]; 27 + 28 + # Not running tests as aiomysql is missing support for 29 + # pymysql>=0.9.3 30 + doCheck = false; 31 + 32 + pythonImportsCheck = [ 33 + "asyncmy" 34 + ]; 35 + 36 + meta = with lib; { 37 + description = "Python module to interact with MySQL/mariaDB"; 38 + homepage = "https://github.com/long2ice/asyncmy"; 39 + license = licenses.asl20; 40 + maintainers = with maintainers; [ fab ]; 41 + }; 42 + }
+19 -6
pkgs/development/python-modules/rflink/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , async-timeout 5 , docopt 6 , pyserial ··· 12 buildPythonPackage rec { 13 pname = "rflink"; 14 version = "0.0.58"; 15 16 src = fetchFromGitHub { 17 owner = "aequitas"; ··· 19 rev = version; 20 sha256 = "1zab55lsw419gg0jfrl69ap6128vbi3wdmg5z7qin65ijpjdhasc"; 21 }; 22 - 23 - postPatch = '' 24 - substituteInPlace setup.py \ 25 - --replace "version=version_from_git()" "version='${version}'" 26 - ''; 27 28 propagatedBuildInputs = [ 29 async-timeout ··· 37 pytestCheckHook 38 ]; 39 40 - pythonImportsCheck = [ "rflink.protocol" ]; 41 42 meta = with lib; { 43 description = "Library and CLI tools for interacting with RFlink 433MHz transceiver";
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , fetchpatch 5 , async-timeout 6 , docopt 7 , pyserial ··· 13 buildPythonPackage rec { 14 pname = "rflink"; 15 version = "0.0.58"; 16 + format = "setuptools"; 17 18 src = fetchFromGitHub { 19 owner = "aequitas"; ··· 21 rev = version; 22 sha256 = "1zab55lsw419gg0jfrl69ap6128vbi3wdmg5z7qin65ijpjdhasc"; 23 }; 24 25 propagatedBuildInputs = [ 26 async-timeout ··· 34 pytestCheckHook 35 ]; 36 37 + patches = [ 38 + # Remove loop, https://github.com/aequitas/python-rflink/pull/61 39 + (fetchpatch { 40 + name = "remove-loop.patch"; 41 + url = "https://github.com/aequitas/python-rflink/commit/777e19b5bde3398df5b8f142896c34a01ae18d52.patch"; 42 + sha256 = "sJmihxY3fNSfZVFhkvQ/+9gysQup/1jklKDMyDDLOs8="; 43 + }) 44 + ]; 45 + 46 + postPatch = '' 47 + substituteInPlace setup.py \ 48 + --replace "version=version_from_git()" "version='${version}'" 49 + ''; 50 + 51 + pythonImportsCheck = [ 52 + "rflink.protocol" 53 + ]; 54 55 meta = with lib; { 56 description = "Library and CLI tools for interacting with RFlink 433MHz transceiver";
+13 -5
pkgs/development/python-modules/rokuecp/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 - , aiohttp 5 , xmltodict 6 , yarl 7 - , aresponses 8 - , pytest-asyncio 9 - , pytestCheckHook 10 }: 11 12 buildPythonPackage rec { ··· 14 version = "0.8.4"; 15 format = "setuptools"; 16 17 src = fetchFromGitHub { 18 owner = "ctalkington"; 19 repo = "python-rokuecp"; ··· 33 pytest-asyncio 34 ]; 35 36 pythonImportsCheck = [ 37 "rokuecp" 38 ]; ··· 41 description = "Asynchronous Python client for Roku (ECP)"; 42 homepage = "https://github.com/ctalkington/python-rokuecp"; 43 license = licenses.mit; 44 - maintainers = with maintainers; [ ]; 45 }; 46 }
··· 1 { lib 2 + , aiohttp 3 + , aresponses 4 , buildPythonPackage 5 , fetchFromGitHub 6 + , pytest-asyncio 7 + , pytestCheckHook 8 + , pythonOlder 9 , xmltodict 10 , yarl 11 }: 12 13 buildPythonPackage rec { ··· 15 version = "0.8.4"; 16 format = "setuptools"; 17 18 + disabled = pythonOlder "3.7"; 19 + 20 src = fetchFromGitHub { 21 owner = "ctalkington"; 22 repo = "python-rokuecp"; ··· 36 pytest-asyncio 37 ]; 38 39 + disabledTests = [ 40 + # https://github.com/ctalkington/python-rokuecp/issues/249 41 + "test_resolve_hostname" 42 + ]; 43 + 44 pythonImportsCheck = [ 45 "rokuecp" 46 ]; ··· 49 description = "Asynchronous Python client for Roku (ECP)"; 50 homepage = "https://github.com/ctalkington/python-rokuecp"; 51 license = licenses.mit; 52 + maintainers = with maintainers; [ fab ]; 53 }; 54 }
+6 -3
pkgs/development/python-modules/surepy/default.nix
··· 20 pname = "surepy"; 21 version = "0.7.2"; 22 format = "pyproject"; 23 disabled = pythonOlder "3.8"; 24 25 src = fetchFromGitHub { ··· 31 32 postPatch = '' 33 substituteInPlace pyproject.toml \ 34 - --replace 'click = "^7.1.2"' 'click = "*"' \ 35 - --replace 'attrs = "^20.3.0"' 'attrs = "*"' 36 ''; 37 38 nativeBuildInputs = [ ··· 56 # Project has no tests 57 doCheck = false; 58 59 - pythonImportsCheck = [ "surepy" ]; 60 61 meta = with lib; { 62 description = "Python library to interact with the Sure Petcare API";
··· 20 pname = "surepy"; 21 version = "0.7.2"; 22 format = "pyproject"; 23 + 24 disabled = pythonOlder "3.8"; 25 26 src = fetchFromGitHub { ··· 32 33 postPatch = '' 34 substituteInPlace pyproject.toml \ 35 + --replace 'aiohttp = {extras = ["speedups"], version = "^3.7.4"}' 'aiohttp = {extras = ["speedups"], version = ">=3.7.4"}' \ 36 + --replace 'async-timeout = "^3.0.1"' 'async-timeout = ">=3.0.1"' 37 ''; 38 39 nativeBuildInputs = [ ··· 57 # Project has no tests 58 doCheck = false; 59 60 + pythonImportsCheck = [ 61 + "surepy" 62 + ]; 63 64 meta = with lib; { 65 description = "Python library to interact with the Sure Petcare API";
+6 -29
pkgs/development/tools/clj-kondo/default.nix
··· 1 - { stdenv, lib, graalvm11-ce, fetchurl }: 2 3 - stdenv.mkDerivation rec { 4 pname = "clj-kondo"; 5 version = "2021.10.19"; 6 ··· 9 sha256 = "sha256-i0OeQPZfQPUeXC/Bs84I91IahBKK6W1mFix97s8/lVA="; 10 }; 11 12 - dontUnpack = true; 13 - 14 - buildInputs = [ graalvm11-ce ]; 15 - 16 - buildPhase = '' 17 - runHook preBuild 18 - 19 - # https://github.com/clj-kondo/clj-kondo/blob/v2021.10.19/script/compile#L17-L21 20 - args=("-jar" "$src" 21 - "-H:CLibraryPath=${graalvm11-ce.lib}/lib" 22 - # Required to build babashka on darwin. Do not remove. 23 - "${lib.optionalString stdenv.isDarwin "-H:-CheckToolchain"}" 24 - "-H:+ReportExceptionStackTraces" 25 - "--verbose" 26 - "--no-fallback" 27 - "-J-Xmx3g") 28 - 29 - native-image ''${args[@]} 30 - 31 - runHook postBuild 32 - ''; 33 - 34 - installPhase = '' 35 - mkdir -p $out/bin 36 - cp clj-kondo $out/bin/clj-kondo 37 - ''; 38 39 meta = with lib; { 40 description = "A linter for Clojure code that sparks joy"; 41 homepage = "https://github.com/clj-kondo/clj-kondo"; 42 license = licenses.epl10; 43 - platforms = graalvm11-ce.meta.platforms; 44 maintainers = with maintainers; [ jlesquembre bandresen thiagokokada ]; 45 }; 46 }
··· 1 + { lib, buildGraalvmNativeImage, fetchurl }: 2 3 + buildGraalvmNativeImage rec { 4 pname = "clj-kondo"; 5 version = "2021.10.19"; 6 ··· 9 sha256 = "sha256-i0OeQPZfQPUeXC/Bs84I91IahBKK6W1mFix97s8/lVA="; 10 }; 11 12 + extraNativeImageBuildArgs = [ 13 + "-H:+ReportExceptionStackTraces" 14 + "--no-fallback" 15 + ]; 16 17 meta = with lib; { 18 description = "A linter for Clojure code that sparks joy"; 19 homepage = "https://github.com/clj-kondo/clj-kondo"; 20 license = licenses.epl10; 21 maintainers = with maintainers; [ jlesquembre bandresen thiagokokada ]; 22 }; 23 }
+13 -37
pkgs/development/tools/jet/default.nix
··· 1 - { stdenv, lib, graalvm11-ce, fetchurl }: 2 3 - stdenv.mkDerivation rec { 4 pname = "jet"; 5 version = "0.1.0"; 6 ··· 14 sha256 = "sha256-mOUiKEM5tYhtpBpm7KtslyPYFsJ+Wr+4ul6Zi4aS09Q="; 15 }; 16 17 - dontUnpack = true; 18 - 19 - buildInputs = [ graalvm11-ce ]; 20 - 21 - buildPhase = '' 22 - runHook preBuild 23 - 24 - # https://github.com/borkdude/jet/blob/v0.1.0/script/compile#L16-L29 25 - args=("-jar" "$src" 26 - "-H:CLibraryPath=${graalvm11-ce.lib}/lib" 27 - # Required to build jet on darwin. Do not remove. 28 - "${lib.optionalString stdenv.isDarwin "-H:-CheckToolchain"}" 29 - "-H:Name=jet" 30 - "-H:+ReportExceptionStackTraces" 31 - "-J-Dclojure.spec.skip-macros=true" 32 - "-J-Dclojure.compiler.direct-linking=true" 33 - "-H:IncludeResources=JET_VERSION" 34 - "-H:ReflectionConfigurationFiles=${reflectionJson}" 35 - "--initialize-at-build-time" 36 - "-H:Log=registerResource:" 37 - "--verbose" 38 - "--no-fallback" 39 - "--no-server" 40 - "-J-Xmx3g") 41 - 42 - native-image ''${args[@]} 43 - 44 - runHook postBuild 45 - ''; 46 - 47 - installPhase = '' 48 - mkdir -p $out/bin 49 - cp jet $out/bin/jet 50 - ''; 51 52 meta = with lib; { 53 description = "CLI to transform between JSON, EDN and Transit, powered with a minimal query language"; 54 homepage = "https://github.com/borkdude/jet"; 55 license = licenses.epl10; 56 - platforms = graalvm11-ce.meta.platforms; 57 maintainers = with maintainers; [ ericdallo ]; 58 }; 59 }
··· 1 + { lib, buildGraalvmNativeImage, fetchurl }: 2 3 + buildGraalvmNativeImage rec { 4 pname = "jet"; 5 version = "0.1.0"; 6 ··· 14 sha256 = "sha256-mOUiKEM5tYhtpBpm7KtslyPYFsJ+Wr+4ul6Zi4aS09Q="; 15 }; 16 17 + extraNativeImageBuildArgs = [ 18 + "-H:+ReportExceptionStackTraces" 19 + "-J-Dclojure.spec.skip-macros=true" 20 + "-J-Dclojure.compiler.direct-linking=true" 21 + "-H:IncludeResources=JET_VERSION" 22 + "-H:ReflectionConfigurationFiles=${reflectionJson}" 23 + "--initialize-at-build-time" 24 + "-H:Log=registerResource:" 25 + "--no-fallback" 26 + "--no-server" 27 + ]; 28 29 meta = with lib; { 30 description = "CLI to transform between JSON, EDN and Transit, powered with a minimal query language"; 31 homepage = "https://github.com/borkdude/jet"; 32 license = licenses.epl10; 33 maintainers = with maintainers; [ ericdallo ]; 34 }; 35 }
+11 -38
pkgs/development/tools/misc/clojure-lsp/default.nix
··· 1 - { lib, stdenv, graalvm11-ce, babashka, fetchurl, fetchFromGitHub, clojure, writeScript }: 2 3 - stdenv.mkDerivation rec { 4 pname = "clojure-lsp"; 5 version = "2021.11.02-15.24.47"; 6 ··· 16 sha256 = "sha256-k0mzibcLAspklCPE6f2qsUm9bwSvcJRgWecMBq7mpF0="; 17 }; 18 19 - GRAALVM_HOME = graalvm11-ce; 20 - CLOJURE_LSP_JAR = jar; 21 - CLOJURE_LSP_XMX = "-J-Xmx6g"; 22 23 - buildInputs = [ graalvm11-ce clojure ]; 24 - 25 - buildPhase = with lib; '' 26 - runHook preBuild 27 - 28 - # https://github.com/clojure-lsp/clojure-lsp/blob/2021.11.02-15.24.47/graalvm/native-unix-compile.sh#L18-L27 29 - DTLV_LIB_EXTRACT_DIR=$(mktemp -d) 30 - export DTLV_LIB_EXTRACT_DIR=$DTLV_LIB_EXTRACT_DIR 31 - 32 - args=("-jar" "$CLOJURE_LSP_JAR" 33 - "-H:+ReportExceptionStackTraces" 34 - "-H:CLibraryPath=${graalvm11-ce.lib}/lib" 35 - "-H:CLibraryPath=$DTLV_LIB_EXTRACT_DIR" 36 - "--verbose" 37 - "--no-fallback" 38 - "--native-image-info" 39 - "$CLOJURE_LSP_XMX") 40 - 41 - native-image ''${args[@]} 42 - 43 - runHook postBuild 44 - ''; 45 - 46 - installPhase = '' 47 - runHook preInstall 48 - 49 - install -Dm755 ./clojure-lsp $out/bin/clojure-lsp 50 - 51 - runHook postInstall 52 - ''; 53 54 doCheck = true; 55 checkPhase = '' 56 runHook preCheck 57 58 export HOME="$(mktemp -d)" 59 - ./clojure-lsp --version | fgrep -q '${version}' 60 - ${babashka}/bin/bb integration-test ./clojure-lsp 61 62 runHook postCheck 63 ''; ··· 88 homepage = "https://github.com/clojure-lsp/clojure-lsp"; 89 license = licenses.mit; 90 maintainers = with maintainers; [ ericdallo babariviere ]; 91 - platforms = graalvm11-ce.meta.platforms; 92 # Depends on datalevin that is x86_64 only 93 # https://github.com/juji-io/datalevin/blob/bb7d9328f4739cddea5d272b5cd6d6dcb5345da6/native/src/java/datalevin/ni/Lib.java#L86-L102 94 broken = !stdenv.isx86_64;
··· 1 + { lib, stdenv, buildGraalvmNativeImage, babashka, fetchurl, fetchFromGitHub, clojure, writeScript }: 2 3 + buildGraalvmNativeImage rec { 4 pname = "clojure-lsp"; 5 version = "2021.11.02-15.24.47"; 6 ··· 16 sha256 = "sha256-k0mzibcLAspklCPE6f2qsUm9bwSvcJRgWecMBq7mpF0="; 17 }; 18 19 + # https://github.com/clojure-lsp/clojure-lsp/blob/2021.11.02-15.24.47/graalvm/native-unix-compile.sh#L18-L27 20 + DTLV_LIB_EXTRACT_DIR = "/tmp"; 21 22 + extraNativeImageBuildArgs = [ 23 + "-H:CLibraryPath=${DTLV_LIB_EXTRACT_DIR}" 24 + "--no-fallback" 25 + "--native-image-info" 26 + ]; 27 28 doCheck = true; 29 checkPhase = '' 30 runHook preCheck 31 32 export HOME="$(mktemp -d)" 33 + ./${pname} --version | fgrep -q '${version}' 34 + ${babashka}/bin/bb integration-test ./${pname} 35 36 runHook postCheck 37 ''; ··· 62 homepage = "https://github.com/clojure-lsp/clojure-lsp"; 63 license = licenses.mit; 64 maintainers = with maintainers; [ ericdallo babariviere ]; 65 # Depends on datalevin that is x86_64 only 66 # https://github.com/juji-io/datalevin/blob/bb7d9328f4739cddea5d272b5cd6d6dcb5345da6/native/src/java/datalevin/ni/Lib.java#L86-L102 67 broken = !stdenv.isx86_64;
+26
pkgs/development/tools/protoc-gen-go-vtproto/default.nix
···
··· 1 + { buildGoModule 2 + , fetchFromGitHub 3 + , lib 4 + }: 5 + buildGoModule rec { 6 + pname = "protoc-gen-go-vtproto"; 7 + version = "0.2.0"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "planetscale"; 11 + repo = "vtprotobuf"; 12 + rev = "v${version}"; 13 + sha256 = "0kjjpfsiws4vi36ha1gajb97rwcggqw753mv2jqf09kdfszz9p63"; 14 + }; 15 + 16 + vendorSha256 = "01lxwlgh3y3gp22gk5qx7r60c1j63pnpi6jnri8gf2lmiiib8fdc"; 17 + 18 + excludedPackages = [ "conformance" ]; 19 + 20 + meta = with lib; { 21 + description = "A Protocol Buffers compiler that generates optimized marshaling & unmarshaling Go code for ProtoBuf APIv2"; 22 + homepage = "https://github.com/planetscale/vtprotobuf"; 23 + license = licenses.bsd3; 24 + maintainers = [ maintainers.zane ]; 25 + }; 26 + }
+4 -3
pkgs/development/tools/rust/cargo-flash/default.nix
··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "cargo-flash"; 13 - version = "0.11.0"; 14 15 src = fetchFromGitHub { 16 owner = "probe-rs"; 17 repo = pname; 18 rev = "v${version}"; 19 - sha256 = "sha256-yTtnRdDy3wGBe0SlO0165uooWu6ZMhUQw3hdDUK1e8A="; 20 }; 21 22 - cargoSha256 = "sha256-f5vUMdyz3vDh2yE0pMKZiknsqTAKkuvTCtlgb6/gaLc="; 23 24 nativeBuildInputs = [ pkg-config rustfmt ]; 25 buildInputs = [ libusb1 ] ++ lib.optionals stdenv.isDarwin [ AppKit ]; ··· 27 meta = with lib; { 28 description = "A cargo extension for working with microcontrollers"; 29 homepage = "https://probe.rs/"; 30 license = with licenses; [ asl20 /* or */ mit ]; 31 maintainers = with maintainers; [ fooker ]; 32 };
··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "cargo-flash"; 13 + version = "0.12.0"; 14 15 src = fetchFromGitHub { 16 owner = "probe-rs"; 17 repo = pname; 18 rev = "v${version}"; 19 + sha256 = "0s49q8x0iscy9rgn9zgymyg39cqm251a99m341znjn55lap3pdl8"; 20 }; 21 22 + cargoSha256 = "0rb4s5bwjs7hri636r2viva96a6z9qjv9if6i220j9yglrvi7c8i"; 23 24 nativeBuildInputs = [ pkg-config rustfmt ]; 25 buildInputs = [ libusb1 ] ++ lib.optionals stdenv.isDarwin [ AppKit ]; ··· 27 meta = with lib; { 28 description = "A cargo extension for working with microcontrollers"; 29 homepage = "https://probe.rs/"; 30 + changelog = "https://github.com/probe-rs/cargo-flash/blob/v${version}/CHANGELOG.md"; 31 license = with licenses; [ asl20 /* or */ mit ]; 32 maintainers = with maintainers; [ fooker ]; 33 };
+11 -30
pkgs/development/tools/zprint/default.nix
··· 1 - { stdenv, lib, fetchurl, graalvm11-ce, glibcLocales }: 2 3 - stdenv.mkDerivation rec { 4 pname = "zprint"; 5 version = "1.1.2"; 6 7 src = fetchurl { 8 - url = 9 - "https://github.com/kkinnear/${pname}/releases/download/${version}/${pname}-filter-${version}"; 10 sha256 = "1wh8jyj7alfa6h0cycfwffki83wqb5d5x0p7kvgdkhl7jx7isrwj"; 11 }; 12 13 - dontUnpack = true; 14 - 15 - LC_ALL = "en_US.UTF-8"; 16 - nativeBuildInputs = [ graalvm11-ce glibcLocales ]; 17 - 18 - buildPhase = '' 19 - native-image \ 20 - --no-server \ 21 - -J-Xmx7G \ 22 - -J-Xms4G \ 23 - -jar ${src} \ 24 - -H:Name=${pname} \ 25 - -H:EnableURLProtocols=https,http \ 26 - -H:+ReportExceptionStackTraces \ 27 - -H:CLibraryPath=${graalvm11-ce.lib}/lib \ 28 - ${lib.optionalString stdenv.isDarwin ''-H:-CheckToolchain''} \ 29 - --report-unsupported-elements-at-runtime \ 30 - --initialize-at-build-time \ 31 - --no-fallback 32 - ''; 33 - 34 - installPhase = '' 35 - mkdir -p $out/bin 36 - install ${pname} $out/bin 37 - ''; 38 39 meta = with lib; { 40 description = "Clojure/EDN source code formatter and pretty printer"; ··· 45 ''; 46 homepage = "https://github.com/kkinnear/zprint"; 47 license = licenses.mit; 48 - platforms = graalvm11-ce.meta.platforms; 49 maintainers = with maintainers; [ stelcodes ]; 50 }; 51 }
··· 1 + { lib, buildGraalvmNativeImage, fetchurl }: 2 3 + buildGraalvmNativeImage rec { 4 pname = "zprint"; 5 version = "1.1.2"; 6 7 src = fetchurl { 8 + url = "https://github.com/kkinnear/${pname}/releases/download/${version}/${pname}-filter-${version}"; 9 sha256 = "1wh8jyj7alfa6h0cycfwffki83wqb5d5x0p7kvgdkhl7jx7isrwj"; 10 }; 11 12 + extraNativeImageBuildArgs = [ 13 + "--no-server" 14 + "-H:EnableURLProtocols=https,http" 15 + "-H:+ReportExceptionStackTraces" 16 + "--report-unsupported-elements-at-runtime" 17 + "--initialize-at-build-time" 18 + "--no-fallback" 19 + ]; 20 21 meta = with lib; { 22 description = "Clojure/EDN source code formatter and pretty printer"; ··· 27 ''; 28 homepage = "https://github.com/kkinnear/zprint"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ stelcodes ]; 31 }; 32 }
+3 -3
pkgs/tools/wayland/swayr/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "swayr"; 5 - version = "0.7.0"; 6 7 src = fetchFromSourcehut { 8 owner = "~tsdh"; 9 repo = "swayr"; 10 rev = "v${version}"; 11 - sha256 = "sha256-B19cHdoiCbxhvRGi3NzKPKneKgOI4+l8+Qg9/YVgUV8="; 12 }; 13 14 - cargoSha256 = "sha256-iO64K+d/wEyY/tVztIG8zYSha5X0iTHV7IDVthMJQGA="; 15 16 patches = [ 17 ./icon-paths.patch
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "swayr"; 5 + version = "0.10.0"; 6 7 src = fetchFromSourcehut { 8 owner = "~tsdh"; 9 repo = "swayr"; 10 rev = "v${version}"; 11 + sha256 = "sha256-nXJIgzm92OSSGHpN2+09Y8ILpU8Mf51vcVB0kMXBPZc="; 12 }; 13 14 + cargoSha256 = "sha256-vExZzJ3Rw+MiU4ikEqzIo51qZW0sxwE/zoVEdUKLXwY="; 15 16 patches = [ 17 ./icon-paths.patch
+3
pkgs/top-level/all-packages.nix
··· 337 338 protoc-gen-go-grpc = callPackage ../development/tools/protoc-gen-go-grpc { }; 339 340 protoc-gen-grpc-web = callPackage ../development/tools/protoc-gen-grpc-web { }; 341 342 protoc-gen-twirp = callPackage ../development/tools/protoc-gen-twirp { }; ··· 12353 }); 12354 graalvm11-ce = graalvmCEPackages.graalvm11-ce; 12355 graalvm17-ce = graalvmCEPackages.graalvm17-ce; 12356 12357 inherit (callPackages ../development/compilers/graalvm/enterprise-edition.nix { }) 12358 graalvm8-ee
··· 337 338 protoc-gen-go-grpc = callPackage ../development/tools/protoc-gen-go-grpc { }; 339 340 + protoc-gen-go-vtproto = callPackage ../development/tools/protoc-gen-go-vtproto { }; 341 + 342 protoc-gen-grpc-web = callPackage ../development/tools/protoc-gen-grpc-web { }; 343 344 protoc-gen-twirp = callPackage ../development/tools/protoc-gen-twirp { }; ··· 12355 }); 12356 graalvm11-ce = graalvmCEPackages.graalvm11-ce; 12357 graalvm17-ce = graalvmCEPackages.graalvm17-ce; 12358 + buildGraalvmNativeImage = callPackage ../build-support/build-graalvm-native-image { }; 12359 12360 inherit (callPackages ../development/compilers/graalvm/enterprise-edition.nix { }) 12361 graalvm8-ee
+1
pkgs/top-level/coq-packages.nix
··· 31 coq-elpi = callPackage ../development/coq-modules/coq-elpi {}; 32 coq-ext-lib = callPackage ../development/coq-modules/coq-ext-lib {}; 33 coq-haskell = callPackage ../development/coq-modules/coq-haskell { }; 34 coqeal = callPackage ../development/coq-modules/coqeal {}; 35 coqhammer = callPackage ../development/coq-modules/coqhammer {}; 36 coqprime = callPackage ../development/coq-modules/coqprime {};
··· 31 coq-elpi = callPackage ../development/coq-modules/coq-elpi {}; 32 coq-ext-lib = callPackage ../development/coq-modules/coq-ext-lib {}; 33 coq-haskell = callPackage ../development/coq-modules/coq-haskell { }; 34 + coq-record-update = callPackage ../development/coq-modules/coq-record-update { }; 35 coqeal = callPackage ../development/coq-modules/coqeal {}; 36 coqhammer = callPackage ../development/coq-modules/coqhammer {}; 37 coqprime = callPackage ../development/coq-modules/coqprime {};
+2
pkgs/top-level/python-packages.nix
··· 664 665 asyncio-nats-client = callPackage ../development/python-modules/asyncio-nats-client { }; 666 667 asyncio-throttle = callPackage ../development/python-modules/asyncio-throttle { }; 668 669 asyncpg = callPackage ../development/python-modules/asyncpg { };
··· 664 665 asyncio-nats-client = callPackage ../development/python-modules/asyncio-nats-client { }; 666 667 + asyncmy = callPackage ../development/python-modules/asyncmy { }; 668 + 669 asyncio-throttle = callPackage ../development/python-modules/asyncio-throttle { }; 670 671 asyncpg = callPackage ../development/python-modules/asyncpg { };