| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- { unstable }:
- let
- inherit (unstable) lib fetchFromGitHub buildDartApplication;
- in
- buildDartApplication rec {
- pname = "zapstore-cli";
- version = "0.2.4";
- src = fetchFromGitHub {
- owner = "zapstore";
- repo = pname;
- tag = version;
- hash = "sha256-mXxQHCBx1x72W2HlOVBmAkNhFF4b9KTHDR1mtQgvqx4=";
- };
- pubspecLock = lib.importJSON ./pubspec.lock.json;
- gitHashes = {
- apk_parser = "sha256-w6Tj0NaqMWjxtmuAIjSOid3Kp4ObSB4CpZZfTaStMRI=";
- dart_console = "sha256-dT976gMr5gxCX4RCRYaPyq9bj6kZ7Rj5lRBr0VnLCCA=";
- models = "sha256-p+pV30Kp85cHg/mRvA5FDi1dMDiFJDBvGMLZ/kHEbN0=";
- nip07_signer = "sha256-AmXCH8FG+3GYxEWYTIeT1qEMX07jhCUW4gmTTXwi9AA=";
- nip44 = "sha256-rzOouw/BPwfxRvy8c2kMnEz6MfIUWYTrnyVBcmGYCD4=";
- purplebase = "sha256-6e1mdAo763s+AXsAGclzJf3PAh6NMTzI8mqrvy5KvLo=";
- };
- dartEntryPoints = {
- "zapstore" = "lib/main.dart";
- };
- postInstall = ''
- mkdir -p "$out/bin"
- cp zapstore "$out/bin/"
- '';
- meta = with lib; {
- description = "The permissionless package manager";
- homepage = "https://zapstore.dev";
- maintainers = [ ];
- license = licenses.mit;
- };
- }
|