Skip to content
Snippets Groups Projects
Commit 762f053f authored by Tom Prince's avatar Tom Prince
Browse files

Address review comments.

parent 4c2d8001
No related branches found
No related tags found
1 merge request!239Switch to using mach-nix for python packaging.
......@@ -56,7 +56,7 @@ in
};
zkapauthorizer = mach-nix.buildPythonApplication rec {
inherit python providers;
src = ./.;
src = lib.cleanSource ./.;
# mach-nix does not provide a way to specify dependencies on other
# mach-nix packages, that incorporates the requirements and overlays
# of that package.
......@@ -81,6 +81,10 @@ in
packagesExtra = [ zkapauthorizer tahoe-lafs ];
};
in
# Since we use this derivation in `environment.systemPackages`,
# we create a derivation that has just the executables we use,
# to avoid polluting the system PATH with all the executables
# from our dependencies.
pkgs.runCommandNoCC "privatestorage" {}
''
mkdir -p $out/bin
......
# Generally describe the project
[metadata]
# See https://packaging.python.org/guides/distributing-packages-using-setuptools/#name
# for requiremnts of a valid project name.
name = zero-knowledge-access-pass-authorizer
version = attr: _zkapauthorizer.__version__
description = A `Tahoe-LAFS`_ storage-system plugin which authorizes storage operations based on privacy-respecting tokens.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment