2021-08-16 08:42:06 +00:00
|
|
|
let
|
|
|
|
nixpkgsPinned = import ./nixpkgs-pinned.nix;
|
|
|
|
in
|
|
|
|
# Set default values for use without flakes
|
|
|
|
{ pkgs ? import <nixpkgs> { config = {}; overlays = []; }
|
2022-05-11 08:01:12 +00:00
|
|
|
, pkgsUnstable ? import nixpkgsPinned.nixpkgs-unstable {
|
2022-01-06 12:40:52 +00:00
|
|
|
inherit (pkgs.stdenv) system;
|
2022-05-11 08:01:12 +00:00
|
|
|
config = {};
|
|
|
|
overlays = [];
|
|
|
|
}
|
2021-08-16 08:42:06 +00:00
|
|
|
}:
|
2020-11-09 21:09:09 +00:00
|
|
|
let self = {
|
2022-05-01 13:52:30 +00:00
|
|
|
clightning-rest = pkgs.callPackage ./clightning-rest { };
|
2020-12-21 10:50:50 +00:00
|
|
|
clboss = pkgs.callPackage ./clboss { };
|
2021-12-20 14:16:38 +00:00
|
|
|
clightning-plugins = pkgs.recurseIntoAttrs (import ./clightning-plugins pkgs self.nbPython3Packages);
|
2022-05-05 18:43:09 +00:00
|
|
|
joinmarket = pkgs.callPackage ./joinmarket { nbPythonPackageOverrides = import ./python-packages self; };
|
2022-03-29 19:48:56 +00:00
|
|
|
lndinit = pkgs.callPackage ./lndinit { };
|
2021-12-20 14:16:38 +00:00
|
|
|
liquid-swap = pkgs.python3Packages.callPackage ./liquid-swap { };
|
|
|
|
rtl = pkgs.callPackage ./rtl { };
|
2022-03-03 15:12:58 +00:00
|
|
|
# The secp256k1 version used by joinmarket
|
2021-02-05 12:37:18 +00:00
|
|
|
secp256k1 = pkgs.callPackage ./secp256k1 { };
|
2021-12-20 14:16:38 +00:00
|
|
|
spark-wallet = pkgs.callPackage ./spark-wallet { };
|
2020-03-04 17:08:46 +00:00
|
|
|
|
2020-11-12 17:07:38 +00:00
|
|
|
nbPython3Packages = (pkgs.python3.override {
|
2021-04-07 10:51:14 +00:00
|
|
|
packageOverrides = import ./python-packages self;
|
2020-11-12 17:07:38 +00:00
|
|
|
}).pkgs;
|
|
|
|
|
2022-08-21 08:22:34 +00:00
|
|
|
# Fix clightning build by using python package mistune 0.8.4, which is a
|
|
|
|
# strict requirement. This version is affected by CVE-2022-34749, but this
|
|
|
|
# is irrelevant in this context.
|
|
|
|
#
|
|
|
|
# TODO-EXTERNAL:
|
|
|
|
# Remove this when the clightning build is fixed upstream.
|
|
|
|
clightning = pkgs.callPackage ./clightning-mistune-workaround { inherit (pkgs) clightning; };
|
|
|
|
|
2021-12-20 14:16:38 +00:00
|
|
|
# Internal pkgs
|
|
|
|
netns-exec = pkgs.callPackage ./netns-exec { };
|
2022-07-03 17:49:09 +00:00
|
|
|
krops = import ./krops { inherit pkgs; };
|
2021-12-20 14:16:38 +00:00
|
|
|
|
|
|
|
# Deprecated pkgs
|
|
|
|
generate-secrets = import ./generate-secrets-deprecated.nix;
|
|
|
|
nixops19_09 = pkgs.callPackage ./nixops { };
|
|
|
|
|
2021-08-16 08:42:06 +00:00
|
|
|
pinned = import ./pinned.nix pkgs pkgsUnstable;
|
2020-08-04 14:11:51 +00:00
|
|
|
|
2020-11-09 21:09:09 +00:00
|
|
|
modulesPkgs = self // self.pinned;
|
|
|
|
}; in self
|