30 lines
615 B
Nix
Executable File
30 lines
615 B
Nix
Executable File
{
|
|
lib,
|
|
namespace,
|
|
appimageTools,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib.trivial) importJSON;
|
|
inherit (lib.${namespace}) selectVariant mkAllSources;
|
|
|
|
versionSpec = importJSON ./version.json;
|
|
selected = selectVariant versionSpec null null;
|
|
sources = mkAllSources pkgs selected;
|
|
inherit (selected.sources) moondeck-buddy;
|
|
in
|
|
appimageTools.wrapType2 {
|
|
pname = "moondeck-buddy";
|
|
version = moondeck-buddy.tag or moondeck-buddy.rev;
|
|
|
|
src = sources.moondeck-buddy;
|
|
|
|
meta = with lib; {
|
|
description = "";
|
|
license = licenses.bsd3;
|
|
platforms = [ "x86_64-linux" ];
|
|
maintainers = [ ];
|
|
};
|
|
}
|