5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
42 lines
867 B
Nix
42 lines
867 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, setuptools
|
|
, setuptools-scm
|
|
, wheel
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.1.0";
|
|
pname = "python-vagrant";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pycontribs";
|
|
repo = "python-vagrant";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-apvYzH0IY6ZyUP/FiOVbGN3dXejgN7gn7Mq2tlEaTww=";
|
|
};
|
|
|
|
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
|
|
|
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 ];
|
|
};
|
|
}
|