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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -22,7 +22,7 @@ in
python3.pkgs.buildPythonPackage {
pname = "bumblebee-status";
inherit version;
format = "setuptools";
format = "pyproject";
src = fetchFromGitHub {
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;
propagatedBuildInputs = lib.concatMap (p: p.propagatedBuildInputs or [ ]) selectedPlugins;
checkInputs = with python3.pkgs; [
nativeCheckInputs = with python3.pkgs; [
freezegun
netifaces
psutil

View File

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

View File

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

View File

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

View File

@ -8,7 +8,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "cantoolz";
version = "3.7.0";
format = "setuptools";
format = "pyproject";
src = fetchFromGitHub {
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
pyserial
mido

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "creds";
version = "0.5.3";
format = "setuptools";
format = "pyproject";
src = fetchFromGitHub {
owner = "ihebski";
@ -21,10 +21,14 @@ python3.pkgs.buildPythonApplication rec {
postPatch = ''
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
prettytable
requests

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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