Loading pkgs/development/python-modules/cryptolyzer/default.nix +13 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,11 @@ buildPythonPackage rec { hash = "sha256-rRiRaXONLMNirKsK+QZWMSvaGeSLrHN9BpM8dhxoaxY="; }; patches = [ # https://gitlab.com/coroner/cryptolyzer/-/merge_requests/4 ./fix-dirs-exclude.patch ]; pythonRemoveDeps = [ "bs4" ]; build-system = [ Loading @@ -54,6 +59,14 @@ buildPythonPackage rec { # Tests require networking doCheck = false; postInstall = '' find $out -name "__pycache__" -type d | xargs rm -rv # Prevent creating more binary byte code later (e.g. during # pythonImportsCheck) export PYTHONDONTWRITEBYTECODE=1 ''; pythonImportsCheck = [ "cryptolyzer" ]; meta = { Loading pkgs/development/python-modules/cryptolyzer/fix-dirs-exclude.patch 0 → 100644 +27 −0 Original line number Diff line number Diff line From 5ba89bc0bcc23fc7e8cd3eefb2d78b5a63f4fc66 Mon Sep 17 00:00:00 2001 From: Ivan Mincik <ivan.mincik@gmail.com> Date: Wed, 17 Sep 2025 14:44:15 +0200 Subject: [PATCH] Fix directories exclude from package * correctly exclude submodules directory * also exclude docs directory --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 96a0fa89..a26ee257 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -106,7 +106,7 @@ technical_name = 'cryptolyzer' license-files = ['LICENSE.txt'] [tool.setuptools.packages.find] -exclude = ['submodules'] +exclude = ['submodules*', 'docs'] [tool.tox] envlist = [ -- GitLab Loading
pkgs/development/python-modules/cryptolyzer/default.nix +13 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,11 @@ buildPythonPackage rec { hash = "sha256-rRiRaXONLMNirKsK+QZWMSvaGeSLrHN9BpM8dhxoaxY="; }; patches = [ # https://gitlab.com/coroner/cryptolyzer/-/merge_requests/4 ./fix-dirs-exclude.patch ]; pythonRemoveDeps = [ "bs4" ]; build-system = [ Loading @@ -54,6 +59,14 @@ buildPythonPackage rec { # Tests require networking doCheck = false; postInstall = '' find $out -name "__pycache__" -type d | xargs rm -rv # Prevent creating more binary byte code later (e.g. during # pythonImportsCheck) export PYTHONDONTWRITEBYTECODE=1 ''; pythonImportsCheck = [ "cryptolyzer" ]; meta = { Loading
pkgs/development/python-modules/cryptolyzer/fix-dirs-exclude.patch 0 → 100644 +27 −0 Original line number Diff line number Diff line From 5ba89bc0bcc23fc7e8cd3eefb2d78b5a63f4fc66 Mon Sep 17 00:00:00 2001 From: Ivan Mincik <ivan.mincik@gmail.com> Date: Wed, 17 Sep 2025 14:44:15 +0200 Subject: [PATCH] Fix directories exclude from package * correctly exclude submodules directory * also exclude docs directory --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 96a0fa89..a26ee257 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -106,7 +106,7 @@ technical_name = 'cryptolyzer' license-files = ['LICENSE.txt'] [tool.setuptools.packages.find] -exclude = ['submodules'] +exclude = ['submodules*', 'docs'] [tool.tox] envlist = [ -- GitLab