summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-vagrant/default.nix
blob: b8ae4eba788c2155a24fca0321fbd1d99b8508c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
}:

buildPythonPackage rec {
  version = "1.0.0";
  pname = "python-vagrant";
  format = "pyproject";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-qP6TzPL/N+zJXsL0nqdKkabOc6TbShapjdJtOXz9CeU=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  # 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 ];
  };
}