diff options
Diffstat (limited to 'pkgs/development/python-modules/chacha20poly1305-reuseable/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/chacha20poly1305-reuseable/default.nix | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/pkgs/development/python-modules/chacha20poly1305-reuseable/default.nix b/pkgs/development/python-modules/chacha20poly1305-reuseable/default.nix index 429467d65e30..2916b8e7d779 100644 --- a/pkgs/development/python-modules/chacha20poly1305-reuseable/default.nix +++ b/pkgs/development/python-modules/chacha20poly1305-reuseable/default.nix @@ -1,18 +1,19 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, pythonOlder +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pythonOlder, -# build-system -, cython -, poetry-core -, setuptools + # build-system + cython, + poetry-core, + setuptools, -# propagates -, cryptography + # propagates + cryptography, -# tests -, pytestCheckHook + # tests + pytestCheckHook, }: let @@ -39,22 +40,16 @@ buildPythonPackage { setuptools ]; - propagatedBuildInputs = [ - cryptography - ]; + propagatedBuildInputs = [ cryptography ]; - pythonImportsCheck = [ - "chacha20poly1305_reuseable" - ]; + pythonImportsCheck = [ "chacha20poly1305_reuseable" ]; preCheck = '' substituteInPlace pyproject.toml \ --replace "--cov=chacha20poly1305_reuseable --cov-report=term-missing:skip-covered" "" ''; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "ChaCha20Poly1305 that is reuseable for asyncio"; |
