diff --git a/pkgs/by-name/ea/easyeda2kicad/package.nix b/pkgs/by-name/ea/easyeda2kicad/package.nix index db16be875449..01aa63f5fc89 100644 --- a/pkgs/by-name/ea/easyeda2kicad/package.nix +++ b/pkgs/by-name/ea/easyeda2kicad/package.nix @@ -7,15 +7,18 @@ python3Packages.buildPythonPackage rec { pname = "easyeda2kicad"; version = "0.8.0"; - format = "setuptools"; + format = "pyproject"; src = fetchPypi { inherit pname version; hash = "sha256-p4G+bRB29uBohqQpI3PrkwyZId5McJ1t2Ru26hBPSks="; }; - dependencies = with python3Packages; [ + build-system = with python3Packages; [ setuptools + ]; + + dependencies = with python3Packages; [ pydantic requests ]; diff --git a/pkgs/by-name/en/endgame-singularity/package.nix b/pkgs/by-name/en/endgame-singularity/package.nix index 4736be067c4d..21fd5c4faff5 100644 --- a/pkgs/by-name/en/endgame-singularity/package.nix +++ b/pkgs/by-name/en/endgame-singularity/package.nix @@ -25,14 +25,19 @@ let in python3.pkgs.buildPythonApplication { - format = "setuptools"; + format = "pyproject"; inherit pname version; srcs = [ main_src ] ++ lib.optional enableDefaultMusicPack music_src; sourceRoot = main_src.name; nativeBuildInputs = [ unzip ]; # The music is zipped - propagatedBuildInputs = with python3.pkgs; [ + + build-system = with python3.pkgs; [ + setuptools + ]; + + dependencies = with python3.pkgs; [ pygame numpy polib diff --git a/pkgs/by-name/ep/epr/package.nix b/pkgs/by-name/ep/epr/package.nix index 4169920893a2..520237e7e018 100644 --- a/pkgs/by-name/ep/epr/package.nix +++ b/pkgs/by-name/ep/epr/package.nix @@ -7,7 +7,7 @@ python3Packages.buildPythonApplication rec { pname = "epr"; version = "2.4.13"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "wustho"; @@ -16,6 +16,10 @@ python3Packages.buildPythonApplication rec { sha256 = "sha256-1qsqYlqGlCRhl7HINrcTDt5bGlb7g5PmaERylT+UvEg="; }; + build-system = with python3Packages; [ + setuptools + ]; + meta = with lib; { description = "CLI Epub Reader"; mainProgram = "epr"; diff --git a/pkgs/by-name/er/errbot/package.nix b/pkgs/by-name/er/errbot/package.nix index 51f8e9916b5d..071643f5ab1c 100644 --- a/pkgs/by-name/er/errbot/package.nix +++ b/pkgs/by-name/er/errbot/package.nix @@ -8,7 +8,7 @@ python3.pkgs.buildPythonApplication rec { pname = "errbot"; version = "6.2.0"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "errbotio"; @@ -17,9 +17,13 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-UdqzBrlcb9NkuVo8ChADJmaKevadoGLyZUrckStb5ko="; }; + build-system = with python3.pkgs; [ + setuptools + ]; + pythonRelaxDeps = true; - propagatedBuildInputs = with python3.pkgs; [ + dependencies = with python3.pkgs; [ ansi colorlog daemonize diff --git a/pkgs/by-name/es/escrotum/package.nix b/pkgs/by-name/es/escrotum/package.nix index 306fe110ee5a..87a42a0f18df 100644 --- a/pkgs/by-name/es/escrotum/package.nix +++ b/pkgs/by-name/es/escrotum/package.nix @@ -9,11 +9,10 @@ wrapGAppsHook3, }: -with python3Packages; -buildPythonApplication { +python3Packages.buildPythonApplication { pname = "escrotum"; version = "unstable-2020-12-07"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "Roger"; @@ -32,7 +31,11 @@ buildPythonApplication { wrapGAppsHook3 ]; - propagatedBuildInputs = [ + build-system = with python3Packages; [ + setuptools + ]; + + dependencies = with python3Packages; [ pygobject3 xcffib pycairo diff --git a/pkgs/by-name/et/etesync-dav/package.nix b/pkgs/by-name/et/etesync-dav/package.nix index 6c9edf44299c..8f88134a4c11 100644 --- a/pkgs/by-name/et/etesync-dav/package.nix +++ b/pkgs/by-name/et/etesync-dav/package.nix @@ -9,7 +9,7 @@ python3Packages.buildPythonApplication rec { pname = "etesync-dav"; version = "0.34.0"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "etesync"; @@ -18,6 +18,10 @@ python3Packages.buildPythonApplication rec { hash = "sha256-+rNqyksOmDUh0OuvgEDWv6tuZQkn1gizz35Ptr6izos="; }; + build-system = with python3Packages; [ setuptools ]; + + pythonRelaxDeps = [ "radicale" ]; + dependencies = with python3Packages; [ appdirs etebase @@ -25,10 +29,8 @@ python3Packages.buildPythonApplication rec { flask flask-wtf msgpack - setuptools (python3Packages.toPythonModule (radicale.override { python3 = python; })) requests - types-setuptools requests.optional-dependencies.socks ]; diff --git a/pkgs/by-name/ev/evdevremapkeys/package.nix b/pkgs/by-name/ev/evdevremapkeys/package.nix index f1cde58569b6..2a9e1e44d200 100644 --- a/pkgs/by-name/ev/evdevremapkeys/package.nix +++ b/pkgs/by-name/ev/evdevremapkeys/package.nix @@ -7,7 +7,7 @@ python3Packages.buildPythonPackage { pname = "evdevremapkeys"; version = "unstable-2021-05-04"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "philipl"; @@ -16,7 +16,11 @@ python3Packages.buildPythonPackage { sha256 = "sha256-FwRbo0RTiiV2AB7z6XOalMnwMbj15jM4Dxs41TsIOQI="; }; - propagatedBuildInputs = with python3Packages; [ + build-system = with python3Packages; [ + setuptools + ]; + + dependencies = with python3Packages; [ pyyaml pyxdg python-daemon diff --git a/pkgs/by-name/fa/fastcov/package.nix b/pkgs/by-name/fa/fastcov/package.nix index 4e3439da9ae8..95505a638c5e 100644 --- a/pkgs/by-name/fa/fastcov/package.nix +++ b/pkgs/by-name/fa/fastcov/package.nix @@ -10,7 +10,7 @@ python3Packages.buildPythonPackage rec { pname = "fastcov"; version = "1.16"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "RPGillespie6"; diff --git a/pkgs/by-name/ff/ffmpeg-normalize/package.nix b/pkgs/by-name/ff/ffmpeg-normalize/package.nix index 0f7810b22a53..4739db508f91 100644 --- a/pkgs/by-name/ff/ffmpeg-normalize/package.nix +++ b/pkgs/by-name/ff/ffmpeg-normalize/package.nix @@ -8,7 +8,7 @@ python3Packages.buildPythonApplication rec { pname = "ffmpeg-normalize"; version = "1.31.3"; - format = "setuptools"; + format = "pyproject"; src = fetchPypi { inherit version; @@ -16,6 +16,10 @@ python3Packages.buildPythonApplication rec { hash = "sha256-sewDSBUX6gCZSIHeRtpx5fQGtOKN8OWZKrtCF2bgI9Y="; }; + build-system = with python3Packages; [ + setuptools + ]; + dependencies = with python3Packages; [ diff --git a/pkgs/by-name/fi/fileinfo/package.nix b/pkgs/by-name/fi/fileinfo/package.nix index 41bea4d85656..3974e5e526cc 100644 --- a/pkgs/by-name/fi/fileinfo/package.nix +++ b/pkgs/by-name/fi/fileinfo/package.nix @@ -6,7 +6,8 @@ python3Packages.buildPythonApplication { pname = "fileinfo"; version = "unstable-2022-09-16"; - format = "setuptools"; + format = "pyproject"; + src = fetchFromGitHub { owner = "sdushantha"; repo = "fileinfo"; @@ -14,7 +15,9 @@ python3Packages.buildPythonApplication { hash = "sha256-tEmCsR3LmTxeDZAbMvbIwqp/6uaGNUhgGlm18gdsnOw="; }; - propagatedBuildInputs = with python3Packages; [ requests ]; + build-system = with python3Packages; [ setuptools ]; + + dependencies = with python3Packages; [ requests ]; meta = with lib; { homepage = "https://github.com/sdushantha/fileinfo"; diff --git a/pkgs/by-name/fl/flac2all/package.nix b/pkgs/by-name/fl/flac2all/package.nix index 5e8783941393..93ce231f9c54 100644 --- a/pkgs/by-name/fl/flac2all/package.nix +++ b/pkgs/by-name/fl/flac2all/package.nix @@ -12,7 +12,7 @@ python3Packages.buildPythonApplication rec { pname = "flac2all"; version = "5.1"; - format = "setuptools"; + format = "pyproject"; src = fetchPypi { inherit pname version; @@ -24,7 +24,11 @@ python3Packages.buildPythonApplication rec { echo ${version} > ./flac2all_pkg/version ''; - propagatedBuildInputs = [ + build-system = [ + python3Packages.setuptools + ]; + + dependencies = [ python3Packages.pyzmq ]; diff --git a/pkgs/by-name/fl/flattenReferencesGraph/package.nix b/pkgs/by-name/fl/flattenReferencesGraph/package.nix index c5b8fbafcd68..952b71e90551 100644 --- a/pkgs/by-name/fl/flattenReferencesGraph/package.nix +++ b/pkgs/by-name/fl/flattenReferencesGraph/package.nix @@ -10,13 +10,17 @@ let in pythonPackages.buildPythonApplication { version = "0.1.0"; - format = "setuptools"; + format = "pyproject"; pname = "flatten-references-graph"; # Note: this uses only ./src/.gitignore src = nix-gitignore.gitignoreSource [ ] ./src; - propagatedBuildInputs = with pythonPackages; [ + build-system = with pythonPackages; [ + setuptools + ]; + + dependencies = with pythonPackages; [ igraph toolz ]; diff --git a/pkgs/by-name/fl/flawfinder/package.nix b/pkgs/by-name/fl/flawfinder/package.nix index 41d235b269bd..bdb99f4e6ffb 100644 --- a/pkgs/by-name/fl/flawfinder/package.nix +++ b/pkgs/by-name/fl/flawfinder/package.nix @@ -7,13 +7,17 @@ python3.pkgs.buildPythonApplication rec { pname = "flawfinder"; version = "2.0.19"; - format = "setuptools"; + format = "pyproject"; src = fetchurl { url = "https://dwheeler.com/flawfinder/flawfinder-${version}.tar.gz"; sha256 = "sha256-/lUJgdNwq/oKKWcTRswLA4Ipqb2QsjnqsPAfEiEt9hg="; }; + build-system = with python3.pkgs; [ + setuptools + ]; + # Project is using a combination of bash/Python for the tests doCheck = false; diff --git a/pkgs/by-name/fl/flent/package.nix b/pkgs/by-name/fl/flent/package.nix index 31c9f6196b3c..c8663c675f1e 100644 --- a/pkgs/by-name/fl/flent/package.nix +++ b/pkgs/by-name/fl/flent/package.nix @@ -9,14 +9,17 @@ python3Packages.buildPythonApplication rec { pname = "flent"; version = "2.2.0"; - format = "setuptools"; + format = "pyproject"; src = fetchPypi { inherit pname version; hash = "sha256-BPwh3oWIY1YEI+ecgi9AUiX4Ka/Y5dYikwmfvvNB+eg="; }; - build-system = [ python3Packages.sphinx ]; + build-system = with python3Packages; [ + setuptools + sphinx + ]; nativeBuildInputs = [ qt5.wrapQtAppsHook ]; diff --git a/pkgs/by-name/fl/flootty/package.nix b/pkgs/by-name/fl/flootty/package.nix index dc3c7619261a..ac43300e145d 100644 --- a/pkgs/by-name/fl/flootty/package.nix +++ b/pkgs/by-name/fl/flootty/package.nix @@ -7,13 +7,17 @@ python3Packages.buildPythonApplication rec { pname = "Flootty"; version = "3.2.2"; - format = "setuptools"; + format = "pyproject"; src = fetchPypi { inherit pname version; sha256 = "0gfl143ly81pmmrcml91yr0ypvwrs5q4s1sfdc0l2qkqpy233ih7"; }; + build-system = with python3Packages; [ + setuptools + ]; + meta = with lib; { description = "Collaborative terminal. In practice, it's similar to a shared screen or tmux session"; mainProgram = "flootty"; diff --git a/pkgs/by-name/fl/fluxboxlauncher/package.nix b/pkgs/by-name/fl/fluxboxlauncher/package.nix index 1465b094e667..9c1bedd38edd 100644 --- a/pkgs/by-name/fl/fluxboxlauncher/package.nix +++ b/pkgs/by-name/fl/fluxboxlauncher/package.nix @@ -16,7 +16,7 @@ python3.pkgs.buildPythonApplication { pname = "fluxboxlauncher"; version = "0.2.1"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "mothsart"; @@ -46,7 +46,11 @@ python3.pkgs.buildPythonApplication { "--set CHARSET en_us.UTF-8" ]; - propagatedBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ + setuptools + ]; + + dependencies = with python3.pkgs; [ pygobject3 ]; diff --git a/pkgs/by-name/fp/fprettify/package.nix b/pkgs/by-name/fp/fprettify/package.nix index 0433d9294f39..f5b647e3df0a 100644 --- a/pkgs/by-name/fp/fprettify/package.nix +++ b/pkgs/by-name/fp/fprettify/package.nix @@ -7,7 +7,7 @@ python3Packages.buildPythonApplication rec { pname = "fprettify"; version = "0.3.7"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "pseewald"; @@ -20,7 +20,11 @@ python3Packages.buildPythonApplication rec { patchShebangs fprettify.py ''; - propagatedBuildInputs = with python3Packages; [ + build-system = with python3Packages; [ + setuptools + ]; + + dependencies = with python3Packages; [ configargparse ]; diff --git a/pkgs/by-name/fr/frida-tools/package.nix b/pkgs/by-name/fr/frida-tools/package.nix index 5ef11d72dde6..c55458108dd0 100644 --- a/pkgs/by-name/fr/frida-tools/package.nix +++ b/pkgs/by-name/fr/frida-tools/package.nix @@ -7,14 +7,23 @@ python3Packages.buildPythonApplication rec { pname = "frida-tools"; version = "14.4.0"; - format = "setuptools"; + format = "pyproject"; src = fetchPypi { inherit pname version; hash = "sha256-ACiznCkOZvnPUSB+Xcs4IZfbPGyknr193gLok0FrzqA="; }; - propagatedBuildInputs = with python3Packages; [ + build-system = with python3Packages; [ + setuptools + ]; + + pythonRelaxDeps = [ + "frida" + "websockets" + ]; + + dependencies = with python3Packages; [ pygments prompt-toolkit colorama diff --git a/pkgs/by-name/ge/genxword/package.nix b/pkgs/by-name/ge/genxword/package.nix index c16affd8aa22..a65408897ee8 100644 --- a/pkgs/by-name/ge/genxword/package.nix +++ b/pkgs/by-name/ge/genxword/package.nix @@ -12,7 +12,7 @@ python3.pkgs.buildPythonApplication rec { pname = "genxword"; version = "2.1.0"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "riverrun"; @@ -32,7 +32,11 @@ python3.pkgs.buildPythonApplication rec { gtksourceview3 ]; - propagatedBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ + setuptools + ]; + + dependencies = with python3.pkgs; [ pycairo pygobject3 ]; diff --git a/pkgs/by-name/ge/gersemi/package.nix b/pkgs/by-name/ge/gersemi/package.nix index e17fe104e49e..e51346216df8 100644 --- a/pkgs/by-name/ge/gersemi/package.nix +++ b/pkgs/by-name/ge/gersemi/package.nix @@ -7,7 +7,7 @@ python3Packages.buildPythonApplication rec { pname = "gersemi"; version = "0.19.3"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "BlankSpruce"; @@ -16,7 +16,11 @@ python3Packages.buildPythonApplication rec { hash = "sha256-CVb6ibO5+Tp0o+nB+bo9G9OKyB4L05wN1QiB9J4bOqY="; }; - propagatedBuildInputs = with python3Packages; [ + build-system = with python3Packages; [ + setuptools + ]; + + dependencies = with python3Packages; [ appdirs colorama lark diff --git a/pkgs/by-name/gh/gh2md/package.nix b/pkgs/by-name/gh/gh2md/package.nix index 648a47731d08..8683047dffdc 100644 --- a/pkgs/by-name/gh/gh2md/package.nix +++ b/pkgs/by-name/gh/gh2md/package.nix @@ -7,14 +7,18 @@ python3Packages.buildPythonApplication rec { pname = "gh2md"; version = "2.3.1"; - format = "setuptools"; + format = "pyproject"; src = fetchPypi { inherit pname version; hash = "sha256-B7IB1TWfZ0StH2zo/tXfDAaPlgLvr4ciIv7B8EQyp8w="; }; - propagatedBuildInputs = with python3Packages; [ + build-system = with python3Packages; [ + setuptools + ]; + + dependencies = with python3Packages; [ six requests python-dateutil diff --git a/pkgs/by-name/gh/ghdorker/package.nix b/pkgs/by-name/gh/ghdorker/package.nix index be12f9e18ed6..4d0a079da2af 100644 --- a/pkgs/by-name/gh/ghdorker/package.nix +++ b/pkgs/by-name/gh/ghdorker/package.nix @@ -7,14 +7,18 @@ python3.pkgs.buildPythonApplication rec { pname = "ghdorker"; version = "0.3.2"; - format = "setuptools"; + format = "pyproject"; src = fetchPypi { inherit pname version; hash = "sha256-wF4QoXxH55SpdYgKLHf4sCwUk1rkCpSdnIX5FvFi/BU="; }; - propagatedBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ + setuptools + ]; + + dependencies = with python3.pkgs; [ ghapi glom python-dotenv diff --git a/pkgs/by-name/gh/ghost/package.nix b/pkgs/by-name/gh/ghost/package.nix index 3a771183511e..10cda94d8eb1 100644 --- a/pkgs/by-name/gh/ghost/package.nix +++ b/pkgs/by-name/gh/ghost/package.nix @@ -7,7 +7,7 @@ python3.pkgs.buildPythonApplication rec { pname = "ghost"; version = "8.0.0"; - format = "setuptools"; + format = "pyproject"; disabled = python3.pythonOlder "3.7"; @@ -18,7 +18,11 @@ python3.pkgs.buildPythonApplication rec { sha256 = "13p3inw7v55na8438awr692v9vb7zgf5ggxpha9r3m8vfm3sb4iz"; }; - propagatedBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ + setuptools + ]; + + dependencies = with python3.pkgs; [ adb-shell ]; diff --git a/pkgs/by-name/gi/git-branchstack/package.nix b/pkgs/by-name/gi/git-branchstack/package.nix index 5df2b45409cd..db3aff164061 100644 --- a/pkgs/by-name/gi/git-branchstack/package.nix +++ b/pkgs/by-name/gi/git-branchstack/package.nix @@ -8,7 +8,7 @@ let self = python3Packages.buildPythonApplication { pname = "git-branchstack"; version = "0.2.0"; - format = "setuptools"; + format = "pyproject"; src = fetchPypi { pname = "git-branchstack"; @@ -16,6 +16,10 @@ let hash = "sha256-gja93LOcVCQ6l+Cygvsm+3uomvxtvUl6t23GIb/tKyQ="; }; + build-system = with python3Packages; [ + setuptools + ]; + dependencies = with python3Packages; [ git-revise ]; diff --git a/pkgs/by-name/gi/git-crecord/package.nix b/pkgs/by-name/gi/git-crecord/package.nix index 8ca27f22df10..230ebe72c5f0 100644 --- a/pkgs/by-name/gi/git-crecord/package.nix +++ b/pkgs/by-name/gi/git-crecord/package.nix @@ -7,7 +7,7 @@ python3.pkgs.buildPythonApplication rec { pname = "git-crecord"; version = "20230226.0"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "andrewshadura"; @@ -16,7 +16,9 @@ python3.pkgs.buildPythonApplication rec { sha256 = "sha256-zsrMAD9EU+TvkWfWl9x6WbMXuw7YEz50LxQzSFVkKdQ="; }; - propagatedBuildInputs = with python3.pkgs; [ docutils ]; + build-system = with python3.pkgs; [ setuptools ]; + + dependencies = with python3.pkgs; [ docutils ]; # has no tests doCheck = false; diff --git a/pkgs/by-name/gi/git-machete/package.nix b/pkgs/by-name/gi/git-machete/package.nix index e48473843ddc..ef60f119c4e5 100644 --- a/pkgs/by-name/gi/git-machete/package.nix +++ b/pkgs/by-name/gi/git-machete/package.nix @@ -10,7 +10,7 @@ python3.pkgs.buildPythonApplication rec { pname = "git-machete"; version = "3.36.0"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "virtuslab"; @@ -19,6 +19,8 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-iSuOiQC+dKqcDCS4nTPMrNFpo3ipPUQhfoofM11UInI="; }; + build-system = with python3.pkgs; [ setuptools ]; + nativeBuildInputs = [ installShellFiles ]; nativeCheckInputs = diff --git a/pkgs/by-name/gi/git-privacy/package.nix b/pkgs/by-name/gi/git-privacy/package.nix index b898beded66e..0a02f7c1ba96 100644 --- a/pkgs/by-name/gi/git-privacy/package.nix +++ b/pkgs/by-name/gi/git-privacy/package.nix @@ -8,7 +8,7 @@ python3.pkgs.buildPythonApplication rec { pname = "git-privacy"; version = "2.3.0"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "EMPRI-DEVOPS"; @@ -17,7 +17,11 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-b2RkRL8/mZwqc3xCs+oltzualhQtp/7F9POlLlT3UUU="; }; - propagatedBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ + setuptools + ]; + + dependencies = with python3.pkgs; [ click git-filter-repo gitpython diff --git a/pkgs/by-name/gi/git-remote-codecommit/package.nix b/pkgs/by-name/gi/git-remote-codecommit/package.nix index 038475eb87d6..6e929ec79877 100644 --- a/pkgs/by-name/gi/git-remote-codecommit/package.nix +++ b/pkgs/by-name/gi/git-remote-codecommit/package.nix @@ -8,7 +8,7 @@ python3Packages.buildPythonApplication rec { pname = "git-remote-codecommit"; version = "1.17"; - format = "setuptools"; + format = "pyproject"; disabled = !python3Packages.isPy3k; # The check dependency awscli has some overrides @@ -25,6 +25,8 @@ python3Packages.buildPythonApplication rec { hash = "sha256-8heI0Oyfhuvshedw+Eqmwd+e9cOHdDt4O588dplqv/k="; }; + build-system = with python3Packages; [ setuptools ]; + dependencies = with python3Packages; [ botocore ]; nativeCheckInputs = diff --git a/pkgs/by-name/gi/git-remote-hg/package.nix b/pkgs/by-name/gi/git-remote-hg/package.nix index 2c480a162d7c..aecaaa05b842 100644 --- a/pkgs/by-name/gi/git-remote-hg/package.nix +++ b/pkgs/by-name/gi/git-remote-hg/package.nix @@ -13,7 +13,7 @@ python3Packages.buildPythonApplication rec { pname = "git-remote-hg"; version = "1.0.4"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "mnauw"; @@ -31,6 +31,8 @@ python3Packages.buildPythonApplication rec { libxml2 ]; + build-system = with python3Packages; [ setuptools ]; + dependencies = with python3Packages; [ mercurial ]; postInstall = '' diff --git a/pkgs/by-name/gi/gitless/package.nix b/pkgs/by-name/gi/gitless/package.nix index a2dc1a72a35e..deb6505c025a 100644 --- a/pkgs/by-name/gi/gitless/package.nix +++ b/pkgs/by-name/gi/gitless/package.nix @@ -7,7 +7,7 @@ python3.pkgs.buildPythonApplication rec { pname = "gitless"; version = "0.9.17"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "goldstar611"; @@ -16,7 +16,11 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-XDB1i2b1reMCM6i1uK3IzTnsoLXO7jldYtNlYUo1AoQ="; }; - propagatedBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ + setuptools + ]; + + dependencies = with python3.pkgs; [ pygit2 argcomplete ]; diff --git a/pkgs/by-name/gl/gladtex/package.nix b/pkgs/by-name/gl/gladtex/package.nix index e1c778ee3990..528a428978a2 100644 --- a/pkgs/by-name/gl/gladtex/package.nix +++ b/pkgs/by-name/gl/gladtex/package.nix @@ -7,7 +7,7 @@ python3Packages.buildPythonPackage { pname = "gladtex"; version = "unstable-2023-01-22"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "humenda"; @@ -16,6 +16,10 @@ python3Packages.buildPythonPackage { sha256 = "sha256-B5sNEmLO4iIJRDgcPhr9LFKV77dPJws8ITNz4R+FE08="; }; + build-system = with python3Packages; [ + setuptools + ]; + meta = with lib; { description = "Embed LaTeX formulas into HTML documents as SVG images"; mainProgram = "gladtex"; diff --git a/pkgs/by-name/go/gomp/package.nix b/pkgs/by-name/go/gomp/package.nix index 6a91b600e35b..88e296b4f9f6 100644 --- a/pkgs/by-name/go/gomp/package.nix +++ b/pkgs/by-name/go/gomp/package.nix @@ -7,13 +7,17 @@ python3Packages.buildPythonApplication rec { pname = "gomp"; version = "1.1.1"; - format = "setuptools"; + format = "pyproject"; src = fetchPypi { inherit pname version; sha256 = "sha256-Ixq9jtV56FKbh68jqmRd3lwpbMG00GcOUIpjzJhnSp0="; }; + build-system = with python3Packages; [ + setuptools + ]; + doCheck = false; # tests require interactive terminal meta = with lib; { diff --git a/pkgs/by-name/go/gorilla-cli/package.nix b/pkgs/by-name/go/gorilla-cli/package.nix index 6081e3c16023..a98bb8b3a52f 100644 --- a/pkgs/by-name/go/gorilla-cli/package.nix +++ b/pkgs/by-name/go/gorilla-cli/package.nix @@ -8,7 +8,7 @@ python3.pkgs.buildPythonApplication rec { pname = "gorilla-cli"; version = "0.0.9"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "gorilla-llm"; @@ -19,7 +19,11 @@ python3.pkgs.buildPythonApplication rec { disabled = python3.pythonOlder "3.6"; - propagatedBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ + setuptools + ]; + + dependencies = with python3.pkgs; [ requests halo prompt-toolkit diff --git a/pkgs/by-name/gr/grabserial/package.nix b/pkgs/by-name/gr/grabserial/package.nix index d95ca513b5ec..e51150729b5d 100644 --- a/pkgs/by-name/gr/grabserial/package.nix +++ b/pkgs/by-name/gr/grabserial/package.nix @@ -7,7 +7,7 @@ python3Packages.buildPythonApplication rec { pname = "grabserial"; version = "2.1.8"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "tbird20d"; @@ -16,6 +16,8 @@ python3Packages.buildPythonApplication rec { hash = "sha256-XHI5r4OkJUtMuH83jKvNttEpKpqARjxj9SDLzhSPxSc="; }; + build-system = [ python3Packages.setuptools ]; + dependencies = [ python3Packages.pyserial ]; # no usable tests diff --git a/pkgs/by-name/gr/graph-cli/package.nix b/pkgs/by-name/gr/graph-cli/package.nix index b819722d5fac..53ef6d90fed4 100644 --- a/pkgs/by-name/gr/graph-cli/package.nix +++ b/pkgs/by-name/gr/graph-cli/package.nix @@ -8,7 +8,7 @@ python3Packages.buildPythonApplication rec { pname = "graph-cli"; version = "0.1.19"; - format = "setuptools"; + format = "pyproject"; src = fetchPypi { inherit version; @@ -24,7 +24,11 @@ python3Packages.buildPythonApplication rec { makeWrapperArgs+=("''${qtWrapperArgs[@]}") ''; - propagatedBuildInputs = with python3Packages; [ + build-system = with python3Packages; [ + setuptools + ]; + + dependencies = with python3Packages; [ numpy pandas (matplotlib.override { enableQt = true; }) diff --git a/pkgs/by-name/gr/graphqlmap/package.nix b/pkgs/by-name/gr/graphqlmap/package.nix index eb81d9457fbc..4208d54fa3fa 100644 --- a/pkgs/by-name/gr/graphqlmap/package.nix +++ b/pkgs/by-name/gr/graphqlmap/package.nix @@ -7,7 +7,7 @@ python3.pkgs.buildPythonApplication { pname = "graphqlmap"; version = "unstable-2022-01-17"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "swisskyrepo"; @@ -16,7 +16,11 @@ python3.pkgs.buildPythonApplication { hash = "sha256-lGnhNwtDc8KoPlwJ1p2FYq0NQ8PhSR3HgtluU7uxa/c="; }; - propagatedBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ + setuptools + ]; + + dependencies = with python3.pkgs; [ requests ]; diff --git a/pkgs/by-name/gs/gshogi/package.nix b/pkgs/by-name/gs/gshogi/package.nix index c015b3c92c05..39ba5269110a 100644 --- a/pkgs/by-name/gs/gshogi/package.nix +++ b/pkgs/by-name/gs/gshogi/package.nix @@ -10,7 +10,7 @@ python3.pkgs.buildPythonApplication rec { pname = "gshogi"; version = "0.5.1"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "johncheetham"; @@ -30,7 +30,11 @@ python3.pkgs.buildPythonApplication rec { gobject-introspection ]; - propagatedBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ + setuptools + ]; + + dependencies = with python3.pkgs; [ pygobject3 pycairo ]; diff --git a/pkgs/by-name/ha/hashid/package.nix b/pkgs/by-name/ha/hashid/package.nix index 15e015dd6589..7aa8ff7e69f6 100644 --- a/pkgs/by-name/ha/hashid/package.nix +++ b/pkgs/by-name/ha/hashid/package.nix @@ -7,7 +7,7 @@ python3Packages.buildPythonApplication { pname = "hashid"; version = "3.1.4-unstable-2015-03-17"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "psypanda"; @@ -16,6 +16,10 @@ python3Packages.buildPythonApplication { hash = "sha256-R2r/UYRcHbpfOz/XqtSUIpd826eT1Erfo7frAiArT34="; }; + build-system = with python3Packages; [ + setuptools + ]; + meta = with lib; { description = "Software to identify the different types of hashes"; homepage = "https://github.com/psypanda/hashID"; diff --git a/pkgs/by-name/he/heisenbridge/package.nix b/pkgs/by-name/he/heisenbridge/package.nix index 0015cc014bab..18c80d69b3f6 100644 --- a/pkgs/by-name/he/heisenbridge/package.nix +++ b/pkgs/by-name/he/heisenbridge/package.nix @@ -8,7 +8,7 @@ python3.pkgs.buildPythonApplication rec { pname = "heisenbridge"; version = "1.15.3"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "hifi"; @@ -21,7 +21,15 @@ python3.pkgs.buildPythonApplication rec { echo "${version}" > heisenbridge/version.txt ''; - propagatedBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ + setuptools + ]; + + pythonRelaxDeps = [ + "irc" + ]; + + dependencies = with python3.pkgs; [ irc ruamel-yaml mautrix diff --git a/pkgs/by-name/ho/holehe/package.nix b/pkgs/by-name/ho/holehe/package.nix index 7ca26d2d10af..6b706c77bdb6 100644 --- a/pkgs/by-name/ho/holehe/package.nix +++ b/pkgs/by-name/ho/holehe/package.nix @@ -7,7 +7,7 @@ python3.pkgs.buildPythonApplication { pname = "holehe"; version = "unstable-2023-05-18"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "megadose"; @@ -19,10 +19,14 @@ python3.pkgs.buildPythonApplication { postPatch = '' # https://github.com/megadose/holehe/pull/178 substituteInPlace setup.py \ - --replace "bs4" "beautifulsoup4" + --replace-fail "bs4" "beautifulsoup4" ''; - propagatedBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ + setuptools + ]; + + dependencies = with python3.pkgs; [ beautifulsoup4 colorama httpx diff --git a/pkgs/by-name/ht/httpstat/package.nix b/pkgs/by-name/ht/httpstat/package.nix index c80eeeb9e8ea..e26f52ffd092 100644 --- a/pkgs/by-name/ht/httpstat/package.nix +++ b/pkgs/by-name/ht/httpstat/package.nix @@ -9,13 +9,16 @@ python3Packages.buildPythonApplication rec { pname = "httpstat"; version = "1.3.1"; - format = "setuptools"; + format = "pyproject"; src = fetchFromGitHub { owner = "reorx"; repo = "httpstat"; rev = version; sha256 = "sha256-zUdis41sQpJ1E3LdNwaCVj6gexi/Rk21IBUgoFISiDM="; }; + + build-system = with python3Packages; [ setuptools ]; + doCheck = false; # No tests buildInputs = [ glibcLocales ]; runtimeDeps = [ curl ]; diff --git a/pkgs/by-name/hy/hyp/package.nix b/pkgs/by-name/hy/hyp/package.nix index e084aba76528..35ed214941a8 100644 --- a/pkgs/by-name/hy/hyp/package.nix +++ b/pkgs/by-name/hy/hyp/package.nix @@ -7,13 +7,17 @@ python3Packages.buildPythonPackage rec { pname = "hyp-server"; version = "1.2.0"; - format = "setuptools"; + format = "pyproject"; src = fetchPypi { inherit pname version; sha256 = "1lafjdcn9nnq6xc3hhyizfwh6l69lc7rixn6dx65aq71c913jc15"; }; + build-system = with python3Packages; [ + setuptools + ]; + meta = with lib; { description = "Hyperminimal https server"; mainProgram = "hyp";