python3Packages.check-manifest: update style and add pythonImportsCheck
This commit is contained in:
parent
8f90fa510e
commit
a7d1e3a27d
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user