mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
8056f9250c
The setuptools-scm packages gained a setup hook, that sets it to the derivation version automatically, so setting it to that manually has become redundant. This also affects downstream consumers of setuptools-scm, like hatch-vcs or flit-scm.
41 lines
818 B
Nix
41 lines
818 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=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|