python3Packages.check-manifest: update style and add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2021-03-03 11:01:42 +01:00 committed by Frederik Rietdijk
parent 8f90fa510e
commit a7d1e3a27d

View File

@ -1,4 +1,14 @@
{ lib, buildPythonPackage, fetchPypi, pep517, toml, mock, breezy, git, build, pytestCheckHook }:
{ lib
, breezy
, build
, buildPythonPackage
, fetchPypi
, git
, mock
, pep517
, pytestCheckHook
, toml
}:
buildPythonPackage rec {
pname = "check-manifest";
@ -14,13 +24,21 @@ buildPythonPackage rec {
substituteInPlace tests.py --replace "test_build_sdist" "no_test_build_sdist"
'';
propagatedBuildInputs = [ build pep517 toml ];
propagatedBuildInputs = [
build
pep517
toml
];
checkInputs = [ mock breezy git pytestCheckHook ];
checkInputs = [
breezy
git
mock
pytestCheckHook
];
pythonImportsCheck = [ "check_manifest" ];
meta = with lib; {
homepage = "https://github.com/mgedmin/check-manifest";
description = "Check MANIFEST.in in a Python source package for completeness";