Compare commits
2 Commits
90afe7c81a
...
b43f2ace49
| Author | SHA1 | Date | |
|---|---|---|---|
|
b43f2ace49
|
|||
|
ae29f9eefc
|
@@ -62,10 +62,11 @@ jobs:
|
|||||||
|
|
||||||
system="$(nix eval --impure --raw --expr builtins.currentSystem)"
|
system="$(nix eval --impure --raw --expr builtins.currentSystem)"
|
||||||
|
|
||||||
nix build --accept-flake-config --no-link --print-out-paths -L \
|
NIXPKGS_ALLOW_UNFREE=1 nix build --impure --accept-flake-config --no-link --print-out-paths -L \
|
||||||
".#packages.${system}.musicpresence" \
|
".#packages.${system}.musicpresence" \
|
||||||
".#packages.${system}.vintage-story" \
|
".#packages.${system}.vintage-story" \
|
||||||
".#packages.${system}.swaytreesave" \
|
".#packages.${system}.swaytreesave" \
|
||||||
|
".#packages.${system}.archon" \
|
||||||
| tee built-paths.txt
|
| tee built-paths.txt
|
||||||
|
|
||||||
- name: Push packages to Attic
|
- name: Push packages to Attic
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
{ pkgs }:
|
{ pkgs }:
|
||||||
{
|
{
|
||||||
# sable-web = pkgs.callPackage ./common/sable.nix {};
|
# sable-web = pkgs.callPackage ./common/sable.nix {};
|
||||||
swaytreesave = pkgs.callPackage ./linux/swaytreesave.nix { };
|
swaytreesave = pkgs.callPackage ./linux/swaytreesave.nix {};
|
||||||
musicpresence = pkgs.callPackage ./linux/musicpresence.nix { };
|
musicpresence = pkgs.callPackage ./linux/musicpresence.nix {};
|
||||||
vintage-story = pkgs.callPackage ./linux/vintage-story.nix { };
|
vintage-story = pkgs.callPackage ./linux/vintage-story.nix {};
|
||||||
|
archon = pkgs.callPackage ./linux/archon.nix {};
|
||||||
yubilock = pkgs.callPackage ./linux/yubilock/default.nix { };
|
yubilock = pkgs.callPackage ./linux/yubilock/default.nix { };
|
||||||
}
|
}
|
||||||
|
|||||||
32
pkgs/linux/archon.nix
Normal file
32
pkgs/linux/archon.nix
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{ pkgs }:
|
||||||
|
let
|
||||||
|
pname = "archon";
|
||||||
|
version = "9.3.119";
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "https://github.com/RPGLogs/Uploaders-archon/releases/download/v${version}/${pname}-v${version}.AppImage";
|
||||||
|
hash = "sha256-mUsmaIxm3DZ1vvcwxpmDTWTj+UlFSv+jYkBrteL8xQk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
appimageContents = pkgs.appimageTools.extract {
|
||||||
|
inherit pname version src;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
pkgs.appimageTools.wrapType2 {
|
||||||
|
inherit pname version src;
|
||||||
|
|
||||||
|
nativeBuildInputs = with pkgs; [ makeWrapper ];
|
||||||
|
extraInstallCommands = ''
|
||||||
|
install -Dm444 "${appimageContents}/Archon App.desktop" "$out/share/applications/archon.desktop"
|
||||||
|
install -Dm444 "${appimageContents}/Archon App.png" "$out/share/icons/hicolor/256x256/apps/archon.png"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with pkgs.lib; {
|
||||||
|
description = "RPGLogs Archon uploader";
|
||||||
|
homepage = "https://github.com/RPGLogs/Uploaders-archon";
|
||||||
|
license = licenses.unfree;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||||
|
mainProgram = "archon";
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user