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