diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-03-03 11:01:42 +0100 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2021-03-08 19:10:34 +0100 |
commit | a7d1e3a27dc457bbb223203e84d102f00f798041 (patch) | |
tree | c778a12516f87c699c702b0c3070412efa3f7497 /pkgs/development/python-modules/check-manifest | |
parent | 8f90fa510ecbc6d9204ea237fa4e298ba6d5e04e (diff) |
python3Packages.check-manifest: update style and add pythonImportsCheck
Diffstat (limited to 'pkgs/development/python-modules/check-manifest')
-rw-r--r-- | pkgs/development/python-modules/check-manifest/default.nix | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/check-manifest/default.nix b/pkgs/development/python-modules/check-manifest/default.nix index 42b903db7dee6..de833e18be8ea 100644 --- a/pkgs/development/python-modules/check-manifest/default.nix +++ b/pkgs/development/python-modules/check-manifest/default.nix @@ -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"; |