diff options
Diffstat (limited to 'pkgs/development/python-modules/mdformat-nix-alejandra/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/mdformat-nix-alejandra/default.nix | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/pkgs/development/python-modules/mdformat-nix-alejandra/default.nix b/pkgs/development/python-modules/mdformat-nix-alejandra/default.nix index d59e09f999e0..a5e55044d4c0 100644 --- a/pkgs/development/python-modules/mdformat-nix-alejandra/default.nix +++ b/pkgs/development/python-modules/mdformat-nix-alejandra/default.nix @@ -1,11 +1,12 @@ -{ lib -, alejandra -, buildPythonPackage -, fetchFromGitHub -, mdformat -, poetry-core -, pytestCheckHook -, pythonOlder +{ + lib, + alejandra, + buildPythonPackage, + fetchFromGitHub, + mdformat, + poetry-core, + pytestCheckHook, + pythonOlder, }: buildPythonPackage rec { @@ -27,21 +28,13 @@ buildPythonPackage rec { --replace-fail '"alejandra"' '"${lib.getExe alejandra}"' ''; - nativeBuildInputs = [ - poetry-core - ]; + nativeBuildInputs = [ poetry-core ]; - propagatedBuildInputs = [ - mdformat - ]; + propagatedBuildInputs = [ mdformat ]; - pythonImportsCheck = [ - "mdformat_nix_alejandra" - ]; + pythonImportsCheck = [ "mdformat_nix_alejandra" ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "Mdformat plugin format Nix code blocks with alejandra"; |
