nixpkgs/pkgs/development/python-modules/python-vagrant/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

35 lines
689 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
}:
buildPythonPackage rec {
version = "1.0.0";
pname = "python-vagrant";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "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 ];
};
}