pkgs/by-name/{e,f,g,h}*: migrate to format = "pyproject"

This commit is contained in:
TomaSajt 2025-07-03 12:40:20 +02:00
parent 614b6619e7
commit 2bad2b0f4f
No known key found for this signature in database
GPG Key ID: F011163C050122A1
42 changed files with 230 additions and 73 deletions

View File

@ -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
];

View File

@ -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

View File

@ -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";

View File

@ -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

View File

@ -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

View File

@ -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
];

View File

@ -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

View File

@ -10,7 +10,7 @@
python3Packages.buildPythonPackage rec {
pname = "fastcov";
version = "1.16";
format = "setuptools";
format = "pyproject";
src = fetchFromGitHub {
owner = "RPGillespie6";

View File

@ -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;
[

View File

@ -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";

View File

@ -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
];

View File

@ -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
];

View File

@ -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;

View File

@ -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 ];

View File

@ -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";

View File

@ -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
];

View File

@ -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
];

View File

@ -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

View File

@ -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
];

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
];

View File

@ -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
];

View File

@ -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;

View File

@ -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 =

View File

@ -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

View File

@ -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 =

View File

@ -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 = ''

View File

@ -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
];

View File

@ -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";

View File

@ -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; {

View File

@ -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

View File

@ -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

View File

@ -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; })

View File

@ -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
];

View File

@ -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
];

View File

@ -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";

View File

@ -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

View File

@ -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

View File

@ -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 ];

View File

@ -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";