Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
d07c2d73 f9a84515

+754 -158
+8
nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
··· 240 240 </listitem> 241 241 <listitem> 242 242 <para> 243 + The <literal>services.fwupd</literal> module now allows 244 + arbitrary daemon settings to be configured in a structured 245 + manner 246 + (<link linkend="opt-services.fwupd.daemonSettings"><literal>services.fwupd.daemonSettings</literal></link>). 247 + </para> 248 + </listitem> 249 + <listitem> 250 + <para> 243 251 The <literal>unifi-poller</literal> package and corresponding 244 252 NixOS module have been renamed to <literal>unpoller</literal> 245 253 to match upstream.
+2
nixos/doc/manual/release-notes/rl-2305.section.md
··· 70 70 71 71 - Resilio sync secret keys can now be provided using a secrets file at runtime, preventing these secrets from ending up in the Nix store. 72 72 73 + - The `services.fwupd` module now allows arbitrary daemon settings to be configured in a structured manner ([`services.fwupd.daemonSettings`](#opt-services.fwupd.daemonSettings)). 74 + 73 75 - The `unifi-poller` package and corresponding NixOS module have been renamed to `unpoller` to match upstream.
+42 -26
nixos/modules/services/hardware/fwupd.nix
··· 7 7 let 8 8 cfg = config.services.fwupd; 9 9 10 + format = pkgs.formats.ini { 11 + listToValue = l: lib.concatStringsSep ";" (map (s: generators.mkValueStringDefault {} s) l); 12 + mkKeyValue = generators.mkKeyValueDefault {} "="; 13 + }; 14 + 10 15 customEtc = { 11 16 "fwupd/daemon.conf" = { 12 - source = pkgs.writeText "daemon.conf" '' 13 - [fwupd] 14 - DisabledDevices=${lib.concatStringsSep ";" cfg.disabledDevices} 15 - DisabledPlugins=${lib.concatStringsSep ";" cfg.disabledPlugins} 16 - ''; 17 + source = format.generate "daemon.conf" { 18 + fwupd = cfg.daemonSettings; 19 + }; 17 20 }; 18 21 "fwupd/uefi_capsule.conf" = { 19 22 source = pkgs.writeText "uefi_capsule.conf" '' ··· 67 70 ''; 68 71 }; 69 72 70 - disabledDevices = mkOption { 71 - type = types.listOf types.str; 72 - default = []; 73 - example = [ "2082b5e0-7a64-478a-b1b2-e3404fab6dad" ]; 74 - description = lib.mdDoc '' 75 - Allow disabling specific devices by their GUID 76 - ''; 77 - }; 78 - 79 - disabledPlugins = mkOption { 80 - type = types.listOf types.str; 81 - default = []; 82 - example = [ "udev" ]; 83 - description = lib.mdDoc '' 84 - Allow disabling specific plugins 85 - ''; 86 - }; 87 - 88 73 extraTrustedKeys = mkOption { 89 74 type = types.listOf types.path; 90 75 default = []; ··· 120 105 Which fwupd package to use. 121 106 ''; 122 107 }; 108 + 109 + daemonSettings = mkOption { 110 + type = types.submodule { 111 + freeformType = format.type.nestedTypes.elemType; 112 + options = { 113 + DisabledDevices = mkOption { 114 + type = types.listOf types.str; 115 + default = []; 116 + example = [ "2082b5e0-7a64-478a-b1b2-e3404fab6dad" ]; 117 + description = lib.mdDoc '' 118 + List of device GUIDs to be disabled. 119 + ''; 120 + }; 121 + 122 + DisabledPlugins = mkOption { 123 + type = types.listOf types.str; 124 + default = []; 125 + example = [ "udev" ]; 126 + description = lib.mdDoc '' 127 + List of plugins to be disabled. 128 + ''; 129 + }; 130 + }; 131 + }; 132 + default = {}; 133 + description = lib.mdDoc '' 134 + Configurations for the fwupd daemon. 135 + ''; 136 + }; 123 137 }; 124 138 }; 125 139 126 140 imports = [ 127 - (mkRenamedOptionModule [ "services" "fwupd" "blacklistDevices"] [ "services" "fwupd" "disabledDevices" ]) 128 - (mkRenamedOptionModule [ "services" "fwupd" "blacklistPlugins"] [ "services" "fwupd" "disabledPlugins" ]) 141 + (mkRenamedOptionModule [ "services" "fwupd" "blacklistDevices"] [ "services" "fwupd" "daemonSettings" "DisabledDevices" ]) 142 + (mkRenamedOptionModule [ "services" "fwupd" "blacklistPlugins"] [ "services" "fwupd" "daemonSettings" "DisabledPlugins" ]) 143 + (mkRenamedOptionModule [ "services" "fwupd" "disabledDevices" ] [ "services" "fwupd" "daemonSettings" "DisabledDevices" ]) 144 + (mkRenamedOptionModule [ "services" "fwupd" "disabledPlugins" ] [ "services" "fwupd" "daemonSettings" "DisabledPlugins" ]) 129 145 ]; 130 146 131 147 ###### implementation 132 148 config = mkIf cfg.enable { 133 149 # Disable test related plug-ins implicitly so that users do not have to care about them. 134 - services.fwupd.disabledPlugins = cfg.package.defaultDisabledPlugins; 150 + services.fwupd.daemonSettings.DisabledPlugins = cfg.package.defaultDisabledPlugins; 135 151 136 152 environment.systemPackages = [ cfg.package ]; 137 153
+10 -4
pkgs/applications/audio/easyeffects/default.nix
··· 3 3 , desktop-file-utils 4 4 , fetchFromGitHub 5 5 , calf 6 + , fftw 6 7 , fftwFloat 7 - , fmt_8 8 + , fmt_9 8 9 , glib 10 + , gsl 9 11 , gtk4 10 12 , itstool 11 13 , libadwaita ··· 25 27 , pkg-config 26 28 , rnnoise 27 29 , rubberband 30 + , speex 28 31 , speexdsp 29 32 , tbb 30 33 , wrapGAppsHook4 ··· 34 37 35 38 stdenv.mkDerivation rec { 36 39 pname = "easyeffects"; 37 - version = "6.3.0"; 40 + version = "7.0.0"; 38 41 39 42 src = fetchFromGitHub { 40 43 owner = "wwmm"; 41 44 repo = "easyeffects"; 42 45 rev = "v${version}"; 43 - sha256 = "sha256-OLxuE1jiALuKlC9U9esVlhaMBEaoZyNae8OO8upE4ZM="; 46 + sha256 = "sha256-SjhJj5kClPd8DT1vzbSdqJ9AJw0XiX9Q8/R8SDnxGPQ="; 44 47 }; 45 48 46 49 nativeBuildInputs = [ ··· 53 56 ]; 54 57 55 58 buildInputs = [ 59 + fftw 56 60 fftwFloat 57 - fmt_8 61 + fmt_9 58 62 glib 63 + gsl 59 64 gtk4 60 65 libadwaita 61 66 libbs2b ··· 69 74 pipewire 70 75 rnnoise 71 76 rubberband 77 + speex 72 78 speexdsp 73 79 tbb 74 80 zita-convolver
+2 -2
pkgs/applications/editors/jove/default.nix
··· 8 8 9 9 stdenv.mkDerivation (finalAttrs: { 10 10 pname = "jove"; 11 - version = "4.17.4.7"; 11 + version = "4.17.4.8"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "jonmacs"; 15 15 repo = "jove"; 16 16 rev = finalAttrs.version; 17 - sha256 = "sha256-a8amp8JAI25XIeL8MzvJEAvv6B0oIaQvUOQlAaS3PeI="; 17 + sha256 = "sha256-/n/TgVqyG/WeK+/DZqFZCdkQR4SD5+YmljLlzAehMvw="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ makeWrapper ];
+2 -2
pkgs/applications/emulators/dosbox/default.nix
··· 2 2 , stdenv 3 3 , fetchurl 4 4 , autoreconfHook 5 - , SDL_compat 5 + , SDL 6 6 , SDL_net 7 7 , SDL_sound 8 8 , copyDesktopItems ··· 29 29 ]; 30 30 31 31 buildInputs = [ 32 - SDL_compat 32 + SDL 33 33 SDL_net 34 34 SDL_sound 35 35 libGL
+2 -9
pkgs/applications/graphics/inkscape/default.nix
··· 5 5 , cairo 6 6 , cmake 7 7 , fetchurl 8 - , fetchpatch 9 8 , gettext 10 9 , ghostscript 11 10 , glib ··· 59 58 in 60 59 stdenv.mkDerivation rec { 61 60 pname = "inkscape"; 62 - version = "1.2.1"; 61 + version = "1.2.2"; 63 62 64 63 src = fetchurl { 65 64 url = "https://media.inkscape.org/dl/resources/file/inkscape-${version}.tar.xz"; 66 - sha256 = "Rs59oOunykutwdtw6cu2fgrfm7NCaH3G4ItcohuNTBs="; 65 + sha256 = "oMf9DQPAohU15kjvMB3PgN18/B81ReUQZfvxuj7opcQ="; 67 66 }; 68 67 69 68 # Inkscape hits the ARGMAX when linking on macOS. It appears to be ··· 78 77 # Python is used at run-time to execute scripts, 79 78 # e.g., those from the "Effects" menu. 80 79 python3 = "${python3Env}/bin/python"; 81 - }) 82 - 83 - # Fix build with Poppler 22.09 84 - (fetchpatch { 85 - url = "https://github.com/archlinux/svntogit-packages/raw/b2f65dfb60ae0c8cd6cd9affd3d71064082a6201/trunk/inkscape-1.2.1-poppler-22.09.0.patch"; 86 - sha256 = "pArvsS/qoCTMAisF8yj3agZKrb90zRFZkck1TX0KeGc="; 87 80 }) 88 81 ]; 89 82
+72
pkgs/applications/networking/headlines/default.nix
··· 1 + { lib 2 + , stdenv 3 + , cmake 4 + , pkg-config 5 + , libmicrohttpd 6 + , curl 7 + , openssl 8 + , jsoncpp 9 + , libxml2 10 + , gst_all_1 11 + , boost 12 + , websocketpp 13 + , libadwaita 14 + , gtkmm4 15 + , libsecret 16 + , fetchFromGitLab 17 + , makeWrapper 18 + , xdg-utils 19 + , youtube-dl 20 + , ffmpeg 21 + }: 22 + 23 + stdenv.mkDerivation rec { 24 + pname = "headlines"; 25 + version = "0.7.2"; 26 + 27 + src = fetchFromGitLab { 28 + owner = "caveman250"; 29 + repo = "Headlines"; 30 + rev = version; 31 + sha256 = "sha256-wamow0UozX5ecKbXWOgsWCerInL4J0gK0+Muf+eoO9k="; 32 + }; 33 + 34 + nativeBuildInputs = [ 35 + cmake 36 + pkg-config 37 + makeWrapper 38 + ]; 39 + 40 + buildInputs = [ 41 + libmicrohttpd 42 + curl 43 + openssl 44 + jsoncpp 45 + libxml2 46 + boost 47 + websocketpp 48 + libadwaita 49 + gtkmm4 50 + libsecret 51 + ] ++ (with gst_all_1; [ 52 + gstreamer 53 + gst-libav 54 + gst-plugins-base 55 + (gst-plugins-good.override { gtkSupport = true; }) 56 + gst-plugins-bad 57 + ]); 58 + 59 + postFixup = '' 60 + wrapProgram "$out/bin/headlines" \ 61 + --prefix PATH : "${lib.makeBinPath [ xdg-utils youtube-dl ffmpeg ]}" \ 62 + --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" 63 + ''; 64 + 65 + meta = with lib; { 66 + description = "GTK4 / Libadwaita Reddit client written in C++"; 67 + homepage = "https://gitlab.com/caveman250/Headlines"; 68 + license = licenses.gpl3Plus; 69 + platforms = platforms.linux; 70 + maintainers = with maintainers; [ chuangzhu ]; 71 + }; 72 + }
+2 -2
pkgs/applications/networking/instant-messengers/jami/default.nix
··· 63 63 patch-src = src + "/daemon/contrib/src/pjproject/"; 64 64 in 65 65 rec { 66 - version = "513a3f14c44b2c2652f9219ec20dea64b236b713"; 66 + version = "eae25732568e600d248aa8c226271ff6b81df170"; 67 67 68 68 src = fetchFromGitHub { 69 69 owner = "savoirfairelinux"; 70 70 repo = "pjproject"; 71 71 rev = version; 72 - sha256 = "sha256-93AlJGMnlzJMrJquelpHQQKjhEgfpTFXTMqkBnm87u8="; 72 + sha256 = "sha256-N7jn4qen+PgFiVkTFi2HSWhx2QPHwAYMtnrpE/ptDVc="; 73 73 }; 74 74 75 75 patches = (map (x: patch-src + x) (readLinesToList ./config/pjsip_patches));
+3 -3
pkgs/applications/office/banking/default.nix
··· 18 18 19 19 python3.pkgs.buildPythonApplication rec { 20 20 pname = "banking"; 21 - version = "0.5.1"; 21 + version = "0.6.0"; 22 22 format = "other"; 23 23 24 24 src = fetchFromGitLab { 25 25 owner = "tabos"; 26 26 repo = "banking"; 27 27 rev = version; 28 - sha256 = "sha256-tZlBpDcwQ/aWroP2sFQBZcvmBD26PiY7q/8xFA8GnVc="; 28 + hash = "sha256-x/um40sRD58d5LuuJlyietCV1Rw4H5VSO0I3ZwD5kO8="; 29 29 }; 30 30 31 31 postPatch = '' ··· 54 54 cryptography 55 55 fints 56 56 mt-940 57 + onetimepad 57 58 pygobject3 58 - pysqlitecipher 59 59 schwifty 60 60 ]; 61 61
+62
pkgs/applications/system/thumbdrives/default.nix
··· 1 + { lib 2 + , python3 3 + , fetchFromSourcehut 4 + , gtk3 5 + , libhandy_0 6 + , gobject-introspection 7 + , meson 8 + , pkg-config 9 + , ninja 10 + , gettext 11 + , glib 12 + , desktop-file-utils 13 + , wrapGAppsHook 14 + }: 15 + 16 + python3.pkgs.buildPythonApplication rec { 17 + pname = "thumbdrives"; 18 + version = "0.3.1"; 19 + 20 + format = "other"; 21 + 22 + src = fetchFromSourcehut { 23 + owner = "~martijnbraam"; 24 + repo = pname; 25 + rev = version; 26 + sha256 = "sha256-CPZKswbvsG61A6J512FOCKAntoJ0sUb2s+MKb0rO+Xw="; 27 + }; 28 + 29 + postPatch = '' 30 + patchShebangs build-aux/meson 31 + ''; 32 + 33 + nativeBuildInputs = [ 34 + meson 35 + pkg-config 36 + ninja 37 + gettext 38 + glib 39 + gtk3 40 + desktop-file-utils 41 + wrapGAppsHook 42 + gobject-introspection 43 + ]; 44 + 45 + buildInputs = [ 46 + gtk3 47 + libhandy_0 48 + ]; 49 + 50 + propagatedBuildInputs = with python3.pkgs; [ 51 + pygobject3 52 + pyxdg 53 + ]; 54 + 55 + meta = with lib; { 56 + description = "USB mass storage emulator for Linux handhelds"; 57 + homepage = "https://sr.ht/~martijnbraam/thumbdrives/"; 58 + license = licenses.mit; 59 + maintainers = with maintainers; [ chuangzhu ]; 60 + platforms = platforms.linux; 61 + }; 62 + }
+3 -3
pkgs/development/compilers/gleam/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "gleam"; 5 - version = "0.25.0"; 5 + version = "0.25.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "gleam-lang"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-LLl3T7VvDyyeq47vgZPkQhcPk2yZMRsCta8EqduNvuY="; 11 + sha256 = "sha256-PzvFX1ssBPXhHBNGK38y427HYJ9Q40c4w2mqGZ/2rtI="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkg-config ]; ··· 16 16 buildInputs = [ openssl ] ++ 17 17 lib.optionals stdenv.isDarwin [ Security libiconv ]; 18 18 19 - cargoSha256 = "sha256-vMgU66LhhRrSA9Dx3eyVmUwrYKVtAfE12tQC8WzTimo="; 19 + cargoSha256 = "sha256-NeNpT/yOXE70ElawrOGBc4G5bN2ohzYVVUtF4yVCJOo="; 20 20 21 21 meta = with lib; { 22 22 description = "A statically typed language for the Erlang VM";
+14
pkgs/development/interpreters/python/cpython/2.7/default.nix
··· 31 31 , rebuildBytecode ? true 32 32 , reproducibleBuild ? false 33 33 , enableOptimizations ? false 34 + , strip2to3 ? false 35 + , stripConfig ? false 36 + , stripIdlelib ? false 37 + , stripTests ? false 34 38 , pythonAttr ? "python${sourceVersion.major}${sourceVersion.minor}" 35 39 }: 36 40 ··· 318 322 postFixup = '' 319 323 # Include a sitecustomize.py file. Note it causes an error when it's in postInstall with 2.7. 320 324 cp ${../../sitecustomize.py} $out/${sitePackages}/sitecustomize.py 325 + '' + optionalString strip2to3 '' 326 + rm -R $out/bin/2to3 $out/lib/python*/lib2to3 327 + '' + optionalString stripConfig '' 328 + rm -R $out/bin/python*-config $out/lib/python*/config-* 329 + '' + optionalString stripIdlelib '' 330 + # Strip IDLE 331 + rm -R $out/bin/idle* $out/lib/python*/idlelib 332 + '' + optionalString stripTests '' 333 + # Strip tests 334 + rm -R $out/lib/python*/test $out/lib/python*/**/test{,s} 321 335 ''; 322 336 323 337 enableParallelBuilding = true;
+49
pkgs/development/libraries/crocoddyl/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , example-robot-data 6 + , pinocchio 7 + , pythonSupport ? false 8 + , python3Packages 9 + }: 10 + 11 + stdenv.mkDerivation rec { 12 + pname = "crocoddyl"; 13 + version = "1.9.0"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "loco-3d"; 17 + repo = pname; 18 + rev = "v${version}"; 19 + sha256 = "sha256-IQ+8ZZXVTTRFa4uGetpylRab4P9MSTU2YtytYA3z6ys="; 20 + fetchSubmodules = true; 21 + }; 22 + 23 + strictDeps = true; 24 + 25 + nativeBuildInputs = [ 26 + cmake 27 + ]; 28 + 29 + propagatedBuildInputs = lib.optionals (!pythonSupport) [ 30 + example-robot-data 31 + pinocchio 32 + ] ++ lib.optionals pythonSupport [ 33 + python3Packages.example-robot-data 34 + python3Packages.pinocchio 35 + ]; 36 + 37 + cmakeFlags = lib.optionals (!pythonSupport) [ 38 + "-DBUILD_EXAMPLES=OFF" 39 + "-DBUILD_PYTHON_INTERFACE=OFF" 40 + ]; 41 + 42 + meta = with lib; { 43 + description = "Crocoddyl optimal control library"; 44 + homepage = "https://github.com/loco-3d/crocoddyl"; 45 + license = licenses.bsd3; 46 + maintainers = with maintainers; [ wegank ]; 47 + platforms = platforms.unix; 48 + }; 49 + }
+42
pkgs/development/libraries/example-robot-data/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , pythonSupport ? false 6 + , python3Packages 7 + }: 8 + 9 + stdenv.mkDerivation rec { 10 + pname = "example-robot-data"; 11 + version = "4.0.3"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "Gepetto"; 15 + repo = pname; 16 + rev = "v${version}"; 17 + fetchSubmodules = true; 18 + sha256 = "sha256-rxVyka8tcF/CmGTVNyh3FPR1LVa6JOAN+9zjElgqCak="; 19 + }; 20 + 21 + strictDeps = true; 22 + 23 + nativeBuildInputs = [ 24 + cmake 25 + ]; 26 + 27 + buildInputs = lib.optionals pythonSupport [ 28 + python3Packages.pinocchio 29 + ]; 30 + 31 + cmakeFlags = lib.optionals (!pythonSupport) [ 32 + "-DBUILD_PYTHON_INTERFACE=OFF" 33 + ]; 34 + 35 + meta = with lib; { 36 + description = "Set of robot URDFs for benchmarking and developed examples."; 37 + homepage = "https://github.com/Gepetto/example-robot-data"; 38 + license = licenses.bsd3; 39 + maintainers = with maintainers; [ wegank ]; 40 + platforms = platforms.unix; 41 + }; 42 + }
+2 -2
pkgs/development/libraries/lib2geom/default.nix
··· 15 15 16 16 stdenv.mkDerivation rec { 17 17 pname = "lib2geom"; 18 - version = "1.2"; 18 + version = "1.2.2"; 19 19 20 20 outputs = [ "out" "dev" ]; 21 21 ··· 23 23 owner = "inkscape"; 24 24 repo = "lib2geom"; 25 25 rev = "refs/tags/${version}"; 26 - sha256 = "sha256-SNo5YT7o29zdxkHLuy9MT88qBg/U1Wwa3BWShF5ACTc="; 26 + sha256 = "sha256-xkUxcAk8KJkL482R7pvgmCT+5I8aUMm/q25pvK3ZPuY="; 27 27 }; 28 28 29 29 patches = [
+57
pkgs/development/libraries/pinocchio/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , boost 6 + , eigen 7 + , urdfdom 8 + , pythonSupport ? false 9 + , python3Packages 10 + }: 11 + 12 + stdenv.mkDerivation rec { 13 + pname = "pinocchio"; 14 + version = "2.6.12"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "stack-of-tasks"; 18 + repo = pname; 19 + rev = "v${version}"; 20 + fetchSubmodules = true; 21 + sha256 = "sha256-DJX/njNX8l7ngSl3yCeN7ZoQaH65pQTsZrKwmY7EZ+E="; 22 + }; 23 + 24 + # error: use of undeclared identifier '__sincos' 25 + postPatch = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) '' 26 + substituteInPlace src/math/sincos.hpp \ 27 + --replace "__APPLE__" "0" 28 + ''; 29 + 30 + strictDeps = true; 31 + 32 + nativeBuildInputs = [ 33 + cmake 34 + ]; 35 + 36 + propagatedBuildInputs = [ 37 + urdfdom 38 + ] ++ lib.optionals (!pythonSupport) [ 39 + boost 40 + eigen 41 + ] ++ lib.optionals pythonSupport [ 42 + python3Packages.boost 43 + python3Packages.eigenpy 44 + ]; 45 + 46 + cmakeFlags = lib.optionals (!pythonSupport) [ 47 + "-DBUILD_PYTHON_INTERFACE=OFF" 48 + ]; 49 + 50 + meta = with lib; { 51 + description = "A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives"; 52 + homepage = "https://github.com/stack-of-tasks/pinocchio"; 53 + license = licenses.bsd2; 54 + maintainers = with maintainers; [ wegank ]; 55 + platforms = platforms.unix; 56 + }; 57 + }
+2 -2
pkgs/development/libraries/pipewire/wireplumber.nix
··· 26 26 in 27 27 stdenv.mkDerivation rec { 28 28 pname = "wireplumber"; 29 - version = "0.4.12"; 29 + version = "0.4.13"; 30 30 31 31 outputs = [ "out" "dev" ] ++ lib.optional enableDocs "doc"; 32 32 ··· 35 35 owner = "pipewire"; 36 36 repo = "wireplumber"; 37 37 rev = version; 38 - sha256 = "sha256-2qM6sX807v/3DZXTuBvUSGV8+cPB87rWYb+HTDCm3kw="; 38 + sha256 = "sha256-Zz8N6OPwZ4Dwaygiy46C3sN9zPGC12+55S/qns+S+h4="; 39 39 }; 40 40 41 41 nativeBuildInputs = [
-5
pkgs/development/libraries/science/math/petsc/default.nix
··· 67 67 68 68 configureScript = "python ./configure"; 69 69 70 - # disable stackprotector on aarch64-darwin for now 71 - # https://github.com/NixOS/nixpkgs/issues/158730 72 - # see https://github.com/NixOS/nixpkgs/issues/127608 for a similar issue 73 - hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ]; 74 - 75 70 enableParallelBuilding = true; 76 71 doCheck = stdenv.hostPlatform == stdenv.buildPlatform; 77 72
+47
pkgs/development/libraries/toml11/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + }: 6 + 7 + stdenv.mkDerivation (finalAttrs: { 8 + pname = "toml11"; 9 + version = "3.7.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "ToruNiina"; 13 + repo = "toml11"; 14 + rev = "v${finalAttrs.version}"; 15 + hash = "sha256-HnhXBvIjo1JXhp+hUQvjs83t5IBVbNN6o3ZGhB4WESQ="; 16 + }; 17 + 18 + nativeBuildInputs = [ 19 + cmake 20 + ]; 21 + 22 + meta = with lib; { 23 + homepage = "https://github.com/ToruNiina/toml11"; 24 + description = "TOML for Modern C++"; 25 + longDescription = '' 26 + toml11 is a C++11 (or later) header-only toml parser/encoder depending 27 + only on C++ standard library. 28 + 29 + - It is compatible to the latest version of TOML v1.0.0. 30 + - It is one of the most TOML standard compliant libraries, tested with 31 + the language agnostic test suite for TOML parsers by BurntSushi. 32 + - It shows highly informative error messages. 33 + - It has configurable container. You can use any random-access containers 34 + and key-value maps as backend containers. 35 + - It optionally preserves comments without any overhead. 36 + - It has configurable serializer that supports comments, inline tables, 37 + literal strings and multiline strings. 38 + - It supports user-defined type conversion from/into toml values. 39 + - It correctly handles UTF-8 sequences, with or without BOM, both on posix 40 + and Windows. 41 + ''; 42 + license = licenses.mit; 43 + maintainers = with maintainers; [ AndersonTorres ]; 44 + platforms = platforms.unix; 45 + }; 46 + }) 47 + # TODO [ AndersonTorres ]: tests
+27 -9
pkgs/development/misc/resholve/default.nix
··· 1 1 { lib 2 - , stdenv 2 + , pkgs 3 3 , pkgsBuildHost 4 4 , ... 5 5 }: 6 6 7 7 let 8 - pkgs = import ../../../.. { 9 - inherit (stdenv.hostPlatform) system; 10 - # Allow python27 with known security issues only for resholve, 11 - # see issue #201859 for the reasoning 12 - # In resholve case this should not be a security issue, 13 - # since it will only be used during build, not runtime 14 - config.permittedInsecurePackages = [ pkgsBuildHost.python27.name ]; 8 + python27' = (pkgsBuildHost.python27.overrideAttrs (old: 9 + { 10 + # Overriding `meta.knownVulnerabilities` here, see #201859 for why it exists 11 + # In resholve case this should not be a security issue, 12 + # since it will only be used during build, not runtime 13 + meta = (old.meta or { }) // { knownVulnerabilities = [ ]; }; 14 + } 15 + )).override { 16 + self = python27'; 17 + pkgsBuildHost = pkgsBuildHost // { python27 = python27'; }; 18 + # strip down that python version as much as possible 19 + openssl = null; 20 + bzip2 = null; 21 + readline = null; 22 + ncurses = null; 23 + gdbm = null; 24 + sqlite = null; 25 + libffi = null; 26 + rebuildBytecode = false; 27 + stripBytecode = true; 28 + strip2to3 = true; 29 + stripConfig = true; 30 + stripIdlelib = true; 31 + stripTests = true; 32 + enableOptimizations = false; 15 33 }; 16 - callPackage = lib.callPackageWith pkgs; 34 + callPackage = lib.callPackageWith (pkgs // { python27 = python27'; }); 17 35 source = callPackage ./source.nix { }; 18 36 deps = callPackage ./deps.nix { }; 19 37 in
+30 -23
pkgs/development/ocaml-modules/pyml/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, ocaml, findlib, utop, python3, stdcompat, ncurses }: 1 + { buildDunePackage 2 + , lib 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , utop 6 + , python3 7 + , stdcompat 8 + }: 2 9 3 - stdenv.mkDerivation rec { 10 + buildDunePackage rec { 4 11 pname = "pyml"; 5 - version = "20220615"; 12 + version = "20220905"; 6 13 7 14 src = fetchFromGitHub { 8 - owner = "thierry-martinez"; 9 - repo = pname; 10 - rev = version; 11 - sha256 = "sha256-my/xn9vrYTcHyjXGBNamgqpBz2/6bTyQHuE9ViVGLjw="; 15 + owner = "thierry-martinez"; 16 + repo = "pyml"; 17 + rev = version; 18 + sha256 = "PL4tFIKQLRutSn9Sf84/ImJv0DqkstNnJaNBqWDTKDQ="; 12 19 }; 13 20 14 - nativeBuildInputs = [ 15 - ocaml 16 - findlib 21 + patches = [ 22 + # Fixes test crash. 23 + # https://github.com/thierry-martinez/pyml/issues/85 24 + (fetchpatch { 25 + url = "https://github.com/thierry-martinez/pyml/commit/a0bc5aca8632bea273f869d622cad2f55e754a7c.patch"; 26 + sha256 = "bOqAokm5DE5rlvkBMQZtwMppRmoK9cvjJeGeP6BusnE="; 27 + excludes = [ 28 + "CHANGES.md" 29 + ]; 30 + }) 17 31 ]; 32 + 18 33 buildInputs = [ 19 34 utop 20 - ncurses 21 35 ]; 22 36 23 37 propagatedBuildInputs = [ ··· 25 39 stdcompat 26 40 ]; 27 41 28 - strictDeps = true; 29 - 30 - buildPhase = '' 31 - make all pymltop pymlutop PREFIX=$out 32 - ''; 42 + checkInputs = [ 43 + python3.pkgs.numpy 44 + ]; 33 45 34 - installPhase = '' 35 - runHook preInstall 36 - mkdir -p $out/bin 37 - mkdir -p $OCAMLFIND_DESTDIR/stublibs 38 - make install PREFIX=$out 39 - runHook postInstall 40 - ''; 46 + strictDeps = true; 41 47 42 48 doCheck = true; 43 49 44 50 meta = { 45 51 description = "OCaml bindings for Python"; 52 + homepage = "https://github.com/thierry-martinez/pyml"; 46 53 license = lib.licenses.bsd2; 47 54 }; 48 55 }
+9 -13
pkgs/development/ocaml-modules/stdcompat/default.nix
··· 1 - { stdenv, lib, fetchurl 2 - , ocaml, findlib 1 + { buildDunePackage 2 + , lib 3 + , fetchurl 3 4 }: 4 5 5 - stdenv.mkDerivation rec { 6 - pname = "ocaml${ocaml.version}-stdcompat"; 7 - version = "18"; 6 + buildDunePackage rec { 7 + pname = "stdcompat"; 8 + version = "19"; 8 9 9 10 src = fetchurl { 10 11 url = "https://github.com/thierry-martinez/stdcompat/releases/download/v${version}/stdcompat-${version}.tar.gz"; 11 - sha256 = "sha256:01y67rndjlzfp5zq0gbqpg9skqq2hfbvhbq9lfhhk5xidr98sfj8"; 12 + sha256 = "sha256-DKQGd4nnIN6SPls6hcA/2Jvc7ivYNpeMU6rYsVc1ClU="; 12 13 }; 13 14 14 - nativeBuildInputs = [ ocaml findlib ]; 15 - 16 15 strictDeps = true; 17 16 18 - # build fails otherwise 19 - enableParallelBuilding = false; 20 - 21 - configureFlags = [ "--libdir=$(OCAMLFIND_DESTDIR)" ]; 17 + # Otherwise ./configure script will run and create files conflicting with dune. 18 + dontConfigure = true; 22 19 23 20 meta = { 24 21 homepage = "https://github.com/thierry-martinez/stdcompat"; 25 22 license = lib.licenses.bsd2; 26 23 maintainers = [ lib.maintainers.vbgl ]; 27 - inherit (ocaml.meta) platforms; 28 24 }; 29 25 }
+49
pkgs/development/python-modules/click-command-tree/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , click 6 + , pytestCheckHook 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "click-command-tree"; 11 + version = "1.1.0"; 12 + format = "setuptools"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "whwright"; 16 + repo = pname; 17 + rev = version; 18 + hash = "sha256-vFOcn+ibyLZnhU3OQMtnHI04UqAY2/CCvhq4EEU4XFo="; 19 + }; 20 + 21 + patches = [ 22 + (fetchpatch { 23 + name = "remove-setup-downloading-flake8.patch"; 24 + url = "https://github.com/whwright/click-command-tree/commit/1ecfcfa29bf01e1131e6ec712bd7338ac1283dc8.patch"; 25 + hash = "sha256-u5jsNfEo1+XNlkVGPCM/rsDPnYko6cr2z2si9nq+sLA="; 26 + }) 27 + ]; 28 + 29 + propagatedBuildInputs = [ 30 + click 31 + ]; 32 + 33 + checkInputs = [ 34 + pytestCheckHook 35 + ]; 36 + 37 + pytestFlagsArray = [ 38 + "tests.py" 39 + ]; 40 + 41 + pythonImportsCheck = [ "click_command_tree" ]; 42 + 43 + meta = with lib; { 44 + description = "click plugin to show the command tree of your CLI"; 45 + homepage = "https://github.com/whwright/click-command-tree"; 46 + license = licenses.mit; 47 + maintainers = with maintainers; [ tjni ]; 48 + }; 49 + }
+44
pkgs/development/python-modules/eigenpy/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , boost 6 + , eigen 7 + , numpy 8 + }: 9 + 10 + stdenv.mkDerivation rec { 11 + pname = "eigenpy"; 12 + version = "2.8.1"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "stack-of-tasks"; 16 + repo = pname; 17 + rev = "v${version}"; 18 + fetchSubmodules = true; 19 + sha256 = "sha256-nofB5TDvEArhPcYe/Pb1LQBC+W6MrE3NuapaZmKIO68="; 20 + }; 21 + 22 + strictDeps = true; 23 + 24 + nativeBuildInputs = [ 25 + cmake 26 + ]; 27 + 28 + buildInputs = [ 29 + boost 30 + ]; 31 + 32 + propagatedBuildInputs = [ 33 + eigen 34 + numpy 35 + ]; 36 + 37 + meta = with lib; { 38 + description = "Bindings between Numpy and Eigen using Boost.Python"; 39 + homepage = "https://github.com/stack-of-tasks/eigenpy"; 40 + license = licenses.bsd2; 41 + maintainers = with maintainers; [ wegank ]; 42 + platforms = platforms.unix; 43 + }; 44 + }
+2 -2
pkgs/development/python-modules/graphene/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "graphene"; 20 - version = "3.2.0"; 20 + version = "3.2.1"; 21 21 format = "setuptools"; 22 22 23 23 disabled = pythonOlder "3.6"; ··· 26 26 owner = "graphql-python"; 27 27 repo = "graphene"; 28 28 rev = "refs/tags/v${version}"; 29 - hash = "sha256-2o/IR6XjnS57D4ZjADrcI18acfJ+Q0zdnXeb5ZeCpM4="; 29 + hash = "sha256-XnrzgPkkFsTgNE9J+eSkD8f5MokKjtZhbbE/dxNZryk="; 30 30 }; 31 31 32 32 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/hahomematic/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "hahomematic"; 18 - version = "2022.12.2"; 18 + version = "2022.12.3"; 19 19 format = "pyproject"; 20 20 21 21 disabled = pythonOlder "3.9"; ··· 24 24 owner = "danielperna84"; 25 25 repo = pname; 26 26 rev = "refs/tags/${version}"; 27 - sha256 = "sha256-mU/YOOYlXNQQyzH2t+XZEi2+w8rzcoxIIxrdwAM4C00="; 27 + sha256 = "sha256-6xCPkB2QydoJrvwgGGJqmGaw38HCAUs2jPBuXoIBC2Q="; 28 28 }; 29 29 30 30 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/jupyterlab/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "jupyterlab"; 13 - version = "3.5.0"; 13 + version = "3.5.1"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.7"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "sha256-4CVWyOobOGljxLRk5GGK7hU8VBawerSBQlyBegMzI6I="; 20 + sha256 = "sha256-WaGy151LPr7k2ZfIvtjPRQ9GDHw19GthOpPwt3ErR/w="; 21 21 }; 22 22 23 23 nativeBuildInputs = [
+1 -1
pkgs/development/python-modules/pycodestyle/default.nix
··· 29 29 pythonImportsCheck = [ "pycodestyle" ]; 30 30 31 31 meta = with lib; { 32 - changelog = "https://github.com/PyCQA/pyflakes/blob/${version}/NEWS.rst"; 32 + changelog = "https://github.com/PyCQA/pycodestyle/blob/${version}/CHANGES.txt"; 33 33 description = "Python style guide checker"; 34 34 homepage = "https://pycodestyle.pycqa.org/"; 35 35 license = licenses.mit;
+10 -25
pkgs/development/python-modules/spsdk/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , dos2unix 6 5 , pythonRelaxDepsHook 7 6 , asn1crypto ··· 9 8 , bincopy 10 9 , bitstring 11 10 , click 11 + , click-command-tree 12 12 , click-option-group 13 13 , cmsis-pack-manager 14 14 , commentjson ··· 33 33 34 34 buildPythonPackage rec { 35 35 pname = "spsdk"; 36 - version = "1.6.3"; 36 + version = "1.8.0"; 37 37 38 38 src = fetchFromGitHub { 39 39 owner = "NXPmicro"; 40 40 repo = pname; 41 41 rev = version; 42 - sha256 = "sha256-JMhd2XdbjEN6SUzFgcBHd/dStiuYeXXis6pfijSfUso="; 42 + hash = "sha256-yCmkOrUe5XqbuHeo7F84j1gmdzpdpCRWdD9V74U64c4="; 43 43 }; 44 44 45 - patches = [ 46 - # https://github.com/NXPmicro/spsdk/pull/43 47 - (fetchpatch { 48 - name = "cryptography-37-compat.patch"; 49 - url = "https://github.com/NXPmicro/spsdk/commit/a85b854de1093de593d27fa64de442224ab2e0fd.patch"; 50 - sha256 = "sha256-4pXV/8RaNuGl7KNdoGD/8YnPQ2ZmUQOjXWA/Yy0Kxu8="; 51 - }) 52 - # https://github.com/NXPmicro/spsdk/pull/41 53 - (fetchpatch { 54 - name = "blhost-click-8-1-compat.patch"; 55 - url = "https://github.com/NXPmicro/spsdk/commit/5112b1b69aa681d265035475e73d28ea0c8cb6ab.patch"; 56 - sha256 = "sha256-Okz6Er6OVuAA5IlB5IabSa/gUSLa+E2Ltd+J3uoIg6o="; 57 - }) 45 + nativeBuildInputs = [ 46 + pythonRelaxDepsHook 58 47 ]; 59 48 60 - nativeBuildInputs = [ pythonRelaxDepsHook ]; 61 49 pythonRelaxDeps = [ 62 50 "bincopy" 63 51 "bitstring" 64 52 "cmsis-pack-manager" 65 - "cryptography" 66 53 "deepmerge" 67 54 "jinja2" 68 55 "pylink-square" 69 56 "pyocd" 70 57 ]; 71 - pythonRemoveDeps = [ "pyocd-pemicro" ]; 58 + 59 + pythonRemoveDeps = [ 60 + "pyocd-pemicro" 61 + ]; 72 62 73 63 propagatedBuildInputs = [ 74 64 asn1crypto ··· 76 66 bincopy 77 67 bitstring 78 68 click 69 + click-command-tree 79 70 click-option-group 80 71 cmsis-pack-manager 81 72 commentjson ··· 99 90 checkInputs = [ 100 91 pytestCheckHook 101 92 voluptuous 102 - ]; 103 - 104 - disabledTests = [ 105 - # tests also fail on debian, so presumable they are broken 106 - "test_elftosb_mbi_signed" 107 - "test_elftosb_sb31" 108 93 ]; 109 94 110 95 pythonImportsCheck = [ "spsdk" ];
+3 -2
pkgs/development/python-modules/zadnegoale/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "zadnegoale"; 16 - version = "0.6.5"; 16 + version = "0.7.0"; 17 17 format = "setuptools"; 18 18 19 19 disabled = pythonOlder "3.8"; ··· 22 22 owner = "bieniu"; 23 23 repo = pname; 24 24 rev = "refs/tags/${version}"; 25 - hash = "sha256-ubBN4jvueNgReNbS+RXNDNHID0MF/rvQnb0+F4/DZaU="; 25 + hash = "sha256-ij8xou8LXC4/BUTApIV6xSgb7ethwLyrHNJvBgxSBYM="; 26 26 }; 27 27 28 28 propagatedBuildInputs = [ ··· 45 45 meta = with lib; { 46 46 description = "Python wrapper for getting allergen concentration data from Żadnego Ale servers"; 47 47 homepage = "https://github.com/bieniu/zadnegoale"; 48 + changelog = "https://github.com/bieniu/zadnegoale/releases/tag/${version}"; 48 49 license = licenses.asl20; 49 50 maintainers = with maintainers; [ fab ]; 50 51 };
+11 -4
pkgs/development/tools/hjson-go/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub }: 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 2 5 3 6 buildGoModule rec { 4 7 pname = "hjson-go"; 5 - version = "4.2.0"; 8 + version = "4.3.0"; 6 9 7 10 src = fetchFromGitHub { 8 11 owner = "hjson"; 9 12 repo = pname; 10 13 rev = "v${version}"; 11 - sha256 = "sha256-bw8dQKwHqEzBpDT+59XjzhxDrA3R0OiEUyIWMULuAQI="; 14 + hash = "sha256-WR6wLa/Za5MgcH1enHG/74uq/7PdaY/OzvJdgMgDFIk="; 12 15 }; 13 16 14 17 vendorSha256 = null; 15 18 16 - ldflags = [ "-s" "-w" ]; 19 + ldflags = [ 20 + "-s" 21 + "-w" 22 + ]; 17 23 18 24 meta = with lib; { 19 25 description = "Utility to convert JSON to and from HJSON"; 20 26 homepage = "https://hjson.github.io/"; 27 + changelog = "https://github.com/hjson/hjson-go/releases/tag/v${version}"; 21 28 maintainers = with maintainers; [ ehmry ]; 22 29 license = licenses.mit; 23 30 mainProgram = "hjson-cli";
+3 -3
pkgs/development/tools/packer/default.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "packer"; 10 - version = "1.8.4"; 10 + version = "1.8.5"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "hashicorp"; 14 14 repo = "packer"; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-m8PKigVm46PN55hchc5a1OUUuhxoGn3e2sMRqqvkPgs="; 16 + sha256 = "sha256-jdJD7AW4IrzVl4BPdsFFrRSdCWX9l4nFM+DWIuxLiJ8="; 17 17 }; 18 18 19 - vendorSha256 = "sha256-hSZCYSV7nMGd5KQsV+Z4ig7vk4j8cZnOvsg0DqPiEvg="; 19 + vendorSha256 = "sha256-ufvWgusTMbM88F3BkJ61KM2wRSdqPOlMKqDSYf7tZQA="; 20 20 21 21 subPackages = [ "." ]; 22 22
+43
pkgs/misc/superd/default.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromSourcehut 4 + , installShellFiles 5 + , scdoc 6 + }: 7 + 8 + buildGoModule rec { 9 + pname = "superd"; 10 + version = "0.7"; 11 + 12 + src = fetchFromSourcehut { 13 + owner = "~craftyguy"; 14 + repo = pname; 15 + rev = version; 16 + hash = "sha256-XSB6qgepWhus15lOP9GzbiNoOCSsy6xLij7ic3LFs1E="; 17 + }; 18 + 19 + vendorHash = "sha256-Oa99U3THyWLjH+kWMQAHO5QAS2mmtY7M7leej+gnEqo="; 20 + 21 + nativeBuildInputs = [ 22 + installShellFiles 23 + scdoc 24 + ]; 25 + 26 + postBuild = '' 27 + make doc 28 + ''; 29 + 30 + postInstall = '' 31 + installManPage superd.1 superd.service.5 superctl.1 32 + installShellCompletion --bash completions/bash/superctl 33 + installShellCompletion --zsh completions/zsh/superctl 34 + ''; 35 + 36 + meta = with lib; { 37 + description = "Unprivileged user service supervisor"; 38 + homepage = "https://sr.ht/~craftyguy/superd/"; 39 + license = licenses.gpl3Plus; 40 + platforms = platforms.linux; 41 + maintainers = with maintainers; [ chuangzhu wentam ]; 42 + }; 43 + }
+2 -2
pkgs/os-specific/linux/sgx/sdk/default.nix
··· 16 16 , nasm 17 17 , ocaml 18 18 , ocamlPackages 19 - , openssl 19 + , openssl_1_1 20 20 , perl 21 21 , python3 22 22 , texinfo ··· 84 84 85 85 buildInputs = [ 86 86 libtool 87 - openssl 87 + openssl_1_1 88 88 ]; 89 89 90 90 BINUTILS_DIR = "${binutils}/bin";
+16 -5
pkgs/shells/zsh/zsh-forgit/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, git, fzf }: 1 + { stdenv, lib, bash, fetchFromGitHub, makeWrapper, fzf, git }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "zsh-forgit"; 5 - version = "22.11.0"; 5 + version = "22.12.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "wfxr"; 9 9 repo = "forgit"; 10 10 rev = version; 11 - sha256 = "ca7EM/F0Spsdr3MbjIVwbjLVXg6/qWGczBQHLCcpU5A="; 11 + sha256 = "0juBNUJW4SU3Cl6ouD+xMYzlCJOL7NAYpueZ6V56/ck="; 12 12 }; 13 13 14 14 strictDeps = true; 15 15 16 16 postPatch = '' 17 17 substituteInPlace forgit.plugin.zsh \ 18 - --replace "fzf " "${fzf}/bin/fzf " \ 19 - --replace "git " "${git}/bin/git " 18 + --replace "\$INSTALL_DIR/bin/git-forgit" "$out/bin/git-forgit" 19 + 20 + substituteInPlace bin/git-forgit \ 21 + --replace "/bin/bash" "${bash}/bin/bash" 20 22 ''; 21 23 22 24 dontBuild = true; 25 + 26 + nativeBuildInputs = [ makeWrapper ]; 23 27 24 28 installPhase = '' 29 + runHook preInstall 30 + 31 + install -D bin/git-forgit $out/bin/git-forgit 25 32 install -D forgit.plugin.zsh $out/share/zsh/${pname}/forgit.plugin.zsh 33 + wrapProgram $out/bin/git-forgit \ 34 + --prefix PATH : ${lib.makeBinPath [ fzf git ]} 35 + 36 + runHook postInstall 26 37 ''; 27 38 28 39 meta = with lib; {
+31
pkgs/tools/misc/ea/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, libiconv }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "dduan"; 5 + version = "0.2.1"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "dduan"; 9 + repo = "ea"; 10 + rev = version; 11 + sha256 = "VXSSe5d7VO3LfjumzN9a7rrKRedOtOzTdLVQWgV1ED8="; 12 + }; 13 + 14 + cargoSha256 = "sha256-QNj24qKZFqG4QXG6rIFV2Y/BNPTXt7HaX7smsJRrdzg="; 15 + 16 + nativeBuildInputs = [ installShellFiles ]; 17 + buildInputs = lib.optionals stdenv.isDarwin [ 18 + libiconv 19 + ]; 20 + 21 + postInstall = '' 22 + installManPage docs/ea.1 23 + ''; 24 + 25 + meta = with lib; { 26 + description = "Makes file paths from CLI output actionable"; 27 + homepage = "https://github.com/dduan/ea"; 28 + license = with licenses; [ mit ]; 29 + maintainers = with maintainers; [ deejayem ]; 30 + }; 31 + }
+8 -4
pkgs/tools/package-management/reuse/default.nix
··· 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "reuse"; 5 - version = "1.0.0"; 5 + version = "1.1.0"; 6 + format = "pyproject"; 6 7 7 8 src = fetchFromGitHub { 8 9 owner = "fsfe"; 9 10 repo = "reuse-tool"; 10 11 rev = "v${version}"; 11 - sha256 = "0yplsbd5251s8cabazbdqb00jqv8ibbgal7fhj5pfxv5lsz17vkv"; 12 + hash = "sha256-bjUDImMFwMhRjCa7XzGlqR8h+KfTsyxonrQlRGgApwo="; 12 13 }; 13 14 15 + nativeBuildInputs = with python3Packages; [ 16 + poetry-core 17 + ]; 18 + 14 19 propagatedBuildInputs = with python3Packages; [ 15 20 binaryornot 16 21 boolean-py 17 22 debian 18 23 jinja2 19 24 license-expression 20 - requests 21 25 setuptools 22 26 setuptools-scm 23 27 ]; ··· 28 32 description = "A tool for compliance with the REUSE Initiative recommendations"; 29 33 homepage = "https://github.com/fsfe/reuse-tool"; 30 34 license = with licenses; [ asl20 cc-by-sa-40 cc0 gpl3Plus ]; 31 - maintainers = [ maintainers.FlorianFranzen ]; 35 + maintainers = with maintainers; [ FlorianFranzen Luflosi ]; 32 36 }; 33 37 }
+19 -1
pkgs/top-level/all-packages.nix
··· 468 468 inherit (darwin.apple_sdk.frameworks) Security; 469 469 }; 470 470 471 + ea = callPackage ../tools/misc/ea { }; 472 + 471 473 each = callPackage ../tools/text/each { }; 472 474 473 475 eclipse-mat = callPackage ../development/tools/eclipse-mat { }; ··· 1962 1964 1963 1965 dlx = callPackage ../applications/emulators/dlx { }; 1964 1966 1965 - dosbox = callPackage ../applications/emulators/dosbox { }; 1967 + dosbox = callPackage ../applications/emulators/dosbox { 1968 + SDL = if stdenv.isDarwin then SDL else SDL_compat; 1969 + }; 1966 1970 1967 1971 dosbox-staging = callPackage ../applications/emulators/dosbox-staging { }; 1968 1972 ··· 12201 12205 12202 12206 threema-desktop = callPackage ../applications/networking/instant-messengers/threema-desktop { }; 12203 12207 12208 + thumbdrives = callPackage ../applications/system/thumbdrives { }; 12209 + 12204 12210 tidy-viewer = callPackage ../tools/text/tidy-viewer { }; 12205 12211 12206 12212 tiled = libsForQt5.callPackage ../applications/editors/tiled { }; ··· 18782 18788 criterion = callPackage ../development/libraries/criterion { }; 18783 18789 18784 18790 croaring = callPackage ../development/libraries/croaring { }; 18791 + 18792 + crocoddyl = callPackage ../development/libraries/crocoddyl { }; 18785 18793 18786 18794 crossguid = callPackage ../development/libraries/crossguid { }; 18787 18795 ··· 18954 18962 18955 18963 liberasurecode = callPackage ../applications/misc/liberasurecode { }; 18956 18964 18965 + example-robot-data = callPackage ../development/libraries/example-robot-data { }; 18966 + 18957 18967 exiv2 = callPackage ../development/libraries/exiv2 { }; 18958 18968 18959 18969 expat = callPackage ../development/libraries/expat { }; ··· 22046 22056 22047 22057 pico-sdk = callPackage ../development/libraries/pico-sdk { }; 22048 22058 22059 + pinocchio = callPackage ../development/libraries/pinocchio { }; 22060 + 22049 22061 pipelight = callPackage ../tools/misc/pipelight { 22050 22062 stdenv = stdenv_32bit; 22051 22063 wine-staging = pkgsi686Linux.wine-staging; ··· 22929 22941 22930 22942 tomlcpp = callPackage ../development/libraries/tomlcpp { }; 22931 22943 22944 + toml11 = callPackage ../development/libraries/toml11 { }; 22945 + 22932 22946 tomlplusplus = callPackage ../development/libraries/tomlplusplus { }; 22933 22947 22934 22948 tokyocabinet = callPackage ../development/libraries/tokyo-cabinet { }; ··· 29292 29306 hactool = callPackage ../tools/compression/hactool { }; 29293 29307 29294 29308 hdhomerun-config-gui = callPackage ../applications/video/hdhomerun-config-gui { }; 29309 + 29310 + headlines = callPackage ../applications/networking/headlines { }; 29295 29311 29296 29312 hedgedoc-cli = callPackage ../tools/admin/hedgedoc-cli { }; 29297 29313 ··· 37136 37152 sticky = callPackage ../applications/misc/sticky { }; 37137 37153 37138 37154 stork = callPackage ../applications/misc/stork { }; 37155 + 37156 + superd = callPackage ../misc/superd { }; 37139 37157 37140 37158 oclgrind = callPackage ../development/tools/analysis/oclgrind { }; 37141 37159
+19
pkgs/top-level/python-packages.nix
··· 1756 1756 1757 1757 clickclick = callPackage ../development/python-modules/clickclick { }; 1758 1758 1759 + click-command-tree = callPackage ../development/python-modules/click-command-tree { }; 1760 + 1759 1761 click-completion = callPackage ../development/python-modules/click-completion { }; 1760 1762 1761 1763 click-configfile = callPackage ../development/python-modules/click-configfile { }; ··· 2021 2023 credstash = callPackage ../development/python-modules/credstash { }; 2022 2024 2023 2025 criticality-score = callPackage ../development/python-modules/criticality-score { }; 2026 + 2027 + crocoddyl = toPythonModule (callPackage ../development/libraries/crocoddyl { 2028 + pythonSupport = true; 2029 + python3Packages = self; 2030 + }); 2024 2031 2025 2032 cron-descriptor = callPackage ../development/python-modules/cron-descriptor { }; 2026 2033 ··· 2887 2894 2888 2895 eggdeps = callPackage ../development/python-modules/eggdeps { }; 2889 2896 2897 + eigenpy = toPythonModule (callPackage ../development/python-modules/eigenpy { }); 2898 + 2890 2899 einops = callPackage ../development/python-modules/einops { }; 2891 2900 2892 2901 eiswarnung = callPackage ../development/python-modules/eiswarnung { }; ··· 3057 3066 evtx = callPackage ../development/python-modules/evtx { }; 3058 3067 3059 3068 ewmh = callPackage ../development/python-modules/ewmh { }; 3069 + 3070 + example-robot-data = toPythonModule (pkgs.example-robot-data.override { 3071 + pythonSupport = true; 3072 + python3Packages = self; 3073 + }); 3060 3074 3061 3075 exdown = callPackage ../development/python-modules/exdown { }; 3062 3076 ··· 6954 6968 pims = callPackage ../development/python-modules/pims { }; 6955 6969 6956 6970 pinboard = callPackage ../development/python-modules/pinboard { }; 6971 + 6972 + pinocchio = toPythonModule (pkgs.pinocchio.override { 6973 + pythonSupport = true; 6974 + python3Packages = self; 6975 + }); 6957 6976 6958 6977 pint = callPackage ../development/python-modules/pint { }; 6959 6978