Merge staging-next into staging

authored by nixpkgs-ci[bot] and committed by GitHub bef2d2e0 dc0dec58

+557 -254
+8 -5
flake.nix
··· 209 209 */ 210 210 legacyPackages = forAllSystems ( 211 211 system: 212 - (import ./. { inherit system; }).extend ( 213 - final: prev: { 214 - lib = prev.lib.extend libVersionInfoOverlay; 215 - } 216 - ) 212 + (import ./. { 213 + inherit system; 214 + overlays = import ./pkgs/top-level/impure-overlays.nix ++ [ 215 + (final: prev: { 216 + lib = prev.lib.extend libVersionInfoOverlay; 217 + }) 218 + ]; 219 + }) 217 220 ); 218 221 219 222 /**
+1 -1
nixos/modules/services/mail/postfix.nix
··· 894 894 ${lib.concatStringsSep "\n" ( 895 895 lib.mapAttrsToList (to: from: '' 896 896 ln -sf ${from} /var/lib/postfix/conf/${to} 897 - ${pkgs.postfix}/bin/postmap /var/lib/postfix/conf/${to} 897 + ${pkgs.postfix}/bin/postmap -o -p /var/lib/postfix/conf/${to} 898 898 '') cfg.mapFiles 899 899 )} 900 900
+6 -1
pkgs/applications/editors/jetbrains/default.nix
··· 37 37 libX11, 38 38 39 39 vmopts ? null, 40 + forceWayland ? false, 40 41 }: 41 42 42 43 let ··· 83 84 inherit 84 85 pname 85 86 jdk 86 - extraWrapperArgs 87 87 extraBuildInputs 88 88 ; 89 + extraWrapperArgs = 90 + extraWrapperArgs 91 + ++ lib.optionals (stdenv.hostPlatform.isLinux && forceWayland) [ 92 + ''--add-flags "\''${WAYLAND_DISPLAY:+-Dawt.toolkit.name=WLToolkit}"'' 93 + ]; 89 94 extraLdPath = extraLdPath ++ lib.optionals (stdenv.hostPlatform.isLinux) [ libGL ]; 90 95 src = 91 96 if fromSource then
+3 -3
pkgs/applications/emulators/libretro/cores/dosbox-pure.nix
··· 5 5 }: 6 6 mkLibretroCore { 7 7 core = "dosbox-pure"; 8 - version = "0-unstable-2025-06-16"; 8 + version = "0-unstable-2025-07-10"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "schellingb"; 12 12 repo = "dosbox-pure"; 13 - rev = "8c48d34327f5ffc44892899cf2567feaa9bbf72a"; 14 - hash = "sha256-u5kxj4Sl7LpivEuNhTec8Z2u3Dw/X8xFDBQ++hQAtFc="; 13 + rev = "92894e7bdb6304d23278dc77f8a9fa7212450f6e"; 14 + hash = "sha256-uA/pm3DyT0VCyq85DzZGXjSGrKQ9uoEIfrs839ta97s="; 15 15 }; 16 16 17 17 hardeningDisable = [ "format" ];
+3 -3
pkgs/applications/emulators/libretro/cores/play.nix
··· 14 14 }: 15 15 mkLibretroCore { 16 16 core = "play"; 17 - version = "0-unstable-2025-07-01"; 17 + version = "0-unstable-2025-07-09"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "jpd002"; 21 21 repo = "Play-"; 22 - rev = "5fa3b71304aec0d2a70569bd38c87433f719e6ce"; 23 - hash = "sha256-t61xAqghmOmZJzAxU2Ez1ALQ8jjuHZKwmrNoRA9L+4k="; 22 + rev = "ae9afb4e45e8de35382fb98c55d13dec9fcf8ed8"; 23 + hash = "sha256-HWKhgGChPGhRmrXXbjEvBt0coGpQ1JAPUTd8Ze4yKww="; 24 24 fetchSubmodules = true; 25 25 }; 26 26
+7
pkgs/by-name/db/dbus-test-runner/package.nix
··· 12 12 pkg-config, 13 13 python3, 14 14 xvfb-run, 15 + gettext, 15 16 }: 16 17 17 18 stdenv.mkDerivation (finalAttrs: { ··· 24 25 sha256 = "sha256-4yH19X98SVqpviCBIWzIX6FYHWxCbREpuKCNjQuTFDk="; 25 26 }; 26 27 28 + patches = [ 29 + # glib gettext is deprecated and broken, so use regular gettext instead 30 + ./use-regular-gettext.patch 31 + ]; 32 + 27 33 postPatch = '' 28 34 patchShebangs tests/test-wait-outputer 29 35 ··· 39 45 nativeBuildInputs = [ 40 46 autoreconfHook 41 47 glib # for autoconf macro, gtester, gdbus 48 + gettext 42 49 intltool 43 50 pkg-config 44 51 ];
+12
pkgs/by-name/db/dbus-test-runner/use-regular-gettext.patch
··· 1 + --- a/configure.ac 2 + +++ b/configure.ac 3 + @@ -46,7 +46,8 @@ GETTEXT_PACKAGE=dbus-test-runner 4 + AC_SUBST(GETTEXT_PACKAGE) 5 + AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the default gettext domain]) 6 + 7 + -AM_GLIB_GNU_GETTEXT 8 + +AM_GNU_GETTEXT([external]) 9 + +AM_GNU_GETTEXT_VERSION([0.21]) 10 + 11 + ########################### 12 + # gcov coverage reporting
+3 -24
pkgs/by-name/ed/edk2/package.nix
··· 61 61 }) 62 62 ]; 63 63 64 + # FIXME: unvendor OpenSSL again once upstream updates 65 + # to a compatible version. 66 + # Upstream PR: https://github.com/tianocore/edk2/pull/10946 64 67 postPatch = '' 65 - # de-vendor OpenSSL 66 - rm -r CryptoPkg/Library/OpensslLib/openssl 67 - mkdir -p CryptoPkg/Library/OpensslLib/openssl 68 - ( 69 - cd CryptoPkg/Library/OpensslLib/openssl 70 - tar --strip-components=1 -xf ${buildPackages.openssl.src} 71 - 72 - # Apply OpenSSL patches. 73 - ${lib.pipe buildPackages.openssl.patches [ 74 - (builtins.filter ( 75 - patch: 76 - !builtins.elem (baseNameOf patch) [ 77 - # Exclude patches not required in this context. 78 - "nix-ssl-cert-file.patch" 79 - "openssl-disable-kernel-detection.patch" 80 - "use-etc-ssl-certs-darwin.patch" 81 - "use-etc-ssl-certs.patch" 82 - ] 83 - )) 84 - (map (patch: "patch -p1 < ${patch}\n")) 85 - lib.concatStrings 86 - ]} 87 - ) 88 - 89 68 # enable compilation using Clang 90 69 # https://bugzilla.tianocore.org/show_bug.cgi?id=4620 91 70 substituteInPlace BaseTools/Conf/tools_def.template --replace-fail \
+2 -2
pkgs/by-name/ge/gersemi/package.nix
··· 6 6 7 7 python3Packages.buildPythonApplication rec { 8 8 pname = "gersemi"; 9 - version = "0.19.3"; 9 + version = "0.20.1"; 10 10 format = "pyproject"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "BlankSpruce"; 14 14 repo = "gersemi"; 15 15 tag = version; 16 - hash = "sha256-CVb6ibO5+Tp0o+nB+bo9G9OKyB4L05wN1QiB9J4bOqY="; 16 + hash = "sha256-6lBUP+xi0owlD33TLTOlaIFBcfWTnsniK/9cQdo/ND4="; 17 17 }; 18 18 19 19 build-system = with python3Packages; [
+3 -3
pkgs/by-name/gh/ghostfolio/package.nix
··· 11 11 12 12 buildNpmPackage rec { 13 13 pname = "ghostfolio"; 14 - version = "2.176.0"; 14 + version = "2.181.0"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "ghostfolio"; 18 18 repo = "ghostfolio"; 19 19 tag = version; 20 - hash = "sha256-T14omi5NkMCrqiXF+gSi6ELEdfH4QMp7luJtuCWhGM4="; 20 + hash = "sha256-+oDR+VSR0bGbTJIqNCe1WN1QWm+sEtMIuy/mNhumeyk="; 21 21 # populate values that require us to use git. By doing this in postFetch we 22 22 # can delete .git afterwards and maintain better reproducibility of the src. 23 23 leaveDotGit = true; ··· 27 27 ''; 28 28 }; 29 29 30 - npmDepsHash = "sha256-0vFH4gdrtaBca1lWxm2uZ1VerP4hJEJgBQzygDbja3I="; 30 + npmDepsHash = "sha256-vcn9vhpQlacfIxHFt8G67aB91nTr9IClvA9pb+4XFFI="; 31 31 32 32 nativeBuildInputs = [ 33 33 prisma
+2 -2
pkgs/by-name/ha/haproxy/package.nix
··· 42 42 in 43 43 stdenv.mkDerivation (finalAttrs: { 44 44 pname = "haproxy"; 45 - version = "3.2.1"; 45 + version = "3.2.3"; 46 46 47 47 src = fetchurl { 48 48 url = "https://www.haproxy.org/download/${lib.versions.majorMinor finalAttrs.version}/src/haproxy-${finalAttrs.version}.tar.gz"; 49 - hash = "sha256-uz+Wenl8iFHQhoPsQ9+v5K179a2G+msHIcrQM+qeWuU="; 49 + hash = "sha256-r472Qoa93ckyMsXb5OpDaozLXchBfPoeiFvsUohPk0c="; 50 50 }; 51 51 52 52 buildInputs =
+2 -2
pkgs/by-name/ko/koboldcpp/package.nix
··· 41 41 in 42 42 effectiveStdenv.mkDerivation (finalAttrs: { 43 43 pname = "koboldcpp"; 44 - version = "1.94"; 44 + version = "1.95.1"; 45 45 46 46 src = fetchFromGitHub { 47 47 owner = "LostRuins"; 48 48 repo = "koboldcpp"; 49 49 tag = "v${finalAttrs.version}"; 50 - hash = "sha256-qWH8yGjDTkMPLHjfMopfQKyBA5T1HHgllEH9Joceq3s="; 50 + hash = "sha256-aoVOEPK3hPuzkrHIFvDrnAw2D/OxXlRLXXP0CZJghx4="; 51 51 }; 52 52 53 53 enableParallelBuilding = true;
+2 -2
pkgs/by-name/lu/luau/package.nix
··· 9 9 10 10 stdenv.mkDerivation (finalAttrs: { 11 11 pname = "luau"; 12 - version = "0.681"; 12 + version = "0.682"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "luau-lang"; 16 16 repo = "luau"; 17 17 tag = finalAttrs.version; 18 - hash = "sha256-pqKvh08AybuVATNQOzV14wI0GsOVzxskgeol1JA9dg8="; 18 + hash = "sha256-yHmcUDBgNKcOg6ZW/fP7ZatdkCgG1y1ECRUbnZ7wHZY="; 19 19 }; 20 20 21 21 nativeBuildInputs = [ cmake ];
+12 -6
pkgs/by-name/ma/macpm/package.nix
··· 8 8 python3Packages.buildPythonApplication { 9 9 pname = "macpm"; 10 10 version = "0.24-unstable-2024-11-19"; 11 - format = "setuptools"; 11 + pyproject = true; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "visualcjy"; ··· 17 17 hash = "sha256-jqaPPvYbuL8q6grmBLyZLf8aDmjugYxMOWAh1Ix82jc="; 18 18 }; 19 19 20 + build-system = with python3Packages; [ 21 + setuptools 22 + ]; 23 + 24 + dependencies = with python3Packages; [ 25 + dashing 26 + humanize 27 + psutil 28 + ]; 29 + 20 30 # has no tests 21 31 doCheck = false; 22 32 ··· 25 35 ln -rs $out/bin/macpm $out/bin/asitop 26 36 ''; 27 37 28 - dependencies = with python3Packages; [ 29 - dashing 30 - humanize 31 - psutil 32 - ]; 38 + pythonImportsCheck = [ "macpm" ]; 33 39 34 40 meta = { 35 41 description = "Perf monitoring CLI tool for Apple Silicon; previously named 'asitop'";
+7 -2
pkgs/by-name/ma/mapproxy/package.nix
··· 8 8 python3Packages.buildPythonApplication rec { 9 9 pname = "mapproxy"; 10 10 version = "5.0.0"; 11 - format = "setuptools"; 11 + pyproject = true; 12 12 disabled = python3Packages.pythonOlder "3.8"; 13 13 14 14 src = fetchFromGitHub { ··· 22 22 substituteInPlace mapproxy/util/ext/serving.py --replace-warn "args = [sys.executable] + sys.argv" "args = sys.argv" 23 23 ''; 24 24 25 + build-system = with python3Packages; [ setuptools ]; 26 + 27 + pythonRemoveDeps = [ "future" ]; 28 + 25 29 dependencies = with python3Packages; [ 26 30 boto3 # needed for caches service 27 31 jsonschema ··· 31 35 shapely 32 36 gdal 33 37 lxml 34 - setuptools 35 38 werkzeug 36 39 ]; 37 40 ··· 39 42 # 1) Dependency list is huge. 40 43 # https://github.com/mapproxy/mapproxy/blob/master/requirements-tests.txt 41 44 doCheck = false; 45 + 46 + pythonImportsCheck = [ "mapproxy" ]; 42 47 43 48 meta = { 44 49 description = "Open source proxy for geospatial data";
+8 -2
pkgs/by-name/ma/mastodon-archive/package.nix
··· 7 7 python3.pkgs.buildPythonApplication rec { 8 8 pname = "mastodon-archive"; 9 9 version = "1.4.2"; 10 - format = "setuptools"; 10 + pyproject = true; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "kensanata"; ··· 16 16 hash = "sha256-b4bYQshz7mwxEfpRYV7ze4C8hz58R9cVp58wHvGFb0A="; 17 17 }; 18 18 19 - propagatedBuildInputs = with python3.pkgs; [ 19 + build-system = with python3.pkgs; [ 20 + setuptools 21 + ]; 22 + 23 + dependencies = with python3.pkgs; [ 20 24 html2text 21 25 mastodon-py 22 26 progress ··· 24 28 25 29 # There is no test 26 30 doCheck = false; 31 + 32 + pythonImportsCheck = [ "mastodon_archive" ]; 27 33 28 34 meta = with lib; { 29 35 description = "Utility for backing up your Mastodon content";
+5 -1
pkgs/by-name/md/md-tangle/package.nix
··· 7 7 python3.pkgs.buildPythonPackage rec { 8 8 pname = "md-tangle"; 9 9 version = "1.4.4"; 10 - format = "setuptools"; 10 + pyproject = true; 11 11 12 12 # By some strange reason, fetchPypi fails miserably 13 13 src = fetchFromGitHub { ··· 17 17 hash = "sha256-PkOKSsyY8uwS4mhl0lB+KGeUvXfEc7PUDHZapHMYv4c="; 18 18 }; 19 19 20 + build-system = with python3.pkgs; [ setuptools ]; 21 + 20 22 # Pure Python application, uses only standard modules and comes without 21 23 # testing suite 22 24 doCheck = false; 25 + 26 + pythonImportsCheck = [ "md_tangle" ]; 23 27 24 28 meta = with lib; { 25 29 homepage = "https://github.com/joakimmj/md-tangle/";
+5 -1
pkgs/by-name/md/mdslides/package.nix
··· 7 7 python3Packages.buildPythonApplication { 8 8 pname = "mdslides"; 9 9 version = "unstable-2022-12-15"; 10 - format = "setuptools"; 10 + pyproject = true; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "dadoomer"; ··· 16 16 sha256 = "sha256-31ALsy1P/vfI+H6Onmg4TXLeKbVAQ1FlnFs4k6ZOgHQ="; 17 17 }; 18 18 19 + build-system = with python3Packages; [ setuptools ]; 20 + 19 21 doCheck = false; 22 + 23 + pythonImportsCheck = [ "mdslides" ]; 20 24 21 25 meta = with lib; { 22 26 longDescription = "Using markdown, write simple but beautiful presentations with math, animations and media, which can be visualized in a web browser or exported to PDF.";
+3 -1
pkgs/by-name/me/me_cleaner/package.nix
··· 7 7 python3.pkgs.buildPythonPackage rec { 8 8 pname = "me_cleaner"; 9 9 version = "1.2"; 10 - format = "setuptools"; 10 + pyproject = true; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "corna"; ··· 15 15 rev = "v${version}"; 16 16 sha256 = "1bdj2clm13ir441vn7sv860xsc5gh71ja5lc2wn0gggnff0adxj4"; 17 17 }; 18 + 19 + build-system = with python3.pkgs; [ setuptools ]; 18 20 19 21 meta = with lib; { 20 22 inherit (src.meta) homepage;
+8 -13
pkgs/by-name/mi/mimeo/package.nix
··· 12 12 python3Packages.buildPythonApplication { 13 13 pname = "mimeo"; 14 14 inherit version; 15 - format = "setuptools"; 15 + pyproject = true; 16 16 17 17 src = fetchurl { 18 18 url = "https://xyne.dev/projects/mimeo/src/mimeo-${version}.tar.xz"; 19 19 hash = "sha256-CahvSypwR1aHVDHTdtty1ZfaKBWPolxc73uZ5OyeqZA="; 20 20 }; 21 21 22 - buildInputs = [ 23 - file 24 - desktop-file-utils 25 - ]; 22 + build-system = [ python3Packages.setuptools ]; 26 23 27 - propagatedBuildInputs = [ python3Packages.pyxdg ]; 24 + dependencies = [ python3Packages.pyxdg ]; 28 25 29 - preConfigure = '' 26 + postPatch = '' 30 27 substituteInPlace Mimeo.py \ 31 - --replace "EXE_UPDATE_DESKTOP_DATABASE = 'update-desktop-database'" \ 32 - "EXE_UPDATE_DESKTOP_DATABASE = '${desktop-file-utils}/bin/update-desktop-database'" \ 33 - --replace "EXE_FILE = 'file'" \ 34 - "EXE_FILE = '${file}/bin/file'" 28 + --replace-fail "EXE_UPDATE_DESKTOP_DATABASE = 'update-desktop-database'" \ 29 + "EXE_UPDATE_DESKTOP_DATABASE = '${desktop-file-utils}/bin/update-desktop-database'" \ 30 + --replace-fail "EXE_FILE = 'file'" \ 31 + "EXE_FILE = '${file}/bin/file'" 35 32 ''; 36 - 37 - installPhase = "install -Dm755 Mimeo.py $out/bin/mimeo"; 38 33 39 34 doInstallCheck = true; 40 35 installCheckPhase = ''
+8 -3
pkgs/by-name/ml/mlarchive2maildir/package.nix
··· 7 7 python3.pkgs.buildPythonApplication rec { 8 8 pname = "mlarchive2maildir"; 9 9 version = "0.0.9"; 10 - format = "setuptools"; 10 + pyproject = true; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 14 sha256 = "02zjwa7zbcbqj76l0qmg7bbf3fqli60pl2apby3j4zwzcrrryczs"; 15 15 }; 16 16 17 - nativeBuildInputs = with python3.pkgs; [ setuptools-scm ]; 17 + build-system = with python3.pkgs; [ 18 + setuptools 19 + setuptools-scm 20 + ]; 18 21 19 - propagatedBuildInputs = with python3.pkgs; [ 22 + dependencies = with python3.pkgs; [ 20 23 beautifulsoup4 21 24 click 22 25 click-log 23 26 requests 24 27 six 25 28 ]; 29 + 30 + pythonImportsCheck = [ "mlarchive2maildir" ]; 26 31 27 32 meta = with lib; { 28 33 homepage = "https://github.com/flokli/mlarchive2maildir";
+5 -6
pkgs/by-name/ml/mloader/package.nix
··· 7 7 python3Packages.buildPythonApplication rec { 8 8 pname = "mloader"; 9 9 version = "1.1.12"; 10 - format = "setuptools"; 10 + pyproject = true; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 14 hash = "sha256-0o4FvhuFudNSEL6fwBVqxldaNePbbidY9utDqXiLRNc="; 15 15 }; 16 16 17 - postPatch = '' 18 - substituteInPlace setup.py \ 19 - --replace "protobuf~=3.6" "protobuf" 20 - ''; 17 + build-system = with python3Packages; [ setuptools ]; 18 + 19 + pythonRelaxDeps = [ "protobuf" ]; 21 20 22 - propagatedBuildInputs = with python3Packages; [ 21 + dependencies = with python3Packages; [ 23 22 click 24 23 protobuf 25 24 requests
+2 -2
pkgs/by-name/mo/mold/package.nix
··· 26 26 27 27 stdenv.mkDerivation (finalAttrs: { 28 28 pname = "mold"; 29 - version = "2.40.1"; 29 + version = "2.40.2"; 30 30 31 31 src = fetchFromGitHub { 32 32 owner = "rui314"; 33 33 repo = "mold"; 34 34 tag = "v${finalAttrs.version}"; 35 - hash = "sha256-161ATZkgoipFMRcI4x4TNqxbyWxM75Cmo/rL4Hn1JFQ="; 35 + hash = "sha256-Db2IxHCQWb6JdJROi+nOi0pV4zb+8/TcFrJWUCdH6N8="; 36 36 }; 37 37 38 38 nativeBuildInputs = [
+6 -2
pkgs/by-name/mo/mongoaudit/package.nix
··· 7 7 python3.pkgs.buildPythonApplication rec { 8 8 pname = "mongoaudit"; 9 9 version = "0.1.1"; 10 - format = "setuptools"; 10 + pyproject = true; 11 11 12 12 disabled = python3.pythonOlder "3.8"; 13 13 ··· 18 18 sha256 = "17k4vw5d3kr961axl49ywid4cf3n7zxvm885c4lv15w7s2al1425"; 19 19 }; 20 20 21 - propagatedBuildInputs = with python3.pkgs; [ 21 + build-system = with python3.pkgs; [ 22 + setuptools 23 + ]; 24 + 25 + dependencies = with python3.pkgs; [ 22 26 pymongo 23 27 setuptools 24 28 urwid
+6 -2
pkgs/by-name/mo/moodle-dl/package.nix
··· 8 8 python3Packages.buildPythonApplication rec { 9 9 pname = "moodle-dl"; 10 10 version = "2.3.13"; 11 - format = "setuptools"; 11 + pyproject = true; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "C0D3D3V"; ··· 17 17 hash = "sha256-6arwc72gu7XyT6HokSEs2TkvE2FG7mIvy4F+/i/0eJg="; 18 18 }; 19 19 20 - propagatedBuildInputs = with python3Packages; [ 20 + build-system = with python3Packages; [ setuptools ]; 21 + 22 + dependencies = with python3Packages; [ 21 23 aiodns 22 24 aiofiles 23 25 aiohttp ··· 34 36 35 37 # upstream has no tests 36 38 doCheck = false; 39 + 40 + pythonImportsCheck = [ "moodle_dl" ]; 37 41 38 42 passthru.updateScript = gitUpdater { }; 39 43
+5 -2
pkgs/by-name/mp/mpfshell/package.nix
··· 7 7 python3Packages.buildPythonPackage { 8 8 pname = "mpfshell-unstable"; 9 9 version = "2020-04-11"; 10 - format = "setuptools"; 10 + pyproject = true; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "wendlers"; ··· 16 16 sha256 = "0md6ih9vp65dacqy8gki3b2p4v76xb9ijqmxymk4b4f9z684x2m7"; 17 17 }; 18 18 19 - propagatedBuildInputs = with python3Packages; [ 19 + build-system = with python3Packages; [ setuptools ]; 20 + 21 + dependencies = with python3Packages; [ 20 22 pyserial 21 23 colorama 22 24 websocket-client 25 + standard-telnetlib # Python no longer provides telnetlib since python313 23 26 ]; 24 27 25 28 doCheck = false;
+6 -2
pkgs/by-name/mu/mutmut/package.nix
··· 7 7 python3Packages.buildPythonApplication rec { 8 8 pname = "mutmut"; 9 9 version = "3.2.0"; 10 - format = "setuptools"; 10 + pyproject = true; 11 11 12 12 src = fetchFromGitHub { 13 13 repo = "mutmut"; ··· 24 24 25 25 doCheck = false; 26 26 27 - propagatedBuildInputs = with python3Packages; [ 27 + build-system = with python3Packages; [ setuptools ]; 28 + 29 + dependencies = with python3Packages; [ 28 30 click 29 31 parso 30 32 junit-xml 31 33 setproctitle 32 34 textual 33 35 ]; 36 + 37 + pythonImportsCheck = [ "mutmut" ]; 34 38 35 39 meta = { 36 40 description = "mutation testing system for Python, with a strong focus on ease of use";
+7 -4
pkgs/by-name/mu/mutt-ics/package.nix
··· 4 4 fetchPypi, 5 5 }: 6 6 7 - with python3.pkgs; 8 - buildPythonApplication rec { 7 + python3.pkgs.buildPythonApplication rec { 9 8 pname = "mutt-ics"; 10 9 version = "0.9.2"; 11 - format = "setuptools"; 10 + pyproject = true; 12 11 13 12 src = fetchPypi { 14 13 inherit version; ··· 16 15 sha256 = "d44d4bec4e71c7f14df01b90fdb9563cdc784ece4250abfea5b0b675cfe85a50"; 17 16 }; 18 17 19 - propagatedBuildInputs = [ icalendar ]; 18 + build-system = with python3.pkgs; [ setuptools ]; 19 + 20 + dependencies = with python3.pkgs; [ icalendar ]; 21 + 22 + pythonImportsCheck = [ "mutt_ics" ]; 20 23 21 24 meta = with lib; { 22 25 homepage = "https://github.com/dmedvinsky/mutt-ics";
+6 -2
pkgs/by-name/my/mymcplus/package.nix
··· 8 8 python3Packages.buildPythonApplication rec { 9 9 pname = "mymcplus"; 10 10 version = "3.0.5"; 11 - format = "setuptools"; 11 + pyproject = true; 12 12 13 13 src = fetchFromSourcehut { 14 14 owner = "~thestr4ng3r"; ··· 21 21 wrapGAppsHook3 22 22 ]; 23 23 24 - propagatedBuildInputs = with python3Packages; [ 24 + build-system = with python3Packages; [ setuptools ]; 25 + 26 + dependencies = with python3Packages; [ 25 27 pyopengl 26 28 wxpython 27 29 ]; 30 + 31 + pythonImportsCheck = [ "mymcplus" ]; 28 32 29 33 meta = with lib; { 30 34 homepage = "https://git.sr.ht/~thestr4ng3r/mymcplus";
+1 -1
pkgs/by-name/na/nagstamon/package.nix
··· 8 8 python3Packages.buildPythonApplication rec { 9 9 pname = "nagstamon"; 10 10 version = "3.16.2"; 11 - format = "setuptools"; 11 + pyproject = true; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "HenriWahl";
+8 -2
pkgs/by-name/nb/nbstripout/package.nix
··· 10 10 11 11 python3.pkgs.buildPythonApplication rec { 12 12 version = "0.8.1"; 13 - format = "setuptools"; 13 + pyproject = true; 14 14 pname = "nbstripout"; 15 15 16 16 src = fetchPypi { ··· 25 25 hash = "sha256-OSJLrWkYQIhcdyofS3Bo39ppsU6K3A4546UKB8Q1GGg="; 26 26 }; 27 27 28 - propagatedBuildInputs = with python3.pkgs; [ 28 + build-system = with python3.pkgs; [ 29 + setuptools 30 + ]; 31 + 32 + dependencies = with python3.pkgs; [ 29 33 nbformat 30 34 ]; 31 35 ··· 52 56 chmod -R +w $TMPDIR/e2e_notebooks 53 57 substituteInPlace tests/test_end_to_end.py --replace "tests/e2e_notebooks" "$TMPDIR/e2e_notebooks" 54 58 ''; 59 + 60 + pythonImportsCheck = [ "nbstripout" ]; 55 61 56 62 meta = { 57 63 description = "Strip output from Jupyter and IPython notebooks";
+4 -2
pkgs/by-name/nb/nbutools/package.nix
··· 7 7 python3.pkgs.buildPythonApplication { 8 8 pname = "nbutools"; 9 9 version = "unstable-2023-06-06"; 10 - format = "setuptools"; 10 + pyproject = true; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "airbus-seclab"; ··· 16 16 hash = "sha256-YOiFlTIDpeTFOHPU37v0pYf8s3HdaE/4pnd9qrsFtSI="; 17 17 }; 18 18 19 - propagatedBuildInputs = with python3.pkgs; [ 19 + build-system = with python3.pkgs; [ setuptools ]; 20 + 21 + dependencies = with python3.pkgs; [ 20 22 aiodns 21 23 aiohttp 22 24 beautifulsoup4
+5 -4
pkgs/by-name/ne/nemo-emblems/package.nix
··· 8 8 python3.pkgs.buildPythonApplication rec { 9 9 pname = "nemo-emblems"; 10 10 version = "6.4.0"; 11 + pyproject = true; 11 12 12 13 # nixpkgs-update: no auto update 13 14 src = fetchFromGitHub { ··· 17 18 hash = "sha256-39hWA4SNuEeaPA6D5mWMHjJDs4hYK7/ZdPkTyskvm5Y="; 18 19 }; 19 20 20 - format = "setuptools"; 21 - 22 21 sourceRoot = "${src.name}/nemo-emblems"; 23 22 24 23 postPatch = '' 25 24 substituteInPlace setup.py \ 26 - --replace "/usr/share" "share" 25 + --replace-fail "/usr/share" "share" 27 26 28 27 substituteInPlace nemo-extension/nemo-emblems.py \ 29 - --replace "/usr/share/locale" "${cinnamon-translations}/share/locale" 28 + --replace-fail "/usr/share/locale" "${cinnamon-translations}/share/locale" 30 29 ''; 30 + 31 + build-system = with python3.pkgs; [ setuptools ]; 31 32 32 33 meta = with lib; { 33 34 homepage = "https://github.com/linuxmint/nemo-extensions/tree/master/nemo-emblems";
+9 -6
pkgs/by-name/ne/neovim-remote/package.nix
··· 1 1 { 2 2 lib, 3 + stdenv, 3 4 fetchFromGitHub, 4 5 python3, 5 6 neovim, 6 7 fetchpatch, 7 8 }: 8 9 9 - with python3.pkgs; 10 - buildPythonApplication rec { 10 + python3.pkgs.buildPythonApplication rec { 11 11 pname = "neovim-remote"; 12 12 version = "2.5.1"; 13 - format = "setuptools"; 13 + pyproject = true; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "mhinz"; ··· 27 27 }) 28 28 ]; 29 29 30 - propagatedBuildInputs = [ 30 + build-system = with python3.pkgs; [ setuptools ]; 31 + 32 + dependencies = with python3.pkgs; [ 31 33 pynvim 32 34 psutil 33 - setuptools 34 35 ]; 35 36 36 37 nativeCheckInputs = [ 37 38 neovim 38 - pytestCheckHook 39 + python3.pkgs.pytestCheckHook 39 40 ]; 40 41 41 42 doCheck = !stdenv.hostPlatform.isDarwin; ··· 43 44 preCheck = '' 44 45 export HOME="$(mktemp -d)" 45 46 ''; 47 + 48 + pythonImportsCheck = [ "nvr" ]; 46 49 47 50 meta = with lib; { 48 51 description = "Tool that helps controlling nvim processes from a terminal";
+6 -2
pkgs/by-name/ni/nix-bisect/package.nix
··· 10 10 in 11 11 python3.pkgs.buildPythonApplication { 12 12 inherit pname version; 13 - format = "setuptools"; 13 + pyproject = true; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "timokau"; ··· 19 19 hash = "sha256-zyeE1jYo/9NEG8fB4gQBAR01siP4tyLvjjHN1yUS4Ug="; 20 20 }; 21 21 22 - propagatedBuildInputs = with python3.pkgs; [ 22 + build-system = with python3.pkgs; [ setuptools ]; 23 + 24 + dependencies = with python3.pkgs; [ 23 25 appdirs 24 26 numpy 25 27 pexpect 26 28 ]; 27 29 28 30 doCheck = false; 31 + 32 + pythonImportsCheck = [ "nix_bisect" ]; 29 33 30 34 meta = with lib; { 31 35 description = "Bisect nix builds";
+11 -4
pkgs/by-name/no/norminette/package.nix
··· 7 7 python3Packages.buildPythonApplication rec { 8 8 pname = "norminette"; 9 9 version = "3.3.58"; 10 - format = "setuptools"; 10 + pyproject = true; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "42School"; ··· 16 16 hash = "sha256-6hBBbfW2PQFb8rcDihvtWK0df7WcvOk0il1E82GOxaU="; 17 17 }; 18 18 19 + build-system = with python3Packages; [ 20 + poetry-core 21 + ]; 22 + 23 + pythonRemoveDeps = [ 24 + # Can be removed once https://github.com/42school/norminette/issues/565 is addressed 25 + "argparse" 26 + ]; 27 + 19 28 nativeCheckInputs = with python3Packages; [ 20 29 pytestCheckHook 21 30 ]; 22 31 23 - preCheck = '' 24 - export PYTHONPATH=norminette:$PYTHONPATH 25 - ''; 32 + pythonImportsCheck = [ "norminette" ]; 26 33 27 34 meta = with lib; { 28 35 description = "Open source norminette to apply 42's norme to C files";
+7 -6
pkgs/by-name/no/nototools/package.nix
··· 8 8 python3Packages.buildPythonApplication rec { 9 9 pname = "nototools"; 10 10 version = "0.2.20"; 11 - format = "setuptools"; 11 + pyproject = true; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "googlefonts"; ··· 17 17 sha256 = "sha256-id4UhyWOFHrtmBZHhnaY2jHDIK0s7rcGBpg4QsBTLKs="; 18 18 }; 19 19 20 - postPatch = '' 21 - sed -i 's/use_scm_version=.*,/version="${version}",/' setup.py 22 - ''; 23 - 24 - build-system = with python3Packages; [ setuptools-scm ]; 20 + build-system = with python3Packages; [ 21 + setuptools 22 + setuptools-scm 23 + ]; 25 24 26 25 pythonRemoveDeps = [ 27 26 # https://github.com/notofonts/nototools/pull/901 ··· 71 70 postInstall = '' 72 71 cp -r third_party $out 73 72 ''; 73 + 74 + pythonImportsCheck = [ "nototools" ]; 74 75 75 76 meta = with lib; { 76 77 description = "Noto fonts support tools and scripts plus web site generation";
+8 -8
pkgs/by-name/no/nox/package.nix
··· 2 2 lib, 3 3 python3Packages, 4 4 fetchurl, 5 - git, 6 5 }: 7 6 8 7 python3Packages.buildPythonApplication rec { 9 8 pname = "nox"; 10 9 version = "0.0.6"; 11 - format = "setuptools"; 12 - namePrefix = ""; 10 + pyproject = true; 13 11 14 12 src = fetchurl { 15 13 url = "mirror://pypi/n/nix-nox/nix-nox-${version}.tar.gz"; ··· 18 16 19 17 patches = [ ./nox-review-wip.patch ]; 20 18 21 - buildInputs = [ 22 - python3Packages.pbr 23 - git 19 + build-system = with python3Packages; [ 20 + setuptools 21 + pbr 24 22 ]; 25 23 26 - propagatedBuildInputs = with python3Packages; [ 24 + dependencies = with python3Packages; [ 27 25 dogpile-cache 28 26 click 29 27 requests 30 28 characteristic 31 - setuptools 29 + setuptools # pkg_resources is imported during runtime 32 30 ]; 31 + 32 + pythonImportsCheck = [ "nox" ]; 33 33 34 34 meta = { 35 35 homepage = "https://github.com/madjar/nox";
+7 -3
pkgs/by-name/np/npm-lockfile-fix/package.nix
··· 8 8 python3.pkgs.buildPythonApplication rec { 9 9 pname = "npm-lockfile-fix"; 10 10 version = "0.1.1"; 11 - format = "setuptools"; 11 + pyproject = true; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "jeslie0"; ··· 17 17 hash = "sha256-P93OowrVkkOfX5XKsRsg0c4dZLVn2ZOonJazPmHdD7g="; 18 18 }; 19 19 20 - propagatedBuildInputs = [ 21 - python3.pkgs.requests 20 + build-system = with python3.pkgs; [ 21 + setuptools 22 + ]; 23 + 24 + dependencies = with python3.pkgs; [ 25 + requests 22 26 ]; 23 27 24 28 doCheck = false; # no tests
+6 -2
pkgs/by-name/nt/ntfy/package.nix
··· 27 27 pname = "ntfy"; 28 28 version = "2.7.0"; 29 29 30 - format = "setuptools"; 30 + pyproject = true; 31 31 32 32 src = fetchFromGitHub { 33 33 owner = "dschep"; ··· 73 73 postPatch = '' 74 74 # We disable the Darwin specific things because it relies on pyobjc, which we don't have. 75 75 substituteInPlace setup.py \ 76 - --replace "':sys_platform == \"darwin\"'" "'darwin'" 76 + --replace-fail "':sys_platform == \"darwin\"'" "'darwin'" 77 77 ''; 78 78 79 + build-system = with python.pkgs; [ setuptools ]; 80 + 79 81 dependencies = 80 82 with python.pkgs; 81 83 ( ··· 122 124 preCheck = '' 123 125 export HOME=$(mktemp -d) 124 126 ''; 127 + 128 + pythonImportsCheck = [ "ntfy" ]; 125 129 126 130 meta = with lib; { 127 131 description = "Utility for sending notifications, on demand and when commands finish";
+6 -3
pkgs/by-name/nt/ntfy/webpush.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 + setuptools, 5 6 pywebpush, 6 7 py-vapid, 7 8 }: ··· 9 10 buildPythonPackage rec { 10 11 pname = "ntfy-webpush"; 11 12 version = "0.1.3"; 12 - format = "setuptools"; 13 + pyproject = true; 13 14 14 15 src = fetchFromGitHub { 15 16 owner = "dschep"; ··· 21 22 postPatch = '' 22 23 # break dependency loop 23 24 substituteInPlace setup.py \ 24 - --replace "'ntfy', " "" 25 + --replace-fail "'ntfy', " "" 25 26 ''; 26 27 27 - propagatedBuildInputs = [ 28 + build-system = [ setuptools ]; 29 + 30 + dependencies = [ 28 31 pywebpush 29 32 py-vapid 30 33 ];
+4 -2
pkgs/by-name/nt/ntlmrecon/package.nix
··· 7 7 python3.pkgs.buildPythonApplication rec { 8 8 pname = "ntlmrecon"; 9 9 version = "0.4"; 10 - format = "setuptools"; 10 + pyproject = true; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "pwnfoo"; ··· 16 16 sha256 = "0rrx49li2l9xlcax84qxjf60nbzp3fgq77c36yqmsp0pc9i89ah6"; 17 17 }; 18 18 19 - propagatedBuildInputs = with python3.pkgs; [ 19 + build-system = with python3.pkgs; [ setuptools ]; 20 + 21 + dependencies = with python3.pkgs; [ 20 22 colorama 21 23 iptools 22 24 requests
+5 -1
pkgs/by-name/nv/nvitop/package.nix
··· 8 8 python3Packages.buildPythonApplication rec { 9 9 pname = "nvitop"; 10 10 version = "1.5.1"; 11 - format = "setuptools"; 11 + pyproject = true; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "XuehaiPan"; ··· 16 16 tag = "v${version}"; 17 17 hash = "sha256-FQbY9j6eJtupBiYTSCEJHAAlpDltb6U5hgWet42AKho="; 18 18 }; 19 + 20 + build-system = with python3Packages; [ setuptools ]; 19 21 20 22 pythonRelaxDeps = [ "nvidia-ml-py" ]; 21 23 ··· 29 31 versionCheckHook 30 32 ]; 31 33 versionCheckProgramArg = "--version"; 34 + 35 + pythonImportsCheck = [ "nvitop" ]; 32 36 33 37 meta = { 34 38 description = "Interactive NVIDIA-GPU process viewer, the one-stop solution for GPU process management";
+7 -3
pkgs/by-name/nv/nvpy/package.nix
··· 8 8 pythonPackages = python3Packages; 9 9 in 10 10 pythonPackages.buildPythonApplication rec { 11 - version = "2.3.1"; 12 - format = "setuptools"; 13 11 pname = "nvpy"; 12 + version = "2.3.1"; 13 + pyproject = true; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "cpbotha"; ··· 19 19 sha256 = "sha256-guNdLu/bCk89o5M3gQU7J0W4h7eZdLHM0FG5IAPLE7c="; 20 20 }; 21 21 22 - propagatedBuildInputs = with pythonPackages; [ 22 + build-system = with pythonPackages; [ setuptools ]; 23 + 24 + dependencies = with pythonPackages; [ 23 25 markdown 24 26 docutils 25 27 simplenote ··· 36 38 install -dm755 "$out/share/doc/nvpy/" 37 39 install -m644 README.rst "$out/share/doc/nvpy/README" 38 40 ''; 41 + 42 + pythonImportsCheck = [ "nvpy" ]; 39 43 40 44 meta = with pkgs.lib; { 41 45 description = "Simplenote-syncing note-taking tool inspired by Notational Velocity";
+3 -1
pkgs/by-name/nw/nwg-clipman/package.nix
··· 14 14 python3Packages.buildPythonPackage rec { 15 15 pname = "nwg-clipman"; 16 16 version = "0.2.6"; 17 - format = "setuptools"; 17 + pyproject = true; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "nwg-piotr"; ··· 54 54 ''; 55 55 56 56 strictDeps = true; 57 + 58 + pythonImportsCheck = [ "nwg_clipman" ]; 57 59 58 60 passthru.updateScript = nix-update-script { }; 59 61
+4 -2
pkgs/by-name/nw/nwg-wrapper/package.nix
··· 12 12 python3Packages.buildPythonPackage rec { 13 13 pname = "nwg-wrapper"; 14 14 version = "0.1.3"; 15 - format = "setuptools"; 15 + pyproject = true; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "nwg-piotr"; ··· 31 31 gtk-layer-shell 32 32 ]; 33 33 34 - propagatedBuildInputs = with python3Packages; [ 34 + build-system = with python3Packages; [ setuptools ]; 35 + 36 + dependencies = with python3Packages; [ 35 37 i3ipc 36 38 pygobject3 37 39 ];
+7 -5
pkgs/by-name/ny/nyx/package.nix
··· 4 4 fetchPypi, 5 5 }: 6 6 7 - with python3Packages; 8 - 9 - buildPythonApplication rec { 7 + python3Packages.buildPythonApplication rec { 10 8 pname = "nyx"; 11 9 version = "2.1.0"; 12 - format = "setuptools"; 10 + pyproject = true; 13 11 14 12 src = fetchPypi { 15 13 inherit pname version; 16 14 sha256 = "02rrlllz2ci6i6cs3iddyfns7ang9a54jrlygd2jw1f9s6418ll8"; 17 15 }; 18 16 19 - propagatedBuildInputs = [ stem ]; 17 + build-system = with python3Packages; [ setuptools ]; 18 + 19 + dependencies = with python3Packages; [ stem ]; 20 20 21 21 # ./run_tests.py returns `TypeError: testFailure() takes exactly 1 argument` 22 22 doCheck = false; 23 + 24 + pythonImportsCheck = [ "nyx" ]; 23 25 24 26 meta = with lib; { 25 27 description = "Command-line monitor for Tor";
+5 -5
pkgs/by-name/py/pybibget/package.nix
··· 4 4 fetchPypi, 5 5 }: 6 6 7 - let 7 + python3.pkgs.buildPythonApplication rec { 8 8 pname = "pybibget"; 9 9 version = "0.1.0"; 10 + pyproject = true; 10 11 11 12 src = fetchPypi { 12 13 inherit pname version; 13 14 hash = "sha256-M6CIctTOVn7kIPmsoHQmYl2wQaUzfel7ryw/3ebQitg="; 14 15 }; 15 16 16 - in 17 - python3.pkgs.buildPythonApplication { 18 - inherit pname version src; 19 - pyproject = true; 17 + build-system = [ 18 + python3.pkgs.setuptools 19 + ]; 20 20 21 21 propagatedBuildInputs = with python3.pkgs; [ 22 22 lxml
+2 -2
pkgs/by-name/re/redpanda-client/package.nix
··· 7 7 stdenv, 8 8 }: 9 9 let 10 - version = "25.1.6"; 10 + version = "25.1.7"; 11 11 src = fetchFromGitHub { 12 12 owner = "redpanda-data"; 13 13 repo = "redpanda"; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-Cl2coxcK2f53uJnC5CBkqJ/oAQ+jpvjo2vknKqx7FXQ="; 15 + sha256 = "sha256-GRWLEzf0YfSk96oDCuthMNmu0C1KJCk10Uz7eApS4mk="; 16 16 }; 17 17 in 18 18 buildGoModule rec {
+3 -3
pkgs/by-name/ro/roddhjav-apparmor-rules/package.nix
··· 7 7 8 8 stdenvNoCC.mkDerivation { 9 9 pname = "roddhjav-apparmor-rules"; 10 - version = "0-unstable-2025-06-21"; 10 + version = "0-unstable-2025-07-12"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "roddhjav"; 14 14 repo = "apparmor.d"; 15 - rev = "1aee62f52cb02cbdb054c233a350f4f07d828e48"; 16 - hash = "sha256-5gK2JTct89HrjJHAVAPxEUyKf6ukHExFgNb3Os4kv9M="; 15 + rev = "8fc70859aaef7cc20181ac6d115a6ff8ca5a9162"; 16 + hash = "sha256-MbbjiLa24PxaD7ZizR2CbTPy6yDFZTAV3QurFyYb3r8="; 17 17 }; 18 18 19 19 dontConfigure = true;
+8 -7
pkgs/by-name/ti/tiny-dfr/package.nix
··· 7 7 gdk-pixbuf, 8 8 glib, 9 9 libinput, 10 + librsvg, 10 11 libxml2, 11 12 pango, 12 13 udev, ··· 15 16 16 17 rustPlatform.buildRustPackage rec { 17 18 pname = "tiny-dfr"; 18 - version = "0.3.2"; 19 + version = "0.3.5"; 19 20 20 21 src = fetchFromGitHub { 21 - owner = "WhatAmISupposedToPutHere"; 22 + owner = "AsahiLinux"; 22 23 repo = "tiny-dfr"; 23 - rev = "v${version}"; 24 - hash = "sha256-5u5jyoDEt7aMs8/8QrhrUrUzFJJCNayqbN2WrMhUCV4="; 24 + tag = "v${version}"; 25 + hash = "sha256-G4OeYZH3VF6fKWxHYLTmwzQmQ4JupgYNH/6aJSgINvg="; 25 26 }; 26 27 27 - useFetchCargoVendor = true; 28 - cargoHash = "sha256-9UlH2W8wNzdZJxIgOafGylliS2RjaBlpirxSWHJ/SIQ="; 28 + cargoHash = "sha256-/PtoAc2ZNJfW5gegcFQAAlEmjSMysZ+QebVfHtW35Nk="; 29 29 30 30 nativeBuildInputs = [ 31 31 pkg-config ··· 36 36 gdk-pixbuf 37 37 glib 38 38 libinput 39 + librsvg 39 40 libxml2 40 41 pango 41 42 udev ··· 55 56 doInstallCheck = true; 56 57 57 58 meta = with lib; { 58 - homepage = "https://github.com/WhatAmISupposedToPutHere/tiny-dfr"; 59 + homepage = "https://github.com/AsahiLinux/tiny-dfr"; 59 60 description = "Most basic dynamic function row daemon possible"; 60 61 license = [ 61 62 licenses.asl20
+38 -5
pkgs/development/perl-modules/Percona-Toolkit/default.nix
··· 7 7 DBI, 8 8 IOSocketSSL, 9 9 TermReadKey, 10 + go, 11 + buildGoModule, 12 + git, 10 13 }: 11 14 12 - buildPerlPackage rec { 13 - pname = "Percona-Toolkit"; 14 - version = "3.2.0"; 15 + let 16 + version = "3.7.0"; 15 17 16 18 src = fetchFromGitHub { 17 19 owner = "percona"; 18 20 repo = "percona-toolkit"; 19 21 rev = "v${version}"; 20 - sha256 = "084ldpskvlfm32lfss5qqzm5y9b8hf029aa4i5pcnzgb53xaxkqx"; 22 + sha256 = "sha256-fJGeL9XZHTFmpns5CE7It35HRnF3JiC6muOpOS1zboI="; 23 + 24 + # needed for build script 25 + leaveDotGit = true; 21 26 }; 22 27 28 + goDeps = 29 + (buildGoModule { 30 + pname = "Percona-Toolkit go-bindings"; 31 + inherit src version; 32 + 33 + vendorHash = "sha256-HAaoVYK6av085zSG0ZRpbmUgEA2UEt7CGWF/834e+z4="; 34 + }).goModules; 35 + in 36 + buildPerlPackage { 37 + pname = "Percona-Toolkit"; 38 + 39 + inherit src version; 40 + 23 41 outputs = [ "out" ]; 24 42 25 - nativeBuildInputs = [ shortenPerlShebang ]; 43 + nativeBuildInputs = [ 44 + git 45 + shortenPerlShebang 46 + ]; 26 47 27 48 buildInputs = [ 28 49 DBDmysql 50 + go 29 51 DBI 30 52 IOSocketSSL 31 53 TermReadKey 32 54 ]; 55 + 56 + postPatch = '' 57 + cp -r --reflink=auto ${goDeps} vendor 58 + chmod -R u+rw vendor 59 + substituteInPlace src/go/Makefile \ 60 + --replace-fail "go get ./..." "echo 'Skipping go get due to offline build'" 61 + ''; 62 + 63 + preBuild = '' 64 + export HOME=$TMPDIR 65 + ''; 33 66 34 67 postInstall = '' 35 68 shortenPerlShebang $(grep -l "/bin/env perl" $out/bin/*)
+27 -13
pkgs/development/python-modules/pybtex/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchPypi, 5 + 6 + # build-system 7 + setuptools, 8 + 9 + # dependencies 5 10 latexcodec, 6 11 pyyaml, 7 - setuptools, 12 + 13 + # tests 14 + pytestCheckHook, 8 15 }: 9 16 10 17 buildPythonPackage rec { 11 - version = "0.24.0"; 12 - format = "setuptools"; 13 18 pname = "pybtex"; 19 + version = "0.25.1"; 20 + pyproject = true; 14 21 15 - doCheck = false; 16 - pythonImportsCheck = [ "pybtex" ]; 22 + src = fetchPypi { 23 + inherit version pname; 24 + sha256 = "sha256-nq+QJnx+g+Ilr4n+plw3Cvv2X0WCINOUap4wSeHspJE="; 25 + }; 17 26 18 - propagatedBuildInputs = [ 27 + build-system = [ 28 + setuptools 29 + ]; 30 + 31 + dependencies = [ 19 32 latexcodec 20 33 pyyaml 21 - setuptools 22 34 ]; 23 35 24 - src = fetchPypi { 25 - inherit version pname; 26 - sha256 = "818eae35b61733e5c007c3fcd2cfb75ed1bc8b4173c1f70b56cc4c0802d34755"; 27 - }; 36 + pythonImportsCheck = [ "pybtex" ]; 28 37 29 - meta = with lib; { 38 + nativeCheckInputs = [ 39 + pytestCheckHook 40 + ]; 41 + 42 + meta = { 30 43 homepage = "https://pybtex.org/"; 44 + changelog = "https://bitbucket.org/pybtex-devs/pybtex/src/master/CHANGES"; 31 45 description = "BibTeX-compatible bibliography processor written in Python"; 32 - license = licenses.mit; 46 + license = lib.licenses.mit; 33 47 }; 34 48 }
+1
pkgs/development/python-modules/pymatgen/default.nix
··· 171 171 172 172 # attempt to insert nil object from objects[1] 173 173 "test_timer_10_2_7" 174 + "test_timer" 174 175 ]; 175 176 176 177 disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
+2 -2
pkgs/development/python-modules/sphinxcontrib-bibtex/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "sphinxcontrib-bibtex"; 19 - version = "2.6.3"; 19 + version = "2.6.5"; 20 20 pyproject = true; 21 21 22 22 disabled = pythonOlder "3.7"; ··· 25 25 owner = "mcmtroffaes"; 26 26 repo = "sphinxcontrib-bibtex"; 27 27 tag = version; 28 - hash = "sha256-cqz5Jamtlflo5rFhWPCPlYoymApUtXPG4oTRjfDI+WY="; 28 + hash = "sha256-sT23DkIfJcb3cFBFdL31RRzlDoJRcCUYIdpUVuYjGuo="; 29 29 }; 30 30 31 31 build-system = [ setuptools ];
+84
pkgs/development/python-modules/svgdigitizer/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + stdenv, 6 + 7 + # build-system 8 + setuptools, 9 + 10 + # dependencies 11 + astropy, 12 + click, 13 + frictionless, 14 + matplotlib, 15 + mergedeep, 16 + pandas, 17 + pillow, 18 + pybtex, 19 + pymupdf, 20 + pyyaml, 21 + scipy, 22 + svg-path, 23 + svgpathtools, 24 + svgwrite, 25 + 26 + # tests 27 + pytestCheckHook, 28 + }: 29 + 30 + buildPythonPackage rec { 31 + pname = "svgdigitizer"; 32 + version = "0.12.6"; 33 + pyproject = true; 34 + 35 + src = fetchFromGitHub { 36 + owner = "echemdb"; 37 + repo = "svgdigitizer"; 38 + tag = version; 39 + hash = "sha256-aodPjms92+/6bbheIs/8w+M4T+mfw5PWf1dsxFuojwA="; 40 + }; 41 + 42 + build-system = [ 43 + setuptools 44 + ]; 45 + 46 + dependencies = [ 47 + astropy 48 + click 49 + frictionless 50 + matplotlib 51 + mergedeep 52 + pandas 53 + pillow 54 + pybtex 55 + pymupdf 56 + pyyaml 57 + scipy 58 + svg-path 59 + svgpathtools 60 + svgwrite 61 + ]; 62 + 63 + nativeCheckInputs = [ 64 + pytestCheckHook 65 + ]; 66 + pytestFlags = [ 67 + "--doctest-modules" 68 + "svgdigitizer" 69 + ]; 70 + 71 + pythonImportsCheck = [ 72 + "svgdigitizer" 73 + ]; 74 + 75 + meta = { 76 + description = "(x,y) Data Points from SVG files"; 77 + homepage = "https://github.com/echemdb/svgdigitizer"; 78 + changelog = "https://github.com/echemdb/svgdigitizer/blob/${src.rev}/ChangeLog"; 79 + license = lib.licenses.gpl3Only; 80 + maintainers = with lib.maintainers; [ doronbehar ]; 81 + # https://github.com/echemdb/svgdigitizer/issues/252 82 + broken = stdenv.hostPlatform.isDarwin; 83 + }; 84 + }
+54
pkgs/development/python-modules/svgpathtools/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + 6 + # build-system 7 + setuptools, 8 + 9 + # dependencies 10 + numpy, 11 + scipy, 12 + svgwrite, 13 + 14 + # tests 15 + pytestCheckHook, 16 + }: 17 + 18 + buildPythonPackage rec { 19 + pname = "svgpathtools"; 20 + version = "1.7.1"; 21 + pyproject = true; 22 + 23 + src = fetchFromGitHub { 24 + owner = "mathandy"; 25 + repo = "svgpathtools"; 26 + tag = "v${version}"; 27 + hash = "sha256-SzYssDJ+uGb5zXZ16XaMCvIPF8BKJ4VVI/gUghz1IyA="; 28 + }; 29 + 30 + build-system = [ 31 + setuptools 32 + ]; 33 + 34 + dependencies = [ 35 + numpy 36 + scipy 37 + svgwrite 38 + ]; 39 + 40 + nativeCheckInputs = [ 41 + pytestCheckHook 42 + ]; 43 + 44 + pythonImportsCheck = [ 45 + "svgpathtools" 46 + ]; 47 + 48 + meta = { 49 + description = "A collection of tools for manipulating and analyzing SVG Path objects and Bezier curves"; 50 + homepage = "https://github.com/mathandy/svgpathtools"; 51 + license = lib.licenses.mit; 52 + maintainers = with lib.maintainers; [ doronbehar ]; 53 + }; 54 + }
+2 -2
pkgs/development/python-modules/uiprotect/default.nix
··· 40 40 41 41 buildPythonPackage rec { 42 42 pname = "uiprotect"; 43 - version = "7.14.1"; 43 + version = "7.14.2"; 44 44 pyproject = true; 45 45 46 46 disabled = pythonOlder "3.10"; ··· 49 49 owner = "uilibs"; 50 50 repo = "uiprotect"; 51 51 tag = "v${version}"; 52 - hash = "sha256-e5VfG20hl+SGssNsLMoQ2ULJAcVS6gahNkC6XqRuXb0="; 52 + hash = "sha256-amCE5y/4tAdrvlk6ZSa6QaG9XuLnFfz1ml1r/H80fdE="; 53 53 }; 54 54 55 55 build-system = [ poetry-core ];
+2
pkgs/development/python-modules/zigpy/default.nix
··· 76 76 disabledTestPaths = [ 77 77 # Tests require network access 78 78 "tests/ota/test_ota_providers.py" 79 + # All tests fail to shutdown thread during teardown 80 + "tests/ota/test_ota_matching.py" 79 81 ]; 80 82 81 83 pythonImportsCheck = [
+2 -2
pkgs/development/tools/devpi-server/default.nix
··· 32 32 33 33 buildPythonApplication rec { 34 34 pname = "devpi-server"; 35 - version = "6.14.0"; 35 + version = "6.15.0"; 36 36 pyproject = true; 37 37 38 38 disabled = pythonOlder "3.7"; ··· 41 41 owner = "devpi"; 42 42 repo = "devpi"; 43 43 rev = "server-${version}"; 44 - hash = "sha256-j8iILbptUw8DUE9lFpjDp/VYzdJzmOYqM/RCnkpWdcA="; 44 + hash = "sha256-tKR1xZju5bDbFu8t3SunTM8FlaXodSm/OjJ3Jfl7Dzk="; 45 45 }; 46 46 47 47 sourceRoot = "${src.name}/server";
+61
pkgs/top-level/impure-overlays.nix
··· 1 + /** 2 + This file has as its value the list of overlays, as determined from the environment. 3 + If Nix evaluation is [pure](https://nix.dev/manual/nix/latest/command-ref/conf-file.html?highlight=pure-eval#conf-pure-eval), then the list is empty. 4 + */ 5 + let 6 + # Return ‘x’ if it evaluates, or ‘def’ if it throws an exception. 7 + try = 8 + x: def: 9 + let 10 + res = builtins.tryEval x; 11 + in 12 + if res.success then res.value else def; 13 + homeDir = builtins.getEnv "HOME"; 14 + 15 + isDir = path: builtins.pathExists (path + "/."); 16 + pathOverlays = try (toString <nixpkgs-overlays>) ""; 17 + homeOverlaysFile = homeDir + "/.config/nixpkgs/overlays.nix"; 18 + homeOverlaysDir = homeDir + "/.config/nixpkgs/overlays"; 19 + overlays = 20 + path: 21 + # check if the path is a directory or a file 22 + if isDir path then 23 + # it's a directory, so the set of overlays from the directory, ordered lexicographically 24 + let 25 + content = builtins.readDir path; 26 + in 27 + map (n: import (path + ("/" + n))) ( 28 + builtins.filter ( 29 + n: 30 + ( 31 + builtins.match ".*\\.nix" n != null 32 + && 33 + # ignore Emacs lock files (.#foo.nix) 34 + builtins.match "\\.#.*" n == null 35 + ) 36 + || builtins.pathExists (path + ("/" + n + "/default.nix")) 37 + ) (builtins.attrNames content) 38 + ) 39 + else 40 + # it's a file, so the result is the contents of the file itself 41 + import path; 42 + in 43 + if pathOverlays != "" && builtins.pathExists pathOverlays then 44 + overlays pathOverlays 45 + else if builtins.pathExists homeOverlaysFile && builtins.pathExists homeOverlaysDir then 46 + throw '' 47 + Nixpkgs overlays can be specified with ${homeOverlaysFile} or ${homeOverlaysDir}, but not both. 48 + Please remove one of them and try again. 49 + '' 50 + else if builtins.pathExists homeOverlaysFile then 51 + if isDir homeOverlaysFile then 52 + throw (homeOverlaysFile + " should be a file") 53 + else 54 + overlays homeOverlaysFile 55 + else if builtins.pathExists homeOverlaysDir then 56 + if !(isDir homeOverlaysDir) then 57 + throw (homeOverlaysDir + " should be a directory") 58 + else 59 + overlays homeOverlaysDir 60 + else 61 + [ ]
+1 -57
pkgs/top-level/impure.nix
··· 7 7 8 8 homeDir = builtins.getEnv "HOME"; 9 9 10 - # Return ‘x’ if it evaluates, or ‘def’ if it throws an exception. 11 - try = 12 - x: def: 13 - let 14 - res = builtins.tryEval x; 15 - in 16 - if res.success then res.value else def; 17 - 18 10 in 19 11 20 12 { ··· 50 42 # Overlays are used to extend Nixpkgs collection with additional 51 43 # collections of packages. These collection of packages are part of the 52 44 # fix-point made by Nixpkgs. 53 - overlays ? 54 - let 55 - isDir = path: builtins.pathExists (path + "/."); 56 - pathOverlays = try (toString <nixpkgs-overlays>) ""; 57 - homeOverlaysFile = homeDir + "/.config/nixpkgs/overlays.nix"; 58 - homeOverlaysDir = homeDir + "/.config/nixpkgs/overlays"; 59 - overlays = 60 - path: 61 - # check if the path is a directory or a file 62 - if isDir path then 63 - # it's a directory, so the set of overlays from the directory, ordered lexicographically 64 - let 65 - content = builtins.readDir path; 66 - in 67 - map (n: import (path + ("/" + n))) ( 68 - builtins.filter ( 69 - n: 70 - ( 71 - builtins.match ".*\\.nix" n != null 72 - && 73 - # ignore Emacs lock files (.#foo.nix) 74 - builtins.match "\\.#.*" n == null 75 - ) 76 - || builtins.pathExists (path + ("/" + n + "/default.nix")) 77 - ) (builtins.attrNames content) 78 - ) 79 - else 80 - # it's a file, so the result is the contents of the file itself 81 - import path; 82 - in 83 - if pathOverlays != "" && builtins.pathExists pathOverlays then 84 - overlays pathOverlays 85 - else if builtins.pathExists homeOverlaysFile && builtins.pathExists homeOverlaysDir then 86 - throw '' 87 - Nixpkgs overlays can be specified with ${homeOverlaysFile} or ${homeOverlaysDir}, but not both. 88 - Please remove one of them and try again. 89 - '' 90 - else if builtins.pathExists homeOverlaysFile then 91 - if isDir homeOverlaysFile then 92 - throw (homeOverlaysFile + " should be a file") 93 - else 94 - overlays homeOverlaysFile 95 - else if builtins.pathExists homeOverlaysDir then 96 - if !(isDir homeOverlaysDir) then 97 - throw (homeOverlaysDir + " should be a directory") 98 - else 99 - overlays homeOverlaysDir 100 - else 101 - [ ], 45 + overlays ? import ./impure-overlays.nix, 102 46 103 47 crossOverlays ? [ ], 104 48
+4
pkgs/top-level/python-packages.nix
··· 17370 17370 17371 17371 svg2tikz = callPackage ../development/python-modules/svg2tikz { }; 17372 17372 17373 + svgdigitizer = callPackage ../development/python-modules/svgdigitizer { }; 17374 + 17373 17375 svgelements = callPackage ../development/python-modules/svgelements { }; 17374 17376 17375 17377 svglib = callPackage ../development/python-modules/svglib { }; 17378 + 17379 + svgpathtools = callPackage ../development/python-modules/svgpathtools { }; 17376 17380 17377 17381 svgutils = callPackage ../development/python-modules/svgutils { }; 17378 17382