8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
54 lines
903 B
Nix
54 lines
903 B
Nix
{ lib
|
|
, breezy
|
|
, build
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, git
|
|
, mock
|
|
, pep517
|
|
, pytestCheckHook
|
|
, toml
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "check-manifest";
|
|
version = "0.48";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-O1dfHa3nvrMHjvS/M6lFGYNEV8coHbxyaxXFRmtVxlc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
build
|
|
pep517
|
|
toml
|
|
];
|
|
|
|
checkInputs = [
|
|
breezy
|
|
git
|
|
mock
|
|
pytestCheckHook
|
|
];
|
|
|
|
disabledTests = [
|
|
# Test wants to setup a venv
|
|
"test_build_sdist_pep517_isolated"
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"check_manifest"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Check MANIFEST.in in a Python source package for completeness";
|
|
homepage = "https://github.com/mgedmin/check-manifest";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ lewo ];
|
|
};
|
|
}
|