pkgs/by-name/{a,b,c,d}*: migrate to format = "pyproject"

This commit is contained in:
TomaSajt 2025-07-03 00:32:20 +02:00
parent 43c2a5ee13
commit 11f150163f
No known key found for this signature in database
GPG Key ID: F011163C050122A1
53 changed files with 325 additions and 144 deletions

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
pname = "accelergy"; pname = "accelergy";
version = "unstable-2022-05-03"; version = "unstable-2022-05-03";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Accelergy-Project"; owner = "Accelergy-Project";
@ -16,11 +16,14 @@ python3Packages.buildPythonApplication {
hash = "sha256-SRtt1EocHy5fKszpoumC+mOK/qhreoA2/Ff1wcu5WKo="; hash = "sha256-SRtt1EocHy5fKszpoumC+mOK/qhreoA2/Ff1wcu5WKo=";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
pyyaml pyyaml
yamlordereddictloader yamlordereddictloader
pyfiglet pyfiglet
setuptools
]; ];
meta = { meta = {

View File

@ -4,20 +4,21 @@
fetchPypi, fetchPypi,
}: }:
with python3.pkgs; python3.pkgs.buildPythonApplication rec {
buildPythonApplication rec {
pname = "adafruit-ampy"; pname = "adafruit-ampy";
version = "1.1.0"; version = "1.1.0";
format = "setuptools"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "f4cba36f564096f2aafd173f7fbabb845365cc3bb3f41c37541edf98b58d3976"; sha256 = "f4cba36f564096f2aafd173f7fbabb845365cc3bb3f41c37541edf98b58d3976";
}; };
nativeBuildInputs = [ setuptools-scm ]; build-system = with python3.pkgs; [
propagatedBuildInputs = [ setuptools
];
dependencies = with python3.pkgs; [
click click
python-dotenv python-dotenv
pyserial pyserial

View File

@ -7,14 +7,18 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "addic7ed-cli"; pname = "addic7ed-cli";
version = "1.4.6"; version = "1.4.6";
format = "setuptools"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "182cpwxpdybsgl1nps850ysvvjbqlnx149kri4hxhgm58nqq0qf5"; sha256 = "182cpwxpdybsgl1nps850ysvvjbqlnx149kri4hxhgm58nqq0qf5";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
requests requests
pyquery pyquery
]; ];

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "aiodnsbrute"; pname = "aiodnsbrute";
version = "0.3.3"; version = "0.3.3";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "blark"; owner = "blark";
@ -16,7 +16,11 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-cEpk71VoQJZfKeAZummkk7yjtXKSMndgo0VleYiMlWE="; hash = "sha256-cEpk71VoQJZfKeAZummkk7yjtXKSMndgo0VleYiMlWE=";
}; };
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
aiodns aiodns
click click
tqdm tqdm

View File

@ -5,11 +5,10 @@
ncurses, ncurses,
}: }:
with python3.pkgs; python3.pkgs.buildPythonApplication rec {
buildPythonApplication rec {
pname = "almonds"; pname = "almonds";
version = "1.25b"; version = "1.25b";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Tenchi2xh"; owner = "Tenchi2xh";
@ -18,11 +17,13 @@ buildPythonApplication rec {
sha256 = "0j8d8jizivnfx8lpc4w6sbqj5hq35nfz0vdg7ld80sc5cs7jr3ws"; sha256 = "0j8d8jizivnfx8lpc4w6sbqj5hq35nfz0vdg7ld80sc5cs7jr3ws";
}; };
nativeBuildInputs = [ pytest ]; build-system = with python3.pkgs; [ setuptools ];
buildInputs = [ ncurses ];
propagatedBuildInputs = [ pillow ];
checkPhase = "py.test"; dependencies = with python3.pkgs; [ pillow ];
buildInputs = [ ncurses ];
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
meta = with lib; { meta = with lib; {
description = "Terminal Mandelbrot fractal viewer"; description = "Terminal Mandelbrot fractal viewer";

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "amoco"; pname = "amoco";
version = "2.9.8"; version = "2.9.8";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bdcht"; owner = "bdcht";
@ -16,10 +16,11 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-3+1ssFyU7SKFJgDYBQY0kVjmTHOD71D2AjnH+4bfLXo="; hash = "sha256-3+1ssFyU7SKFJgDYBQY0kVjmTHOD71D2AjnH+4bfLXo=";
}; };
nativeBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
]; ];
propagatedBuildInputs = with python3.pkgs; [ dependencies = with python3.pkgs; [
blessed blessed
click click
crysp crysp

View File

@ -13,7 +13,7 @@ let
description = "Advanced typing practice program"; description = "Advanced typing practice program";
in in
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
format = "setuptools"; format = "pyproject";
inherit pname version; inherit pname version;
src = fetchFromGitLab { src = fetchFromGitLab {
@ -33,7 +33,11 @@ python3Packages.buildPythonApplication {
qt5.qtwayland qt5.qtwayland
]; ];
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
editdistance editdistance
pyqt5 pyqt5
translitcodec translitcodec

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
pname = "antfs-cli"; pname = "antfs-cli";
version = "unstable-2017-02-11"; version = "unstable-2017-02-11";
format = "setuptools"; format = "pyproject";
meta = with lib; { meta = with lib; {
homepage = "https://github.com/Tigge/antfs-cli"; homepage = "https://github.com/Tigge/antfs-cli";
@ -24,5 +24,7 @@ python3Packages.buildPythonApplication {
sha256 = "0v8y64kldfbs809j1g9d75dd1vxq7mfxnp4b45pz8anpxhjf64fy"; sha256 = "0v8y64kldfbs809j1g9d75dd1vxq7mfxnp4b45pz8anpxhjf64fy";
}; };
propagatedBuildInputs = [ python3Packages.openant ]; build-system = [ python3Packages.setuptools ];
dependencies = [ python3Packages.openant ];
} }

View File

@ -11,7 +11,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "apksigcopier"; pname = "apksigcopier";
version = "1.1.1"; version = "1.1.1";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "obfusk"; owner = "obfusk";
@ -25,7 +25,11 @@ python3.pkgs.buildPythonApplication rec {
pandoc pandoc
]; ];
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
click click
]; ];
@ -38,7 +42,7 @@ python3.pkgs.buildPythonApplication rec {
postPatch = '' postPatch = ''
substituteInPlace Makefile \ substituteInPlace Makefile \
--replace /bin/bash ${bash}/bin/bash --replace-fail /bin/bash ${bash}/bin/bash
''; '';
postBuild = '' postBuild = ''

View File

@ -18,11 +18,15 @@ let
}; };
in in
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
format = "setuptools"; format = "pyproject";
inherit pname version src; inherit pname version src;
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
build-system = with python3Packages; [
setuptools
];
postPatch = '' postPatch = ''
substituteInPlace org.debian.apt.aptoffline.policy \ substituteInPlace org.debian.apt.aptoffline.policy \
--replace-fail /usr/bin/ "$out/bin" --replace-fail /usr/bin/ "$out/bin"

View File

@ -22,21 +22,23 @@ let
}; };
}; };
in in
with py.pkgs; py.pkgs.buildPythonApplication rec {
buildPythonApplication rec {
pname = "archivy"; pname = "archivy";
version = "1.7.3"; version = "1.7.3";
format = "setuptools"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-ns1Y0DqqnTAQMEt+oBJ/P2gqKqPsX9P3/Z4561qzuns"; hash = "sha256-ns1Y0DqqnTAQMEt+oBJ/P2gqKqPsX9P3/Z4561qzuns";
}; };
build-system = with py.pkgs; [
setuptools
];
pythonRelaxDeps = true; pythonRelaxDeps = true;
propagatedBuildInputs = [ dependencies = with py.pkgs; [
appdirs appdirs
attrs attrs
beautifulsoup4 beautifulsoup4
@ -50,7 +52,7 @@ buildPythonApplication rec {
python-frontmatter python-frontmatter
readability-lxml readability-lxml
requests requests
setuptools setuptools # uses pkg_resources during runtime
tinydb tinydb
validators validators
wtforms wtforms

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "arsenal"; pname = "arsenal";
version = "1.1.0"; version = "1.1.0";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Orange-Cyberdefense"; owner = "Orange-Cyberdefense";
@ -16,7 +16,11 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "sha256-NbNXyR5aNKvRJU9JWGk/ndwU1bhNgDOdcRqBkAY9nPA="; sha256 = "sha256-NbNXyR5aNKvRJU9JWGk/ndwU1bhNgDOdcRqBkAY9nPA=";
}; };
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
libtmux libtmux
docutils docutils
pyfzf pyfzf

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "arxiv-latex-cleaner"; pname = "arxiv-latex-cleaner";
version = "1.0.8"; version = "1.0.8";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "google-research"; owner = "google-research";
@ -16,7 +16,11 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-CQb1u1j+/px+vNqA3iXZ2oe6/0ZWeMjWrUQL9elRDEI="; hash = "sha256-CQb1u1j+/px+vNqA3iXZ2oe6/0ZWeMjWrUQL9elRDEI=";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
pillow pillow
pyyaml pyyaml
regex regex

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "asn1editor"; pname = "asn1editor";
version = "0.8.0"; version = "0.8.0";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Futsch1"; owner = "Futsch1";
@ -16,7 +16,11 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-mgluhC2DMS4OyS/BoWqBdVf7GcxquOtOKTHZ/hbiHQM="; hash = "sha256-mgluhC2DMS4OyS/BoWqBdVf7GcxquOtOKTHZ/hbiHQM=";
}; };
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
asn1tools asn1tools
coverage coverage
wxpython wxpython

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "atomic-operator"; pname = "atomic-operator";
version = "0.8.5"; version = "0.8.5";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "swimlane"; owner = "swimlane";
@ -16,12 +16,16 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-DyNqu3vndyLkmfybCfTbgxk3t/ALg7IAkAMg4kBkH7Q="; hash = "sha256-DyNqu3vndyLkmfybCfTbgxk3t/ALg7IAkAMg4kBkH7Q=";
}; };
postPatch = '' build-system = with python3.pkgs; [
substituteInPlace setup.py \ setuptools
--replace "charset_normalizer~=2.0.0" "charset_normalizer" ];
'';
propagatedBuildInputs = with python3.pkgs; [ pythonRelaxDeps = [
"charset_normalizer"
"urllib3"
];
dependencies = with python3.pkgs; [
attrs attrs
certifi certifi
chardet chardet

View File

@ -14,7 +14,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "autokey"; pname = "autokey";
version = "0.96.0"; version = "0.96.0";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "autokey"; owner = "autokey";
@ -37,7 +37,11 @@ python3Packages.buildPythonApplication rec {
libnotify libnotify
]; ];
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
dbus-python dbus-python
pyinotify pyinotify
xlib xlib

View File

@ -20,7 +20,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "ayatana-webmail"; pname = "ayatana-webmail";
version = "24.5.17"; version = "24.5.17";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "AyatanaIndicators"; owner = "AyatanaIndicators";
@ -53,7 +53,11 @@ python3Packages.buildPythonApplication rec {
glib # For compiling gsettings-schemas glib # For compiling gsettings-schemas
]; ];
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
urllib3 urllib3
babel babel
psutil psutil

View File

@ -10,7 +10,7 @@ let
in in
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
inherit pname version; inherit pname version;
format = "setuptools"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
@ -18,6 +18,10 @@ python3Packages.buildPythonApplication {
hash = "sha256-UWS1weiccSGqBU8grPAUKkuXb7qs5wliHVaPgdW4KtI="; hash = "sha256-UWS1weiccSGqBU8grPAUKkuXb7qs5wliHVaPgdW4KtI=";
}; };
build-system = with python3Packages; [
setuptools
];
# If enabled, it will attempt to run '__init__.py, failing by trying to write # If enabled, it will attempt to run '__init__.py, failing by trying to write
# at "/homeless-shelter" as HOME # at "/homeless-shelter" as HOME
doCheck = false; doCheck = false;

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
pname = "bashplotlib"; pname = "bashplotlib";
version = "2021-03-31"; version = "2021-03-31";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "glamp"; owner = "glamp";
@ -16,6 +16,10 @@ python3Packages.buildPythonApplication {
sha256 = "sha256-0S6mgy6k7CcqsDR1kE5xcXGidF1t061e+M+ZuP2Gk3c="; sha256 = "sha256-0S6mgy6k7CcqsDR1kE5xcXGidF1t061e+M+ZuP2Gk3c=";
}; };
build-system = with python3Packages; [
setuptools
];
# No tests # No tests
doCheck = false; doCheck = false;

View File

@ -4,12 +4,10 @@
fetchPypi, fetchPypi,
}: }:
with python3.pkgs; python3.pkgs.buildPythonApplication rec {
buildPythonApplication rec {
pname = "bkyml"; pname = "bkyml";
version = "1.4.3"; version = "1.4.3";
format = "setuptools"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -21,24 +19,28 @@ buildPythonApplication rec {
# of the package, that has been affected by the pyscaffold package dependency removal. # of the package, that has been affected by the pyscaffold package dependency removal.
postPatch = '' postPatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "['pyscaffold>=3.0a0,<3.1a0'] + " "" \ --replace-fail "['pyscaffold>=3.0a0,<3.1a0'] + " "" \
--replace "use_pyscaffold=True" "" --replace-fail "use_pyscaffold=True" ""
substituteInPlace src/bkyml/skeleton.py --replace \ substituteInPlace src/bkyml/skeleton.py --replace-fail \
"from bkyml import __version__" \ "from bkyml import __version__" \
"__version__ = \"${version}\"" "__version__ = \"${version}\""
''; '';
build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
ruamel-yaml
setuptools
];
# Don't run tests because they are broken when run within # Don't run tests because they are broken when run within
# buildPythonApplication for reasons I don't quite understand. # buildPythonApplication for reasons I don't quite understand.
doCheck = false; doCheck = false;
pythonImportsCheck = [ "bkyml" ]; pythonImportsCheck = [ "bkyml" ];
propagatedBuildInputs = [
ruamel-yaml
setuptools
];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/joscha/bkyml"; homepage = "https://github.com/joscha/bkyml";
description = "CLI tool to generate a pipeline.yaml file for Buildkite on the fly"; description = "CLI tool to generate a pipeline.yaml file for Buildkite on the fly";

View File

@ -22,7 +22,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "blivet-gui"; pname = "blivet-gui";
version = "2.6.0"; version = "2.6.0";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "storaged-project"; owner = "storaged-project";
@ -47,6 +47,10 @@ python3.pkgs.buildPythonApplication rec {
buildInputs = [ gtk3 ]; buildInputs = [ gtk3 ];
build-system = [
python3.pkgs.setuptools
];
dependencies = [ dependencies = [
python3.pkgs.blivet python3.pkgs.blivet
python3.pkgs.pyparted python3.pkgs.pyparted

View File

@ -8,7 +8,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "brotab"; pname = "brotab";
version = "1.4.2"; version = "1.4.2";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "balta2ar"; owner = "balta2ar";
@ -26,7 +26,11 @@ python3Packages.buildPythonApplication rec {
}) })
]; ];
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
flask flask
psutil psutil
requests requests
@ -35,9 +39,9 @@ python3Packages.buildPythonApplication rec {
postPatch = '' postPatch = ''
substituteInPlace requirements/base.txt \ substituteInPlace requirements/base.txt \
--replace "Flask==2.0.2" "Flask>=2.0.2" \ --replace-fail "Flask==2.0.2" "Flask>=2.0.2" \
--replace "psutil==5.8.0" "psutil>=5.8.0" \ --replace-fail "psutil==5.8.0" "psutil>=5.8.0" \
--replace "requests==2.24.0" "requests>=2.24.0" --replace-fail "requests==2.24.0" "requests>=2.24.0"
''; '';
__darwinAllowLocalNetworking = true; __darwinAllowLocalNetworking = true;

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "btlejack"; pname = "btlejack";
version = "2.1.1"; version = "2.1.1";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "virtualabs"; owner = "virtualabs";
@ -20,7 +20,11 @@ python3Packages.buildPythonApplication rec {
sed -i "s|^.*'argparse',$||" setup.py sed -i "s|^.*'argparse',$||" setup.py
''; '';
propagatedBuildInputs = [ build-system = [
python3Packages.setuptools
];
dependencies = [
python3Packages.pyserial python3Packages.pyserial
python3Packages.halo python3Packages.halo
]; ];

View File

@ -20,7 +20,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "bubblemail"; pname = "bubblemail";
version = "1.9"; version = "1.9";
format = "setuptools"; format = "pyproject";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "framagit.org"; domain = "framagit.org";
@ -53,6 +53,10 @@ python3Packages.buildPythonApplication rec {
gobject-introspection gobject-introspection
]; ];
build-system = with python3Packages; [
setuptools
];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
gsettings-desktop-schemas gsettings-desktop-schemas
pygobject3 pygobject3

View File

@ -22,7 +22,7 @@ in
python3.pkgs.buildPythonPackage { python3.pkgs.buildPythonPackage {
pname = "bumblebee-status"; pname = "bumblebee-status";
inherit version; inherit version;
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tobi-wan-kenobi"; owner = "tobi-wan-kenobi";
@ -40,10 +40,15 @@ python3.pkgs.buildPythonPackage {
}) })
]; ];
build-system = with python3.pkgs; [
setuptools
];
buildInputs = lib.concatMap (p: p.buildInputs or [ ]) selectedPlugins; buildInputs = lib.concatMap (p: p.buildInputs or [ ]) selectedPlugins;
propagatedBuildInputs = lib.concatMap (p: p.propagatedBuildInputs or [ ]) selectedPlugins; propagatedBuildInputs = lib.concatMap (p: p.propagatedBuildInputs or [ ]) selectedPlugins;
checkInputs = with python3.pkgs; [ nativeCheckInputs = with python3.pkgs; [
freezegun freezegun
netifaces netifaces
psutil psutil

View File

@ -9,7 +9,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "bumpver"; pname = "bumpver";
version = "2021.1110"; version = "2021.1110";
format = "setuptools"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -18,12 +18,16 @@ python3.pkgs.buildPythonApplication rec {
prePatch = '' prePatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "if any(arg.startswith(\"bdist\") for arg in sys.argv):" ""\ --replace-fail "if any(arg.startswith(\"bdist\") for arg in sys.argv):" ""\
--replace "import lib3to6" ""\ --replace-fail "import lib3to6" ""\
--replace "package_dir = lib3to6.fix(package_dir)" "" --replace-fail "package_dir = lib3to6.fix(package_dir)" ""
''; '';
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
pathlib2 pathlib2
click click
toml toml

View File

@ -10,7 +10,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
version = "0.9.9"; version = "0.9.9";
format = "setuptools"; format = "pyproject";
pname = "canto-curses"; pname = "canto-curses";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -28,6 +28,10 @@ python3Packages.buildPythonApplication rec {
}) })
]; ];
build-system = with python3Packages; [
setuptools
];
buildInputs = [ buildInputs = [
readline readline
ncurses ncurses

View File

@ -6,7 +6,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
version = "0.9.8"; version = "0.9.8";
format = "setuptools"; format = "pyproject";
pname = "canto-daemon"; pname = "canto-daemon";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -16,7 +16,9 @@ python3Packages.buildPythonApplication rec {
sha256 = "0fmsdn28z09bvivdkqcla5bnalky7k744iir25z70bv4pz1jcvnk"; sha256 = "0fmsdn28z09bvivdkqcla5bnalky7k744iir25z70bv4pz1jcvnk";
}; };
propagatedBuildInputs = with python3Packages; [ feedparser ]; build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [ feedparser ];
doCheck = false; doCheck = false;

View File

@ -8,7 +8,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "cantoolz"; pname = "cantoolz";
version = "3.7.0"; version = "3.7.0";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CANToolz"; owner = "CANToolz";
@ -30,7 +30,11 @@ python3.pkgs.buildPythonApplication rec {
}) })
]; ];
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
flask flask
pyserial pyserial
mido mido

View File

@ -8,7 +8,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "charge-lnd"; pname = "charge-lnd";
version = "0.3.0"; version = "0.3.0";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "accumulator"; owner = "accumulator";
@ -17,6 +17,10 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-a/zIEA2oF1+BoZXk4YDWx69eVFSnANUE/F+ARI/VsXU="; hash = "sha256-a/zIEA2oF1+BoZXk4YDWx69eVFSnANUE/F+ARI/VsXU=";
}; };
build-system = with python3Packages; [
setuptools
];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
aiorpcx aiorpcx
colorama colorama

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "chatblade"; pname = "chatblade";
version = "0.7.0"; version = "0.7.0";
format = "setuptools"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -17,7 +17,14 @@ python3Packages.buildPythonApplication rec {
doCheck = false; # there are no tests doCheck = false; # there are no tests
pythonImportsCheck = [ "chatblade" ]; pythonImportsCheck = [ "chatblade" ];
propagatedBuildInputs = with python3Packages; [
build-system = with python3Packages; [
setuptools
];
pythonRelaxDeps = true;
dependencies = with python3Packages; [
openai openai
platformdirs platformdirs
pylatexenc pylatexenc

View File

@ -9,7 +9,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "clickable"; pname = "clickable";
version = "8.3.1"; version = "8.3.1";
format = "setuptools"; format = "pyproject";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "clickable"; owner = "clickable";
@ -18,7 +18,9 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-Vn2PyALaRrE+jJRdZzW+jjCm3f2GfpgrQcFGB7kr4EM="; hash = "sha256-Vn2PyALaRrE+jJRdZzW+jjCm3f2GfpgrQcFGB7kr4EM=";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = [ python3Packages.setuptools ];
dependencies = with python3Packages; [
cookiecutter cookiecutter
requests requests
pyyaml pyyaml

View File

@ -7,14 +7,18 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "colorz"; pname = "colorz";
version = "1.0.3"; version = "1.0.3";
format = "setuptools"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0ghd90lgplf051fs5n5bb42zffd3fqpgzkbv6bhjw7r8jqwgcky0"; sha256 = "0ghd90lgplf051fs5n5bb42zffd3fqpgzkbv6bhjw7r8jqwgcky0";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
pillow pillow
scipy scipy
]; ];

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "compdb"; pname = "compdb";
version = "0.2.0"; version = "0.2.0";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Sarcasm"; owner = "Sarcasm";
@ -16,6 +16,10 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "sha256-nFAgTrup6V5oE+LP4UWDOCgTVCv2v9HbQbkGW+oDnTg="; sha256 = "sha256-nFAgTrup6V5oE+LP4UWDOCgTVCv2v9HbQbkGW+oDnTg=";
}; };
build-system = with python3.pkgs; [
setuptools
];
meta = with lib; { meta = with lib; {
description = "Command line tool to manipulate compilation databases"; description = "Command line tool to manipulate compilation databases";
license = licenses.mit; license = licenses.mit;

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "cp210x-program"; pname = "cp210x-program";
version = "0.4.1"; version = "0.4.1";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "VCTLabs"; owner = "VCTLabs";
@ -16,7 +16,11 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "sha256-IjKshP12WfFly9cPm6svD4qZW6cT8C7lOVrGenSqbfY="; sha256 = "sha256-IjKshP12WfFly9cPm6svD4qZW6cT8C7lOVrGenSqbfY=";
}; };
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
hexdump hexdump
pyusb pyusb
]; ];

View File

@ -4,12 +4,10 @@
python3Packages, python3Packages,
}: }:
with python3Packages; python3Packages.buildPythonApplication rec {
buildPythonApplication rec {
pname = "cppclean"; pname = "cppclean";
version = "0.13"; version = "0.13";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "myint"; owner = "myint";
@ -22,6 +20,10 @@ buildPythonApplication rec {
patchShebangs . patchShebangs .
''; '';
build-system = with python3Packages; [
setuptools
];
checkPhase = '' checkPhase = ''
./test.bash ./test.bash
''; '';

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "cpuset"; pname = "cpuset";
version = "1.6.2"; version = "1.6.2";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lpechacek"; owner = "lpechacek";
@ -16,6 +16,10 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-fW0SXNI10pb6FTn/2TOqxP9qlys0KL/H9m//NjslUaY="; hash = "sha256-fW0SXNI10pb6FTn/2TOqxP9qlys0KL/H9m//NjslUaY=";
}; };
build-system = with python3.pkgs; [
setuptools
];
makeFlags = [ "prefix=$(out)" ]; makeFlags = [ "prefix=$(out)" ];
checkPhase = '' checkPhase = ''

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "creds"; pname = "creds";
version = "0.5.3"; version = "0.5.3";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ihebski"; owner = "ihebski";
@ -21,10 +21,14 @@ python3.pkgs.buildPythonApplication rec {
postPatch = '' postPatch = ''
substituteInPlace creds \ substituteInPlace creds \
--replace "pathlib.Path(__file__).parent" "pathlib.Path.home()" --replace-fail "pathlib.Path(__file__).parent" "pathlib.Path.home()"
''; '';
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
fire fire
prettytable prettytable
requests requests

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "crlfsuite"; pname = "crlfsuite";
version = "2.5.2"; version = "2.5.2";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Nefcore"; owner = "Nefcore";
@ -16,7 +16,11 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "sha256-mK20PbVGhTEjhY5L6coCzSMIrG/PHHmNq30ZoJEs6uI="; sha256 = "sha256-mK20PbVGhTEjhY5L6coCzSMIrG/PHHmNq30ZoJEs6uI=";
}; };
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
colorama colorama
requests requests
]; ];

View File

@ -11,7 +11,7 @@
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
pname = "crowbar"; pname = "crowbar";
version = "unstable-2020-04-23"; version = "unstable-2020-04-23";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "galkan"; owner = "galkan";
@ -20,7 +20,9 @@ python3Packages.buildPythonApplication {
sha256 = "05m9vywr9976pc7il0ak8nl26mklzxlcqx0p8rlfyx1q766myqzf"; sha256 = "05m9vywr9976pc7il0ak8nl26mklzxlcqx0p8rlfyx1q766myqzf";
}; };
propagatedBuildInputs = [ python3Packages.paramiko ]; build-system = [ python3Packages.setuptools ];
dependencies = [ python3Packages.paramiko ];
patchPhase = '' patchPhase = ''
sed -i 's,/usr/bin/xfreerdp,${freerdp}/bin/xfreerdp,g' lib/main.py sed -i 's,/usr/bin/xfreerdp,${freerdp}/bin/xfreerdp,g' lib/main.py

View File

@ -7,12 +7,17 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "csv2odf"; pname = "csv2odf";
version = "2.09"; version = "2.09";
format = "setuptools"; format = "pyproject";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/project/${pname}/${pname}-${version}/${pname}-${version}.tar.gz"; url = "mirror://sourceforge/project/${pname}/${pname}-${version}/${pname}-${version}.tar.gz";
sha256 = "09l0yfay89grjdzap2h11f0hcyn49np5zizg2yyp2aqgjs8ki57p"; sha256 = "09l0yfay89grjdzap2h11f0hcyn49np5zizg2yyp2aqgjs8ki57p";
}; };
build-system = with python3.pkgs; [
setuptools
];
meta = with lib; { meta = with lib; {
homepage = "https://sourceforge.net/p/csv2odf/wiki/Main_Page/"; homepage = "https://sourceforge.net/p/csv2odf/wiki/Main_Page/";
description = "Convert csv files to OpenDocument Format"; description = "Convert csv files to OpenDocument Format";

View File

@ -5,11 +5,10 @@
fetchpatch, fetchpatch,
}: }:
with python3.pkgs; python3.pkgs.buildPythonApplication rec {
buildPythonApplication rec {
pname = "csvs-to-sqlite"; pname = "csvs-to-sqlite";
version = "1.3"; version = "1.3";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "simonw"; owner = "simonw";
@ -32,10 +31,11 @@ buildPythonApplication rec {
}) })
]; ];
nativeBuildInputs = [ build-system = with python3.pkgs; [
setuptools
]; ];
propagatedBuildInputs = [ dependencies = with python3.pkgs; [
click click
dateparser dateparser
pandas pandas
@ -47,7 +47,7 @@ buildPythonApplication rec {
"click" "click"
]; ];
nativeCheckInputs = [ nativeCheckInputs = with python3.pkgs; [
cogapp cogapp
pytestCheckHook pytestCheckHook
]; ];

View File

@ -4,19 +4,21 @@
fetchPypi, fetchPypi,
}: }:
with python3Packages; python3Packages.buildPythonApplication rec {
buildPythonApplication rec {
pname = "cum"; pname = "cum";
version = "0.9.1"; version = "0.9.1";
format = "setuptools"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "15qc6agka2g3kcnpnz0hbjic1s3260cr9bda0rlcyninxs1vndq0"; sha256 = "15qc6agka2g3kcnpnz0hbjic1s3260cr9bda0rlcyninxs1vndq0";
}; };
propagatedBuildInputs = [ build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
alembic alembic
beautifulsoup4 beautifulsoup4
click click

View File

@ -8,7 +8,7 @@
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
version = "0.2"; version = "0.2";
format = "setuptools"; format = "pyproject";
pname = "curseradio"; pname = "curseradio";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -18,7 +18,11 @@ python3Packages.buildPythonApplication {
sha256 = "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i"; sha256 = "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
requests requests
lxml lxml
pyxdg pyxdg

View File

@ -6,7 +6,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "cursewords"; pname = "cursewords";
version = "1.1"; version = "1.1";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "thisisparker"; owner = "thisisparker";
@ -15,14 +15,17 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-Ssr15kSdWmyMFFG5uCregrpGQ3rI2cMXqY9+/a3gs84="; hash = "sha256-Ssr15kSdWmyMFFG5uCregrpGQ3rI2cMXqY9+/a3gs84=";
}; };
nativeBuildInputs = [ build-system = [
python3Packages.setuptools python3Packages.setuptools
python3Packages.wheel
]; ];
doCheck = false; # no tests doCheck = false; # no tests
propagatedBuildInputs = [ pythonRelaxDeps = [
"blessed"
];
dependencies = [
python3Packages.blessed python3Packages.blessed
]; ];

View File

@ -9,7 +9,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "cvehound"; pname = "cvehound";
version = "1.2.1"; version = "1.2.1";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "evdenis"; owner = "evdenis";
@ -27,9 +27,12 @@ python3.pkgs.buildPythonApplication rec {
}" }"
]; ];
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
lxml
setuptools setuptools
];
dependencies = with python3.pkgs; [
lxml
sympy sympy
]; ];

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonPackage { python3.pkgs.buildPythonPackage {
pname = "dict.cc.py"; pname = "dict.cc.py";
version = "3.1.0"; version = "3.1.0";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rbaron"; owner = "rbaron";
@ -16,7 +16,11 @@ python3.pkgs.buildPythonPackage {
hash = "sha256-wc0WY1pETBdOT3QUaVGsX8YdcnhxLIHrZ2vt2t5LYKU="; hash = "sha256-wc0WY1pETBdOT3QUaVGsX8YdcnhxLIHrZ2vt2t5LYKU=";
}; };
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
beautifulsoup4 beautifulsoup4
colorama colorama
requests requests

View File

@ -8,7 +8,7 @@
python3.pkgs.buildPythonApplication { python3.pkgs.buildPythonApplication {
pname = "dnd-tools"; pname = "dnd-tools";
version = "unstable-2021-02-18"; version = "unstable-2021-02-18";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "savagezen"; owner = "savagezen";
@ -25,6 +25,10 @@ python3.pkgs.buildPythonApplication {
}) })
]; ];
build-system = with python3.pkgs; [
setuptools
];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/savagezen/dnd-tools"; homepage = "https://github.com/savagezen/dnd-tools";
description = "Set of interactive command line tools for Dungeons and Dragons 5th Edition"; description = "Set of interactive command line tools for Dungeons and Dragons 5th Edition";

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "dnsviz"; pname = "dnsviz";
version = "0.11.1"; version = "0.11.1";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dnsviz"; owner = "dnsviz";
@ -26,6 +26,10 @@ python3Packages.buildPythonApplication rec {
--replace-fail '@out@' $out --replace-fail '@out@' $out
''; '';
build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [ dependencies = with python3Packages; [
dnspython dnspython
m2crypto m2crypto

View File

@ -13,7 +13,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "dockbarx"; pname = "dockbarx";
version = "1.0-beta4"; version = "1.0-beta4";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "xuzhen"; owner = "xuzhen";
@ -35,7 +35,11 @@ python3Packages.buildPythonApplication rec {
keybinder3 keybinder3
]; ];
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
dbus-python dbus-python
pillow pillow
pygobject3 pygobject3

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "dotfiles"; pname = "dotfiles";
version = "0.6.5"; version = "0.6.5";
format = "setuptools"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit version pname; inherit version pname;
@ -17,8 +17,11 @@ python3Packages.buildPythonApplication rec {
# No tests in archive # No tests in archive
doCheck = false; doCheck = false;
build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [ click ];
nativeCheckInputs = with python3Packages; [ pytest ]; nativeCheckInputs = with python3Packages; [ pytest ];
propagatedBuildInputs = with python3Packages; [ click ];
meta = with lib; { meta = with lib; {
description = "Easily manage your dotfiles"; description = "Easily manage your dotfiles";

View File

@ -6,7 +6,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "dpt-rp1-py"; pname = "dpt-rp1-py";
version = "0.1.16"; version = "0.1.16";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "janten"; owner = "janten";
@ -17,14 +17,17 @@ python3Packages.buildPythonApplication rec {
doCheck = false; doCheck = false;
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
anytree anytree
fusepy fusepy
httpsig httpsig
pbkdf2 pbkdf2
pyyaml pyyaml
requests requests
setuptools
tqdm tqdm
urllib3 urllib3
zeroconf zeroconf

View File

@ -24,7 +24,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "dtrx"; pname = "dtrx";
version = "8.5.3"; version = "8.5.3";
format = "setuptools"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dtrx-py"; owner = "dtrx-py";
@ -58,7 +58,9 @@ python3Packages.buildPythonApplication rec {
''--prefix PATH : "${archivers}"'' ''--prefix PATH : "${archivers}"''
]; ];
nativeBuildInputs = [ python3Packages.invoke ]; build-system = with python3Packages; [
setuptools
];
passthru.updateScript = gitUpdater { }; passthru.updateScript = gitUpdater { };