2021-08-16 01:42:06 -07:00
|
|
|
let
|
|
|
|
nixpkgsPinned = import ./nixpkgs-pinned.nix;
|
|
|
|
in
|
|
|
|
# Set default values for use without flakes
|
|
|
|
{ pkgs ? import <nixpkgs> { config = {}; overlays = []; }
|
|
|
|
, pkgsUnstable ? import nixpkgsPinned.nixpkgs-unstable { config = {}; overlays = []; }
|
|
|
|
}:
|
2020-11-09 13:09:09 -08:00
|
|
|
let self = {
|
2021-11-08 03:42:24 -08:00
|
|
|
cl-rest = pkgs.callPackage ./cl-rest { };
|
2020-12-21 02:50:50 -08:00
|
|
|
clboss = pkgs.callPackage ./clboss { };
|
2021-12-20 06:16:38 -08:00
|
|
|
clightning-plugins = pkgs.recurseIntoAttrs (import ./clightning-plugins pkgs self.nbPython3Packages);
|
2022-05-05 11:43:09 -07:00
|
|
|
joinmarket = pkgs.callPackage ./joinmarket { nbPythonPackageOverrides = import ./python-packages self; };
|
2022-03-29 12:48:56 -07:00
|
|
|
lndinit = pkgs.callPackage ./lndinit { };
|
2021-12-20 06:16:38 -08:00
|
|
|
liquid-swap = pkgs.python3Packages.callPackage ./liquid-swap { };
|
|
|
|
rtl = pkgs.callPackage ./rtl { };
|
2022-03-03 07:12:58 -08:00
|
|
|
# The secp256k1 version used by joinmarket
|
2021-02-05 04:37:18 -08:00
|
|
|
secp256k1 = pkgs.callPackage ./secp256k1 { };
|
2021-12-20 06:16:38 -08:00
|
|
|
spark-wallet = pkgs.callPackage ./spark-wallet { };
|
2020-03-04 09:08:46 -08:00
|
|
|
|
2020-11-12 09:07:38 -08:00
|
|
|
nbPython3Packages = (pkgs.python3.override {
|
2021-04-07 03:51:14 -07:00
|
|
|
packageOverrides = import ./python-packages self;
|
2020-11-12 09:07:38 -08:00
|
|
|
}).pkgs;
|
|
|
|
|
2021-12-20 06:16:38 -08:00
|
|
|
# Internal pkgs
|
|
|
|
netns-exec = pkgs.callPackage ./netns-exec { };
|
|
|
|
krops = import ./krops { };
|
|
|
|
|
|
|
|
# Deprecated pkgs
|
|
|
|
generate-secrets = import ./generate-secrets-deprecated.nix;
|
|
|
|
nixops19_09 = pkgs.callPackage ./nixops { };
|
|
|
|
|
2021-08-16 01:42:06 -07:00
|
|
|
pinned = import ./pinned.nix pkgs pkgsUnstable;
|
2020-08-04 07:11:51 -07:00
|
|
|
|
2020-11-09 13:09:09 -08:00
|
|
|
modulesPkgs = self // self.pinned;
|
|
|
|
}; in self
|