mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
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 {
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user