2022-09-16 18:37:22 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools
|
|
|
|
}:
|
2019-01-28 15:25:18 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-03-31 14:52:22 +02:00
|
|
|
version = "1.0.0";
|
2019-01-28 15:25:18 +01:00
|
|
|
pname = "python-vagrant";
|
2022-04-20 02:19:21 +02:00
|
|
|
format = "pyproject";
|
2019-01-28 15:25:18 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-31 14:52:22 +02:00
|
|
|
sha256 = "sha256-qP6TzPL/N+zJXsL0nqdKkabOc6TbShapjdJtOXz9CeU=";
|
2019-01-28 15:25:18 +01:00
|
|
|
};
|
|
|
|
|
2022-09-16 18:37:22 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2019-01-28 15:25:18 +01:00
|
|
|
# The tests try to connect to qemu
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-04-20 02:19:21 +02:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"vagrant"
|
|
|
|
];
|
|
|
|
|
2019-01-28 15:25:18 +01:00
|
|
|
meta = {
|
|
|
|
description = "Python module that provides a thin wrapper around the vagrant command line executable";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://github.com/todddeluca/python-vagrant";
|
2019-01-28 15:25:18 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.pmiddend ];
|
|
|
|
};
|
|
|
|
}
|