pkgs/by-name/{u,v,w,x,y,z}*: migrate to pyproject = true

TomaSajt 3f6d337b 214bf605

Changed files
+261 -129
pkgs
by-name
ud
uddup
udocker
ul
ulauncher
un
undervolt
unicode-paracode
unsilence
ur
urlwatch
us
usbrip
usbsdmux
va
vanguards
variety
vc
vcstool
vi
vim-vint
vimiv-qt
virtnbdbackup
vit
vk
vkbasalt-cli
wa
waagent
wad
watson
wayback-machine-archiver
waymore
wi
win2xcur
wl
wp
xb
xborders
xd
xdxf2slob
xe
xed
xenomapper
xenon
xk
xkeysnail
xm
xmldiff
xo
xonsh
xontribs
xonsh-direnv
xp
xpaste
ya
yo
you-get
yt
ytmdl
za
zapzap
zf
zfs-autobackup
zi
zs
zsh-history-to-fish
+6 -2
pkgs/by-name/ud/uddup/package.nix
···
python3.pkgs.buildPythonApplication rec {
pname = "uddup";
version = "0.9.3";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "rotemreiss";
···
sha256 = "1f5dm3772hiik9irnyvbs7wygcafbwi7czw3b47cwhb90b8fi5hg";
};
-
propagatedBuildInputs = with python3.pkgs; [
+
build-system = with python3.pkgs; [
+
setuptools
+
];
+
+
dependencies = with python3.pkgs; [
colorama
];
+7 -1
pkgs/by-name/ud/udocker/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "udocker";
version = "1.3.17";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "indigo-dc";
···
singularity
];
+
build-system = with python3Packages; [
+
setuptools
+
];
+
dependencies = with python3Packages; [
pycurl
];
···
"tests/unit/test_curl.py"
"tests/unit/test_dockerioapi.py"
];
+
+
pythonImportsCheck = [ "udocker" ];
passthru = {
tests.version = testers.testVersion { package = udocker; };
+10 -4
pkgs/by-name/ul/ulauncher/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "ulauncher";
version = "5.15.7";
-
format = "setuptools";
+
pyproject = true;
src = fetchurl {
url = "https://github.com/Ulauncher/Ulauncher/releases/download/${version}/ulauncher_${version}.tar.gz";
hash = "sha256-YgOw3Gyy/o8qorWAnAlQrAZ2ZTnyP3PagLs2Qkdg788=";
};
-
nativeBuildInputs = with python3Packages; [
-
distutils-extra
+
nativeBuildInputs = [
gobject-introspection
intltool
wrapGAppsHook3
···
wmctrl
];
-
propagatedBuildInputs = with python3Packages; [
+
build-system = with python3Packages; [
+
setuptools
+
distutils-extra
+
];
+
+
dependencies = with python3Packages; [
mock
dbus-python
pygobject3
···
runHook postCheck
'';
+
+
pythonImportsCheck = [ "ulauncher" ];
# do not double wrap
dontWrapGApps = true;
+6 -2
pkgs/by-name/un/undervolt/package.nix
···
}:
python3Packages.buildPythonApplication rec {
-
version = "0.4.0";
-
format = "setuptools";
pname = "undervolt";
+
version = "0.4.0";
+
pyproject = true;
src = fetchFromGitHub {
owner = "georgewhewell";
···
rev = version;
hash = "sha256-G+CK/lnZXkQdyNZPqY9P3owVJsd22H3K8wSpjHFG0ow=";
};
+
+
build-system = with python3Packages; [ setuptools ];
+
+
pythonImportsCheck = [ "undervolt" ];
meta = with lib; {
homepage = "https://github.com/georgewhewell/undervolt/";
+4 -2
pkgs/by-name/un/unicode-paracode/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "unicode";
version = "2.9";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "garabik";
···
nativeBuildInputs = [ installShellFiles ];
+
build-system = with python3Packages; [ setuptools ];
+
postFixup = ''
substituteInPlace "$out/bin/.unicode-wrapped" \
-
--replace "/usr/share/unicode/UnicodeData.txt" "$ucdtxt"
+
--replace-fail "/usr/share/unicode/UnicodeData.txt" "$ucdtxt"
'';
postInstall = ''
+5 -6
pkgs/by-name/un/unsilence/package.nix
···
python3Packages.buildPythonPackage rec {
pname = "unsilence";
version = "1.0.9";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "lagmoellertim";
···
hash = "sha256-M4Ek1JZwtr7vIg14aTa8h4otIZnPQfKNH4pZE4GpiBQ=";
};
-
nativeBuildInputs = with python3Packages; [
-
rich
+
build-system = with python3Packages; [
+
setuptools
];
-
propagatedBuildInputs = [
-
python3Packages.rich
-
python3Packages.setuptools # imports pkg_resources.parse_version
+
dependencies = with python3Packages; [
+
rich
];
makeWrapperArgs = [
+6 -2
pkgs/by-name/ur/urlwatch/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "urlwatch";
version = "2.29";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "thp";
···
hash = "sha256-X1UR9JrQuujOIUg87W0YqfXsM3A5nttWjjJMIe3hgk8=";
};
-
propagatedBuildInputs = with python3Packages; [
+
build-system = with python3Packages; [ setuptools ];
+
+
dependencies = with python3Packages; [
cssselect
jq
keyring
···
# no tests
doCheck = false;
+
+
pythonImportsCheck = [ "urlwatch" ];
meta = with lib; {
description = "Tool for monitoring webpages for updates";
+6 -5
pkgs/by-name/us/usbrip/package.nix
···
python3.pkgs.buildPythonApplication {
pname = "usbrip";
version = "unstable-2021-07-02";
-
format = "setuptools";
+
pyproject = true;
disabled = python3.pythonOlder "3.6";
···
sha256 = "1vws8ybhv7szpqvlbmv0hrkys2fhhaa5bj9dywv3q2y1xmljl0py";
};
-
propagatedBuildInputs = with python3.pkgs; [
+
build-system = with python3.pkgs; [ setuptools ];
+
+
dependencies = with python3.pkgs; [
termcolor
terminaltables
tqdm
···
postPatch = ''
# Remove install helpers which we don't need
substituteInPlace setup.py \
-
--replace "parse_requirements('requirements.txt')," "[]," \
-
--replace "resolve('wheel')" "" \
-
--replace "'install': LocalInstallCommand," ""
+
--replace-fail "resolve('wheel')" "" \
+
--replace-fail "'install': LocalInstallCommand," ""
'';
# Project has no tests
+5 -1
pkgs/by-name/us/usbsdmux/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "usbsdmux";
version = "24.1.1";
-
format = "setuptools";
+
pyproject = true;
src = fetchPypi {
inherit pname version;
···
--replace-fail 'TAG+="uaccess", GROUP="plugdev"' 'TAG+="uaccess"'
'';
+
build-system = with python3Packages; [ setuptools ];
+
nativeBuildInputs = [
udevCheckHook
];
···
postInstall = ''
install -Dm0444 -t $out/lib/udev/rules.d/ contrib/udev/99-usbsdmux.rules
'';
+
+
pythonImportsCheck = [ "usbsdmux" ];
meta = with lib; {
description = "Control software for the LXA USB-SD-Mux";
+5 -1
pkgs/by-name/va/vanguards/package.nix
···
python312Packages.buildPythonApplication {
pname = "vanguards";
version = "0.3.1-unstable-2023-10-31";
-
format = "setuptools";
+
pyproject = true;
+
+
build-system = [ python312Packages.setuptools ];
dependencies = [ python312Packages.stem ];
#tries to access the network during the tests, which fails
···
substituteInPlace src/vanguards/main.py --replace-fail \
'import stem.response.events' 'import stem.socket; import stem.control; import stem.response.events'
'';
+
+
pythonImportsCheck = [ "vanguards" ];
meta = {
maintainers = with lib.maintainers; [ ForgottenBeast ];
+5 -1
pkgs/by-name/va/variety/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "variety";
version = "0.8.13";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "varietywalls";
···
libnotify
librsvg
] ++ lib.optional appindicatorSupport libayatana-appindicator;
+
+
build-system = with python3Packages; [ setuptools ];
dependencies =
with python3Packages;
···
--replace-fail "/bin/bash" "${lib.getExe bash}" \
--replace-fail "{VARIETY_PATH}" "variety"
'';
+
+
pythonImportsCheck = [ "variety" ];
meta = {
homepage = "https://github.com/varietywalls/variety";
+7 -3
pkgs/by-name/vc/vcstool/package.nix
···
buildPythonApplication rec {
pname = "vcstool";
version = "0.3.0";
-
format = "setuptools";
+
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "04b3a963e15386660f139e5b95d293e43e3cb414e3b13e14ee36f5223032ee2c";
};
-
propagatedBuildInputs = [
+
build-system = with python3Packages; [ setuptools ];
+
+
dependencies = [
pyyaml
-
setuptools
+
setuptools # pkg_resources is imported during runtime
];
makeWrapperArgs = [
···
];
doCheck = false; # requires network
+
+
pythonImportsCheck = [ "vcstool" ];
meta = with lib; {
description = "Provides a command line tool to invoke vcs commands on multiple repositories";
+10 -12
pkgs/by-name/vi/vim-vint/package.nix
···
fetchFromGitHub,
}:
-
with python3Packages;
-
-
buildPythonApplication rec {
+
python3Packages.buildPythonApplication rec {
pname = "vim-vint";
version = "0.3.21";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "Vimjas";
···
hash = "sha256-A0yXDkB/b9kEEXSoLeqVdmdm4p2PYL2QHqbF4FgAn30=";
};
-
# For python 3.5 > version > 2.7 , a nested dependency (pythonPackages.hypothesis) fails.
-
disabled = !pythonAtLeast "3.5";
+
build-system = with python3Packages; [ setuptools ];
-
nativeCheckInputs = [
-
pytestCheckHook
-
pytest-cov-stub
-
];
-
propagatedBuildInputs = [
+
dependencies = with python3Packages; [
ansicolor
chardet
pyyaml
-
setuptools
+
setuptools # pkg_resources is imported during runtime
+
];
+
+
nativeCheckInputs = with python3Packages; [
+
pytestCheckHook
+
pytest-cov-stub
];
preCheck = ''
+6 -3
pkgs/by-name/vi/vimiv-qt/package.nix
···
python3.pkgs.buildPythonApplication rec {
pname = "vimiv-qt";
version = "0.9.0";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "karlch";
···
sha256 = "sha256-28sk5qDVmrgXYX2wm5G8zv564vG6GwxNp+gjrFHCRfU=";
};
+
build-system = with python3.pkgs; [ setuptools ];
+
nativeBuildInputs = [
installShellFiles
qt5.wrapQtAppsHook
-
python3.pkgs.setuptools
];
-
propagatedBuildInputs = with python3.pkgs; [
+
dependencies = with python3.pkgs; [
pyqt5
py3exiv2
];
···
install -Dm644 icons/vimiv_''${i}x''${i}.png $out/icons/hicolor/''${i}x''${i}/apps/vimiv.png
done
'';
+
+
pythonImportsCheck = [ "vimiv" ];
# Vimiv has to be wrapped manually because it is a non-ELF executable.
dontWrapQtApps = true;
+3 -1
pkgs/by-name/vi/virtnbdbackup/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "virtnbdbackup";
version = "2.29";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "abbbi";
···
];
versionCheckProgramArg = "-V";
+
+
pythonImportsCheck = [ "libvirtnbdbackup" ];
meta = {
description = "Backup utility for Libvirt/qemu/kvm";
+6 -2
pkgs/by-name/vi/vit/package.nix
···
buildPythonApplication rec {
pname = "vit";
version = "2.3.3";
-
format = "setuptools";
+
pyproject = true;
disabled = lib.versionOlder python.version "3.7";
src = fetchPypi {
···
hash = "sha256-+lrXGfhoB4z5IWkJTXMIm3GGVPfNGO9lUB3uFTx8hDY=";
};
-
propagatedBuildInputs = [
+
build-system = with python3Packages; [ setuptools ];
+
+
dependencies = [
tasklib
urwid
];
···
preCheck = ''
export TERM=''${TERM-linux}
'';
+
+
pythonImportsCheck = [ "vit" ];
meta = with lib; {
homepage = "https://github.com/scottkosty/vit";
+4 -2
pkgs/by-name/vk/vkbasalt-cli/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "vkbasalt-cli";
version = "3.1.1";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitLab {
owner = "TheEvilSkeleton";
···
postPatch = ''
substituteInPlace vkbasalt/lib.py \
-
--replace /usr ${vkbasalt}
+
--replace-fail /usr ${vkbasalt}
'';
+
+
build-system = with python3Packages; [ setuptools ];
pythonImportsCheck = [ "vkbasalt.lib" ];
+5 -2
pkgs/by-name/wa/waagent/package.nix
···
python.pkgs.buildPythonApplication rec {
pname = "waagent";
version = "2.14.0.0";
-
format = "setuptools";
+
pyproject = true;
+
src = fetchFromGitHub {
owner = "Azure";
repo = "WALinuxAgent";
···
--replace-fail '/usr/bin/openssl' '${openssl}/bin/openssl'
'';
-
propagatedBuildInputs = [ python.pkgs.distro ];
+
build-system = with python.pkgs; [ setuptools ];
+
+
dependencies = with python.pkgs; [ distro ];
# The udev rules are placed to the wrong place.
# Move them to their default location.
+4 -2
pkgs/by-name/wa/wad/package.nix
···
python3.pkgs.buildPythonApplication rec {
pname = "wad";
version = "0.4.6";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "CERN-CERT";
···
hash = "sha256-/mlmOzFkyKpmK/uk4813Wk0cf/+ynX3Qxafnd1mGR5k=";
};
-
propagatedBuildInputs = with python3.pkgs; [
+
build-system = with python3.pkgs; [ setuptools ];
+
+
dependencies = with python3.pkgs; [
six
];
+21 -17
pkgs/by-name/wa/watson/package.nix
···
fetchpatch,
}:
-
with python3.pkgs;
-
-
buildPythonApplication rec {
+
python3.pkgs.buildPythonApplication rec {
pname = "watson";
version = "2.1.0";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "jazzband";
···
})
];
-
postInstall = ''
-
installShellCompletion --bash --name watson watson.completion
-
installShellCompletion --zsh --name _watson watson.zsh-completion
-
installShellCompletion --fish watson.fish
-
'';
+
nativeBuildInputs = [ installShellFiles ];
-
nativeCheckInputs = [
-
pytestCheckHook
-
pytest-mock
-
mock
-
pytest-datafiles
-
];
-
propagatedBuildInputs = [
+
build-system = with python3.pkgs; [ setuptools ];
+
+
dependencies = with python3.pkgs; [
arrow
click
click-didyoumean
requests
];
-
nativeBuildInputs = [ installShellFiles ];
+
+
nativeCheckInputs = with python3.pkgs; [
+
pytestCheckHook
+
pytest-mock
+
mock
+
pytest-datafiles
+
];
+
+
postInstall = ''
+
installShellCompletion --bash --name watson watson.completion
+
installShellCompletion --zsh --name _watson watson.zsh-completion
+
installShellCompletion --fish watson.fish
+
'';
+
+
pythonImportsCheck = [ "watson" ];
meta = with lib; {
homepage = "https://github.com/jazzband/Watson";
+9 -4
pkgs/by-name/wa/wayback-machine-archiver/package.nix
···
python3.pkgs.buildPythonApplication rec {
pname = "wayback-machine-archiver";
version = "1.9.1";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "agude";
···
sha256 = "0dnnqx507gpj8wsx6f2ivfmha969ydayiqsvxh23p9qcixw9257x";
};
-
nativeBuildInputs = with python3.pkgs; [ pypandoc ];
-
propagatedBuildInputs = with python3.pkgs; [ requests ];
+
build-system = with python3.pkgs; [
+
setuptools
+
pypandoc
+
];
+
+
dependencies = with python3.pkgs; [ requests ];
+
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
requests-mock
···
postPatch = ''
substituteInPlace setup.py \
-
--replace \"pytest-runner\", ""
+
--replace-fail \"pytest-runner\", ""
'';
pythonImportsCheck = [ "wayback_machine_archiver" ];
+8 -1
pkgs/by-name/wa/waymore/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "waymore";
version = "4.7";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "xnl-h4ck3r";
···
setuptools
];
+
pythonRemoveDeps = [
+
# python already provides urllib.parse
+
"urlparse3"
+
];
+
dependencies = with python3Packages; [
requests
termcolor
···
uritools
tldextract
];
+
+
pythonImportsCheck = [ "waymore.waymore" ];
passthru.tests.version = testers.testVersion {
package = waymore;
+9 -2
pkgs/by-name/wi/win2xcur/package.nix
···
python3Packages.buildPythonPackage rec {
pname = "win2xcur";
version = "0.1.2";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "quantum5";
···
hash = "sha256-OjLj+QYg8YOJzDq3Y6/uyEXlNWbPm8VA/b1yP9jT6Jo=";
};
-
propagatedBuildInputs = with python3Packages; [
+
build-system = with python3Packages; [ setuptools ];
+
+
dependencies = with python3Packages; [
numpy
wand
+
];
+
+
pythonImportsCheck = [
+
"win2xcur.main.win2xcur"
+
"win2xcur.main.x2wincur"
];
meta = {
+8 -6
pkgs/by-name/wl/wlc/package.nix
···
fetchPypi,
}:
-
with python3.pkgs;
-
-
buildPythonPackage rec {
+
python3.pkgs.buildPythonPackage rec {
pname = "wlc";
version = "1.15";
-
format = "setuptools";
+
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-0T8cMq5Mrv/Ygo6BfYho3sjFuu8dYZyUMtJc5gabuG4=";
};
-
propagatedBuildInputs = [
+
build-system = with python3.pkgs; [ setuptools ];
+
+
dependencies = with python3.pkgs; [
argcomplete
python-dateutil
requests
···
twine
];
-
nativeCheckInputs = [
+
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
+
+
pythonImportsCheck = [ "wlc" ];
meta = with lib; {
description = "Weblate commandline client using Weblate's REST API";
+6 -2
pkgs/by-name/wl/wllvm/package.nix
···
}:
python3Packages.buildPythonApplication rec {
-
version = "1.3.1";
-
format = "setuptools";
pname = "wllvm";
+
version = "1.3.1";
+
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-PgV6V18FyezIZpqMQEbyv98MaVM7h7T7/Kvg3yMMwzE=";
};
+
+
build-system = with python3Packages; [ setuptools ];
+
+
pythonImportsCheck = [ "wllvm.wllvm" ];
meta = with lib; {
homepage = "https://github.com/travitch/whole-program-llvm";
+5 -3
pkgs/by-name/wp/wpm/package.nix
···
python3.pkgs.buildPythonApplication rec {
pname = "wpm";
version = "1.51.5";
-
format = "setuptools";
+
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-swT9E5Tto4yWnm0voowcJXtY3cIY3MNqAdfrTnuGbdg=";
};
-
propagatedBuildInputs = with python3.pkgs; [
-
setuptools
+
build-system = with python3.pkgs; [ setuptools ];
+
+
dependencies = with python3.pkgs; [
+
setuptools # pkg_resources is imported during runtime
];
pythonImportsCheck = [ "wpm" ];
+4 -2
pkgs/by-name/xb/xborders/package.nix
···
python3Packages.buildPythonPackage rec {
pname = "xborders";
version = "3.4"; # in version.txt
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "deter0";
···
gobject-introspection
];
-
propagatedBuildInputs = with python3Packages; [
+
build-system = with python3Packages; [ setuptools ];
+
+
dependencies = with python3Packages; [
pycairo
requests
pygobject3
+8 -4
pkgs/by-name/xd/xdxf2slob/package.nix
···
python3Packages.buildPythonApplication {
pname = "xdxf2slob";
version = "unstable-2015-06-30";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "itkach";
···
sha256 = "0m3dnc3816ja3kmik1wabb706dkqdf5sxvabwgf2rcrq891xcddd";
};
-
propagatedBuildInputs = [
-
python3Packages.pyicu
-
python3Packages.slob
+
build-system = with python3Packages; [ setuptools ];
+
+
dependencies = with python3Packages; [
+
pyicu
+
slob
];
+
+
pythonImportsCheck = [ "xdxf2slob" ];
meta = with lib; {
description = "Tool to convert XDXF dictionary files to slob format";
+3 -1
pkgs/by-name/xe/xed/package.nix
···
mbuild = python3Packages.buildPythonPackage rec {
pname = "mbuild";
version = "2024.11.04";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "intelxed";
···
tag = "v${version}";
hash = "sha256-iQVykBG3tEPxI1HmqBkvO1q+K8vi64qBfVC63/rcTOk=";
};
+
+
build-system = with python3Packages; [ setuptools ];
meta = {
description = "Python-based build system used for building XED";
+9 -2
pkgs/by-name/xe/xenomapper/package.nix
···
python3.pkgs.buildPythonApplication rec {
pname = "xenomapper";
version = "1.0.2";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "genomematt";
···
sha256 = "0mnmfzlq5mhih6z8dq5bkx95vb8whjycz9mdlqwbmlqjb3gb3zhr";
};
-
propagatedBuildInputs = with python3.pkgs; [ statistics ];
+
build-system = with python3.pkgs; [ setuptools ];
+
+
dependencies = with python3.pkgs; [ statistics ];
+
+
pythonImportsCheck = [
+
"xenomapper.xenomapper"
+
"xenomapper.mappability"
+
];
meta = with lib; {
homepage = "https://github.com/genomematt/xenomapper";
+6 -2
pkgs/by-name/xe/xenon/package.nix
···
python3.pkgs.buildPythonApplication {
inherit pname version;
-
format = "setuptools";
+
pyproject = true;
src = fetchPypi {
inherit pname version;
···
doCheck = false;
-
propagatedBuildInputs = with python3.pkgs; [
+
build-system = with python3.pkgs; [ setuptools ];
+
+
dependencies = with python3.pkgs; [
requests
radon
pyaml
];
+
+
pythonImportsCheck = [ "xenon" ];
meta = with lib; {
description = "Monitoring tool based on radon";
+6 -2
pkgs/by-name/xk/xkeysnail/package.nix
···
python3Packages.buildPythonApplication {
pname = "xkeysnail";
version = "0.4";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "mooz";
···
})
];
-
propagatedBuildInputs = with python3Packages; [
+
build-system = with python3Packages; [ setuptools ];
+
+
dependencies = with python3Packages; [
evdev
xlib
inotify-simple
···
makeWrapper $out/bin/xkeysnail $out/bin/xkeysnail-browser \
--add-flags "-q" --add-flags "$out/share/browser.py"
'';
+
+
pythonImportsCheck = [ "xkeysnail" ];
meta = {
description = "Yet another keyboard remapping tool for X environment";
+5 -3
pkgs/by-name/xm/xmldiff/package.nix
···
};
in
python3.pkgs.buildPythonApplication {
-
format = "setuptools";
pname = "xmldiff";
inherit version src;
+
pyproject = true;
-
propagatedBuildInputs = with python3.pkgs; [
+
build-system = with python3.pkgs; [ setuptools ];
+
+
dependencies = with python3.pkgs; [
lxml
-
setuptools
+
setuptools # pkg_resources is imported during runtime
];
meta = {
+1 -1
pkgs/by-name/xo/xonsh/xontribs/xonsh-direnv/default.nix
···
buildPythonPackage rec {
pname = "xonsh-direnv";
version = "1.6.5";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "74th";
+4 -2
pkgs/by-name/xp/xpaste/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "xpaste";
version = "1.6";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "ossobv";
···
hash = "sha256-eVnoLG+06UTOkvGhzL/XS4JBrEwbXYZ1fuNTIW7YAfE=";
};
-
propagatedBuildInputs = with python3Packages; [
+
build-system = with python3Packages; [ setuptools ];
+
+
dependencies = with python3Packages; [
xlib
];
+6 -2
pkgs/by-name/ya/yams/package.nix
···
pname = "yams";
# nixpkgs-update: no auto update
version = "0.7.3";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "Berulacks";
···
sha256 = "1zkhcys9i0s6jkaz24an690rvnkv1r84jxpaa84sf46abi59ijh8";
};
-
propagatedBuildInputs = with python3Packages; [
+
build-system = with python3Packages; [ setuptools ];
+
+
dependencies = with python3Packages; [
pyyaml
psutil
mpd2
···
];
doCheck = false;
+
+
pythonImportsCheck = [ "yams.scrobble" ];
meta = with lib; {
homepage = "https://github.com/Berulacks/yams";
+3 -1
pkgs/by-name/yo/you-get/package.nix
···
python3.pkgs.buildPythonApplication rec {
pname = "you-get";
version = "0.4.1700";
-
format = "setuptools";
+
pyproject = true;
# Tests aren't packaged, but they all hit the real network so
# probably aren't suitable for a build environment anyway.
···
];
nativeBuildInputs = [ installShellFiles ];
+
+
build-system = with python3.pkgs; [ setuptools ];
postInstall = ''
installShellCompletion --cmd you-get \
+12 -9
pkgs/by-name/yt/ytmdl/package.nix
···
lib,
python3Packages,
fetchPypi,
-
yt-dlp,
ffmpeg,
+
writableTmpDirAsHomeHook,
}:
python3Packages.buildPythonApplication rec {
pname = "ytmdl";
version = "2023.11.26";
-
format = "setuptools";
+
pyproject = true;
src = fetchPypi {
inherit pname;
···
postPatch = ''
substituteInPlace setup.py \
-
--replace "bs4" "beautifulsoup4" \
-
--replace "/etc/bash_completion.d" "share/bash-completion/completions" \
-
--replace "/usr/share/zsh/functions/Completion/Unix" "share/zsh/site-functions"
-
sed -i '/python_requires=/d' setup.py
+
--replace-fail "/etc/bash_completion.d" "share/bash-completion/completions" \
+
--replace-fail "/usr/share/zsh/functions/Completion/Unix" "share/zsh/site-functions"
'';
-
propagatedBuildInputs = with python3Packages; [
+
build-system = with python3Packages; [ setuptools ];
+
+
dependencies = with python3Packages; [
ffmpeg-python
musicbrainzngs
rich
···
(lib.makeBinPath [ ffmpeg ])
];
-
# This application has no tests
-
doCheck = false;
+
nativeCheckInputs = [
+
writableTmpDirAsHomeHook # the app tries to log stuff into xdg_cache_home
+
];
+
+
pythonImportsCheck = [ "ytmdl" ];
meta = with lib; {
homepage = "https://github.com/deepjyoti30/ytmdl";
+7 -4
pkgs/by-name/za/zapzap/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "zapzap";
version = "6.1";
-
format = "setuptools";
+
pyproject = true;
src = fetchFromGitHub {
owner = "rafatosta";
···
hash = "sha256-g3J9oVIRiar0QoksRjJZsbvSKiFBILaUdSUscNs1VXE=";
};
-
nativeBuildInputs = with python3Packages; [
-
setuptools
+
nativeBuildInputs = [
qt6.wrapQtAppsHook
];
···
export HOME=$(mktemp -d)
'';
-
propagatedBuildInputs = with python3Packages; [
+
build-system = with python3Packages; [ setuptools ];
+
+
dependencies = with python3Packages; [
dbus-python
pyqt6
pyqt6-webengine
···
# has no tests
doCheck = false;
+
+
pythonImportsCheck = [ "zapzap" ];
meta = with lib; {
description = "WhatsApp desktop application written in Pyqt6 + PyQt6-WebEngine.";
+4 -2
pkgs/by-name/zf/zfs-autobackup/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "zfs-autobackup";
version = "3.3";
-
format = "setuptools";
+
pyproject = true;
src = fetchPypi {
inherit version;
···
hash = "sha256-nAc1mdrtIEmUS0uMqOdvV07xP02MFj6F5uCTiCXtnMs=";
};
-
propagatedBuildInputs = with python3Packages; [ colorama ];
+
build-system = with python3Packages; [ setuptools ];
+
+
dependencies = with python3Packages; [ colorama ];
pythonRemoveDeps = [ "argparse" ];
+3 -1
pkgs/by-name/zi/zim/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "zim";
version = "0.76.3";
-
format = "setuptools";
+
pyproject = true;
src = fetchurl {
url = "https://zim-wiki.org/downloads/zim-${version}.tar.gz";
···
gtk3
adwaita-icon-theme
];
+
+
build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
pyxdg
+4 -2
pkgs/by-name/zs/zsh-history-to-fish/package.nix
···
python3.pkgs.buildPythonApplication rec {
pname = "zsh-history-to-fish";
version = "0.3.0";
-
format = "setuptools";
+
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-expPuffZttyXNRreplPC5Ee/jfWAyOnmjTIMXONtrnw=";
};
-
propagatedBuildInputs = with python3.pkgs; [
+
build-system = with python3.pkgs; [ setuptools ];
+
+
dependencies = with python3.pkgs; [
click
];