mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 04:57:54 +00:00
Also supply the i2p extra dependency, txi2p
This commit is contained in:
parent
568e1b5317
commit
fa2ba64d4d
@ -48,6 +48,7 @@ callPackage ./nix/tahoe-lafs.nix {
|
||||
# when files that make no difference to the package have changed.
|
||||
tahoe-lafs-src = pkgs.lib.cleanSource ./.;
|
||||
|
||||
# pycddl isn't packaged in nixpkgs so supply our own package of it.
|
||||
# Some dependencies aren't packaged in nixpkgs so supply our own packages.
|
||||
pycddl = callPackage ./nix/pycddl.nix { };
|
||||
txi2p = callPackage ./nix/txi2p.nix { };
|
||||
}
|
||||
|
@ -32,7 +32,7 @@
|
||||
, txtorcon
|
||||
|
||||
# i2p extra dependencies
|
||||
, txi2p-tahoe
|
||||
, txi2p
|
||||
|
||||
# test dependencies
|
||||
, beautifulsoup4
|
||||
@ -56,7 +56,7 @@ let
|
||||
|
||||
pythonExtraDependencies = {
|
||||
tor = [ txtorcon ];
|
||||
i2p = [ txi2p-tahoe ];
|
||||
i2p = [ txi2p ];
|
||||
};
|
||||
|
||||
pythonPackageDependencies = [
|
||||
|
14
nix/txi2p.nix
Normal file
14
nix/txi2p.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ fetchPypi, buildPythonPackage, parsley, twisted, unittestCheckHook }:
|
||||
buildPythonPackage rec {
|
||||
pname = "txi2p-tahoe";
|
||||
version = "0.3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-+Vs9zaFS+ACI14JNxEme93lnWmncdZyFAmnTH0yhOiY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ twisted parsley ];
|
||||
checkInputs = [ unittestCheckHook ];
|
||||
pythonImportsCheck = [ "parsley" "ometa"];
|
||||
}
|
Loading…
Reference in New Issue
Block a user