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
5b211c10
Unverified
Commit
5b211c10
authored
5 years ago
by
Jean-Paul Calderone
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #35 from PrivateStorageio/fix-ristretto-cargoSha256
Several packaging fixes.
parents
f437d988
b6292cc9
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
nixpkgs.nix
+1
-4
1 addition, 4 deletions
nixpkgs.nix
overlays.nix
+12
-0
12 additions, 0 deletions
overlays.nix
privacypass-repo.nix
+2
-3
2 additions, 3 deletions
privacypass-repo.nix
tahoe-lafs.nix
+6
-7
6 additions, 7 deletions
tahoe-lafs.nix
typing.nix
+30
-0
30 additions, 0 deletions
typing.nix
with
51 additions
and
14 deletions
nixpkgs.nix
+
1
−
4
View file @
5b211c10
{
pkgs
?
import
<
nixpkgs
>
{
}
}:
{
pkgs
?
import
<
nixpkgs
>
{
}
}:
let
let
nixpkgs
=
fetchTarball
nixpkgs
=
pkgs
.
path
;
{
url
=
"https://github.com/NixOS/nixpkgs-channels/archive/4557b9f1f50aa813ae673fe6fcd30ca872968947.tar.gz"
;
sha256
=
"0cam48cn042axcik9vqxsqjc2hwyb2grjbjxacsn4w0y1zk6k6l2"
;
};
args
=
args
=
{
overlays
=
[
(
import
./overlays.nix
)
];
{
overlays
=
[
(
import
./overlays.nix
)
];
};
};
...
...
This diff is collapsed.
Click to expand it.
overlays.nix
+
12
−
0
View file @
5b211c10
...
@@ -5,6 +5,18 @@ self: super: {
...
@@ -5,6 +5,18 @@ self: super: {
python27
=
super
.
python27
.
override
{
python27
=
super
.
python27
.
override
{
packageOverrides
=
python-self
:
python-super
:
{
packageOverrides
=
python-self
:
python-super
:
{
# The newest typing is incompatible with the packaged version of
# Hypothesis. Upgrading Hypothesis is like pulling on a loose thread in
# a sweater. I pulled it as far as pytest where I found there was no
# upgrade route because pytest has dropped Python 2 support.
# Fortunately, downgrading typing ends up being fairly straightforward.
#
# For now. This is, no doubt, a sign of things to come for the Python 2
# ecosystem - the early stages of a slow, painful death by the thousand
# cuts of incompatibilities between libraries with no maintained Python
# 2 support.
typing
=
python-super
.
callPackage
./typing.nix
{
};
# new tahoe-lafs dependency
# new tahoe-lafs dependency
eliot
=
python-super
.
callPackage
./eliot.nix
{
};
eliot
=
python-super
.
callPackage
./eliot.nix
{
};
# new autobahn requires a newer cryptography
# new autobahn requires a newer cryptography
...
...
This diff is collapsed.
Click to expand it.
privacypass-repo.nix
+
2
−
3
View file @
5b211c10
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
fetchFromGitHub
{
fetchFromGitHub
{
owner
=
"LeastAuthority"
;
owner
=
"LeastAuthority"
;
repo
=
"privacypass"
;
repo
=
"privacypass"
;
rev
=
"5126376574ac126d2cdcd0612ef0ed65ef7bca6e"
;
rev
=
"45855401e163f8e622bd93a5c5bce13de8c8510a"
;
sha256
=
"sha256:1b53315qf3yp9mzrx7nmmqj9gia211yhrzg31jp8ny10w6vgbxmn"
;
sha256
=
"sha256:15wv8vas6x8cdicylp0m632c916p7qxq1k4lnchr8c92lldp0rv7"
;
fetchSubmodules
=
true
;
}
}
This diff is collapsed.
Click to expand it.
tahoe-lafs.nix
+
6
−
7
View file @
5b211c10
{
fetchFromGitHub
,
nettools
,
python
{
fetchFromGitHub
,
nettools
,
python
,
twisted
,
foolscap
,
nevow
,
zfec
,
twisted
,
foolscap
,
nevow
,
zfec
,
setuptoolsTrial
,
pyasn1
,
zope_interface
,
setuptools
,
setuptoolsTrial
,
pyasn1
,
zope_interface
,
service-identity
,
pyyaml
,
magic-wormhole
,
treq
,
appdirs
,
service-identity
,
pyyaml
,
magic-wormhole
,
treq
,
appdirs
,
eliot
,
autobahn
,
cryptography
,
eliot
,
autobahn
,
cryptography
}:
}:
...
@@ -11,9 +11,9 @@ python.pkgs.buildPythonPackage rec {
...
@@ -11,9 +11,9 @@ python.pkgs.buildPythonPackage rec {
owner
=
"LeastAuthority"
;
owner
=
"LeastAuthority"
;
repo
=
"tahoe-lafs"
;
repo
=
"tahoe-lafs"
;
# HEAD of an integration branch for all of the storage plugin stuff. Last
# HEAD of an integration branch for all of the storage plugin stuff. Last
# updated
August 23
2019.
# updated
October 4
2019.
rev
=
"
d4b5de2e08e26ad2cc14265a5993be2ecc791d5b
"
;
rev
=
"
8c1f536ba4fbc01f3bc5f08412edbefc56ff7037
"
;
sha256
=
"1
l2da13w43zzwr1z262zhhq4hq3sha4zrxp7d46zmjn4ya0ixksf
"
;
sha256
=
"1
7d7pkbsgss3rhqf7ac7ylzbddi555rnkzz48zjqwq1zx1z2jhy6
"
;
};
};
postPatch
=
''
postPatch
=
''
...
@@ -34,7 +34,7 @@ python.pkgs.buildPythonPackage rec {
...
@@ -34,7 +34,7 @@ python.pkgs.buildPythonPackage rec {
setuptoolsTrial
pyasn1
zope_interface
setuptoolsTrial
pyasn1
zope_interface
service-identity
pyyaml
magic-wormhole
treq
service-identity
pyyaml
magic-wormhole
treq
eliot
autobahn
cryptography
eliot
autobahn
cryptography
setuptools
];
];
checkInputs
=
with
python
.
pkgs
;
[
checkInputs
=
with
python
.
pkgs
;
[
...
@@ -44,7 +44,6 @@ python.pkgs.buildPythonPackage rec {
...
@@ -44,7 +44,6 @@ python.pkgs.buildPythonPackage rec {
];
];
checkPhase
=
''
checkPhase
=
''
$
{
python
}
/bin/
py
tho
n
-
m twisted.trial -j4 allmydata
$
out
/bin/t
a
ho
e
-
-version
''
;
''
;
doCheck
=
false
;
}
}
This diff is collapsed.
Click to expand it.
typing.nix
0 → 100644
+
30
−
0
View file @
5b211c10
{
lib
,
buildPythonPackage
,
fetchPypi
,
pythonOlder
,
isPy3k
,
isPyPy
,
python
}:
let
testDir
=
if
isPy3k
then
"src"
else
"python2"
;
in
buildPythonPackage
rec
{
pname
=
"typing"
;
version
=
"3.6.6"
;
src
=
fetchPypi
{
inherit
pname
version
;
sha256
=
"sha256:0ba9acs4awx15bf9v3nrs781msbd2nx826906nj6fqks2bvca9s0"
;
};
# Error for Python3.6: ImportError: cannot import name 'ann_module'
# See https://github.com/python/typing/pull/280
# Also, don't bother on PyPy: AssertionError: TypeError not raised
doCheck
=
pythonOlder
"3.6"
&&
!
isPyPy
;
checkPhase
=
''
cd
${
testDir
}
${
python
.
interpreter
}
-m unittest discover
''
;
meta
=
with
lib
;
{
description
=
"Backport of typing module to Python versions older than 3.5"
;
homepage
=
https://docs.python.org/3/library/typing.html
;
license
=
licenses
.
psfl
;
};
}
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