nix-bitcoin/pkgs/default.nix

44 lines
1.5 KiB
Nix
Raw Normal View History

let
nixpkgsPinned = import ./nixpkgs-pinned.nix;
in
# Set default values for use without flakes
{ pkgs ? import <nixpkgs> { config = {}; overlays = []; }
, pkgsUnstable ? import nixpkgsPinned.nixpkgs-unstable {
inherit (pkgs.stdenv) system;
config = {};
overlays = [];
}
}:
let self = {
clightning-rest = pkgs.callPackage ./clightning-rest { inherit (self) fetchNodeModules; };
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);
joinmarket = pkgs.callPackage ./joinmarket { inherit (self) nbPython3PackagesJoinmarket; };
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 { inherit (self) fetchNodeModules; };
# The secp256k1 version used by joinmarket
secp256k1 = pkgs.callPackage ./secp256k1 { };
2021-12-20 14:16:38 +00:00
spark-wallet = pkgs.callPackage ./spark-wallet { };
2022-08-27 04:14:52 +00:00
trustedcoin = pkgs.callPackage ./trustedcoin { };
pyPkgs = import ./python-packages self pkgs.python3;
inherit (self.pyPkgs)
nbPython3Packages
nbPython3PackagesJoinmarket;
2022-08-21 12:41:36 +00:00
fetchNodeModules = pkgs.callPackage ./build-support/fetch-node-modules.nix { };
2021-12-20 14:16:38 +00:00
# Internal pkgs
netns-exec = pkgs.callPackage ./netns-exec { };
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 { };
pinned = import ./pinned.nix pkgs pkgsUnstable;
modulesPkgs = self // self.pinned;
}; in self