8ea6bde88d
This is a post 3.10 removal cleanup.
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
breezy,
|
|
build,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
git,
|
|
pep517,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "check-manifest";
|
|
version = "0.51";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mgedmin";
|
|
repo = "check-manifest";
|
|
tag = version;
|
|
hash = "sha256-tT6xQZwqJIsyrO9BjWweIeNgYaopziewerVBk0mFVYg=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
build
|
|
pep517
|
|
setuptools
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
git
|
|
pytestCheckHook
|
|
];
|
|
|
|
checkInputs = [ breezy ];
|
|
|
|
disabledTests = [
|
|
# Test wants to setup a venv
|
|
"test_build_sdist_pep517_isolated"
|
|
];
|
|
|
|
pythonImportsCheck = [ "check_manifest" ];
|
|
|
|
meta = {
|
|
description = "Check MANIFEST.in in a Python source package for completeness";
|
|
homepage = "https://github.com/mgedmin/check-manifest";
|
|
changelog = "https://github.com/mgedmin/check-manifest/blob/${version}/CHANGES.rst";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ lewo ];
|
|
mainProgram = "check-manifest";
|
|
};
|
|
}
|