Skip to content
Snippets Groups Projects
Commit 10be7314 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Allow the Nix package to be built against Tahoe 1.16.0rc1

parent e4ba6c78
Branches
No related tags found
1 merge request!229Set up CI for Tahoe 1.16.x
......@@ -3,12 +3,17 @@
, collectCoverage ? false
, testSuite ? null
, trialArgs ? null
, tahoe-lafs ? null
, tahoe-lafs ? "1.14.0"
}:
let
tahoe-packages = {
"1.14.0" = pkgs.python2Packages.tahoe-lafs-1_14;
"1.16.0rc1" = pkgs.python2Packages.callPackage ./nix/tahoe-lafs-1_16.nix { };
};
tahoe-lafs' = builtins.getAttr tahoe-lafs tahoe-packages;
pkgs' = pkgs.extend (import ./overlays.nix);
callPackage = pkgs'.python27Packages.callPackage;
tahoe-lafs' = if tahoe-lafs == null then pkgs.python2Packages.tahoe-lafs-1_14 else tahoe-lafs;
in
callPackage ./zkapauthorizer.nix {
challenge-bypass-ristretto = callPackage ./python-challenge-bypass-ristretto.nix { };
......
{ fetchFromGitHub }:
fetchFromGitHub {
owner = "fenn-cs";
repo = "tahoe-lafs";
rev = "f6a96ae3976ee21ad0376f7b6a22fc3d12110dce";
sha256 = "sha256:127z83c388mvxkz1qdjqdnlj5xgshyn5w5v40vda6mpyy7k9bpb4";
}
{ callPackage }:
let
repo = callPackage ./repo-1_16_0_rc1.nix { };
tahoe-lafs = callPackage "${repo}/nix" { };
in
tahoe-lafs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment