Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
ZKAPAuthorizer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Administrator
ZKAPAuthorizer
Commits
762f053f
Commit
762f053f
authored
3 years ago
by
Tom Prince
Browse files
Options
Downloads
Patches
Plain Diff
Address review comments.
parent
4c2d8001
No related branches found
Branches containing commit
No related tags found
1 merge request
!239
Switch to using mach-nix for python packaging.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
default.nix
+5
-1
5 additions, 1 deletion
default.nix
setup.cfg
+2
-0
2 additions, 0 deletions
setup.cfg
with
7 additions
and
1 deletion
default.nix
+
5
−
1
View file @
762f053f
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
setup.cfg
+
2
−
0
View file @
762f053f
# 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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment