mirror of
https://github.com/tompro/sattle.git
synced 2026-08-27 07:15:59 +00:00
M1: Quasar 2 / Vue 3 / TS / Pinia / i18n / PWA app shell in the lnurl-wallet palette (#002222/#004444/#55ffcc, Noto Sans). Protocol layer is the external lnurlcash-kit library (git dependency on the fork until upstream merges the prepare fix / publishes to npm); keys.ts + receive.ts vendored from lnurl-wallet with the derivation domain renamed to 'sattle'. Nix dev shell, ci workflow (typecheck, vitest, pwa build).
42 lines
1004 B
Nix
42 lines
1004 B
Nix
{
|
|
description = "sattle - end-user wallet for LNURLcash (LUD-25) Lightning bearer notes.";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
outputs =
|
|
{ self, nixpkgs }:
|
|
let
|
|
systems = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
"aarch64-darwin"
|
|
"x86_64-darwin"
|
|
];
|
|
forAllSystems = nixpkgs.lib.genAttrs systems;
|
|
in
|
|
{
|
|
devShells = forAllSystems (
|
|
system:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in
|
|
{
|
|
default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
# lnurlcash-kit requires node >= 22
|
|
nodejs_22
|
|
corepack_22
|
|
git
|
|
# extensible: playwright browsers, capacitor/android SDK tooling,
|
|
# etc. go here as the project grows
|
|
];
|
|
|
|
shellHook = ''
|
|
echo "sattle dev shell (node $(node --version))"
|
|
'';
|
|
};
|
|
}
|
|
);
|
|
};
|
|
}
|