Merge staging-next into staging

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

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