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 { buildPythonPackage rec {
pname = "check-manifest"; pname = "check-manifest";
@ -14,13 +24,21 @@ buildPythonPackage rec {
substituteInPlace tests.py --replace "test_build_sdist" "no_test_build_sdist" 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" ]; pythonImportsCheck = [ "check_manifest" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/mgedmin/check-manifest"; homepage = "https://github.com/mgedmin/check-manifest";
description = "Check MANIFEST.in in a Python source package for completeness"; description = "Check MANIFEST.in in a Python source package for completeness";