1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 setuptools-scm,
7 wheel,
8}:
9
10buildPythonPackage rec {
11 version = "1.1.0";
12 pname = "python-vagrant";
13 format = "pyproject";
14
15 src = fetchFromGitHub {
16 owner = "pycontribs";
17 repo = "python-vagrant";
18 tag = "v${version}";
19 hash = "sha256-apvYzH0IY6ZyUP/FiOVbGN3dXejgN7gn7Mq2tlEaTww=";
20 };
21
22 nativeBuildInputs = [
23 setuptools
24 setuptools-scm
25 wheel
26 ];
27
28 # The tests try to connect to qemu
29 doCheck = false;
30
31 pythonImportsCheck = [ "vagrant" ];
32
33 meta = {
34 description = "Python module that provides a thin wrapper around the vagrant command line executable";
35 homepage = "https://github.com/todddeluca/python-vagrant";
36 license = lib.licenses.mit;
37 maintainers = [ lib.maintainers.pmiddend ];
38 };
39}