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
4ed8cc80
Unverified
Commit
4ed8cc80
authored
5 years ago
by
Jean-Paul Calderone
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #33 from PrivateStorageio/improve-tahoe-lafs-packaging
Improve Tahoe-LAFS packaging
parents
e67aa972
e034ce66
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tahoe-lafs.nix
+22
-16
22 additions, 16 deletions
tahoe-lafs.nix
with
22 additions
and
16 deletions
tahoe-lafs.nix
+
22
−
16
View file @
4ed8cc80
{
fetchFromGitHub
,
nettools
,
python
Packages
,
buildPythonPackage
,
twisted
,
foolscap
,
nevow
,
simplejson
,
zfec
,
pycryptopp
,
darcsver
,
setuptoolsTrial
,
setuptoolsDarcs
,
pycrypto
,
pyasn1
,
zope_interface
{
fetchFromGitHub
,
nettools
,
python
,
twisted
,
foolscap
,
nevow
,
zfec
,
setuptoolsTrial
,
pyasn1
,
zope_interface
,
service-identity
,
pyyaml
,
magic-wormhole
,
treq
,
appdirs
,
eliot
,
autobahn
,
eliot
,
autobahn
,
cryptography
}:
buildPythonPackage
rec
{
python
.
pkgs
.
buildPythonPackage
rec
{
version
=
"1.14.0.dev"
;
name
=
"tahoe-lafs-
${
version
}
"
;
src
=
fetchFromGitHub
{
owner
=
"LeastAuthority"
;
repo
=
"tahoe-lafs"
;
# HEAD of an integration branch for all of the storage plugin stuff. Last
# updated August 2
0th
2019.
rev
=
"
ba2f31f5f3719c7cf9f621852571e89ab445bf61
"
;
sha256
=
"
02c3zghx1951zw1912c2qf9s7n41wsbz8ld5700myak69nvkh0gs
"
;
# updated August 2
3
2019.
rev
=
"
d4b5de2e08e26ad2cc14265a5993be2ecc791d5b
"
;
sha256
=
"
1l2da13w43zzwr1z262zhhq4hq3sha4zrxp7d46zmjn4ya0ixksf
"
;
};
postPatch
=
''
...
...
@@ -26,19 +26,25 @@ buildPythonPackage rec {
do
sed -i "$i" -e"s/localhost/127.0.0.1/g"
done
sed -i 's/"zope.interface.*"/"zope.interface"/' src/allmydata/_auto_deps.py
sed -i 's/"pycrypto.*"/"pycrypto"/' src/allmydata/_auto_deps.py
''
;
propagatedBuildInputs
=
with
pythonPackages
;
[
twisted
foolscap
nevow
simplejson
zfec
pycryptopp
darcsver
setuptoolsTrial
setuptoolsDarcs
pycrypto
pyasn1
zope_interface
service-identity
pyyaml
magic-wormhole
treq
appdirs
propagatedBuildInputs
=
with
python
.
pkgs
;
[
twisted
foolscap
nevow
zfec
appdirs
setuptoolsTrial
pyasn1
zope_interface
service-identity
pyyaml
magic-wormhole
treq
eliot
autobahn
cryptography
];
eliot
autobahn
checkInputs
=
with
python
.
pkgs
;
[
hypothesis
testtools
fixtures
];
checkPhase
=
''
${
python
}
/bin/python -m twisted.trial -j4 allmydata
''
;
doCheck
=
false
;
}
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