nixpkgs/pkgs/development/python-modules/python-vagrant/default.nix
Michael Daniels 075e8c2c4f
treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

39 lines
806 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
wheel,
}:
buildPythonPackage rec {
version = "1.1.0";
pname = "python-vagrant";
pyproject = true;
src = fetchFromGitHub {
owner = "pycontribs";
repo = "python-vagrant";
tag = "v${version}";
hash = "sha256-apvYzH0IY6ZyUP/FiOVbGN3dXejgN7gn7Mq2tlEaTww=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
wheel
];
# The tests try to connect to qemu
doCheck = false;
pythonImportsCheck = [ "vagrant" ];
meta = {
description = "Python module that provides a thin wrapper around the vagrant command line executable";
homepage = "https://github.com/todddeluca/python-vagrant";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.pmiddend ];
};
}