Compare commits
8
Commits
563be1867c
..
cliamp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2fc67cffe3 | ||
|
|
c16695f5f4
|
||
|
|
2f16b8c56a | ||
|
|
ecd0ec0c95
|
||
|
|
91c5fd7944
|
||
|
|
7dad6a62f0
|
||
|
|
c736d31570 | ||
|
|
b7c6087115
|
@@ -69,11 +69,13 @@ jobs:
|
|||||||
|
|
||||||
NIXPKGS_ALLOW_UNFREE=1 nix build --impure --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}.atuinLatest" \
|
".#packages.${system}.atuinLatest" \
|
||||||
|
".#packages.${system}.cliampLatest" \
|
||||||
".#packages.${system}.musicpresence" \
|
".#packages.${system}.musicpresence" \
|
||||||
".#packages.${system}.vintage-story" \
|
".#packages.${system}.vintage-story" \
|
||||||
".#packages.${system}.swaytreesave" \
|
".#packages.${system}.swaytreesave" \
|
||||||
".#packages.${system}.archon" \
|
".#packages.${system}.archon" \
|
||||||
".#packages.${system}.ani-cli-rs" \
|
".#packages.${system}.ani-cli-rs" \
|
||||||
|
".#packages.${system}.opengoal" \
|
||||||
| tee built-paths.txt
|
| tee built-paths.txt
|
||||||
|
|
||||||
- name: Push packages to Attic
|
- name: Push packages to Attic
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
final: prev: {
|
||||||
|
cliampLatest = prev.cliamp.overrideAttrs (oldAttrs: rec {
|
||||||
|
version = "2.0.1";
|
||||||
|
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "bjarneo";
|
||||||
|
repo = "cliamp";
|
||||||
|
tag = "v${version}";
|
||||||
|
sha256 = "sha256-r7MrrcVt+/f+iPozn9jaczJmpPv431wAoW8LvHKBtB8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-rtwUWbft5XGEbuBCn0OMCn4TS5Ul+UXJNIqNOzXfU+M=";
|
||||||
|
|
||||||
|
buildInputs = with prev; [
|
||||||
|
libogg
|
||||||
|
libvorbis
|
||||||
|
flac
|
||||||
|
mpg123
|
||||||
|
]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||||
|
alsa-lib
|
||||||
|
];
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -2,4 +2,5 @@ final: prev:
|
|||||||
prev.lib.composeManyExtensions [
|
prev.lib.composeManyExtensions [
|
||||||
(import ./atuin.nix)
|
(import ./atuin.nix)
|
||||||
(import ./container.nix)
|
(import ./container.nix)
|
||||||
|
(import ./cliamp.nix)
|
||||||
] final prev
|
] final prev
|
||||||
|
|||||||
+4
-2
@@ -1,12 +1,13 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
hildibrand ? null,
|
hildibrand ? null,
|
||||||
caitsith ? null
|
caitsith ? null,
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
# any overlays we define here
|
# any overlays we define here
|
||||||
atuinLatest = pkgs.atuinLatest;
|
atuinLatest = pkgs.atuinLatest;
|
||||||
containerLatest = pkgs.containerLatest;
|
containerLatest = pkgs.containerLatest;
|
||||||
|
cliampLatest = pkgs.cliampLatest;
|
||||||
|
|
||||||
# any packages that are added to pkgs and are inputs, we inherit them here
|
# any packages that are added to pkgs and are inputs, we inherit them here
|
||||||
inherit hildibrand;
|
inherit hildibrand;
|
||||||
@@ -20,4 +21,5 @@
|
|||||||
archon = pkgs.callPackage ./linux/archon.nix { };
|
archon = pkgs.callPackage ./linux/archon.nix { };
|
||||||
yubilock = pkgs.callPackage ./linux/yubilock/default.nix { };
|
yubilock = pkgs.callPackage ./linux/yubilock/default.nix { };
|
||||||
ani-cli-rs = pkgs.callPackage ./linux/ani-cli-rs.nix { };
|
ani-cli-rs = pkgs.callPackage ./linux/ani-cli-rs.nix { };
|
||||||
|
opengoal = pkgs.callPackage ./linux/opengoal.nix { };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,49 @@
|
|||||||
|
{ pkgs }:
|
||||||
|
let
|
||||||
|
pname = "OpenGOAL-Launcher";
|
||||||
|
version = "2.10.4";
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "https://github.com/open-goal/launcher/releases/download/v${version}/${pname}_${version}_amd64.AppImage";
|
||||||
|
hash = "sha256-eikzjdOYNdJM9FM3O/HuCFDzf97Fm1nhbRedDyKZ1/s=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
pkgs.stdenvNoCC.mkDerivation {
|
||||||
|
inherit pname version src;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
dontPatchELF = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
cp "$src" "${pname}.AppImage"
|
||||||
|
chmod +x "${pname}.AppImage"
|
||||||
|
./"${pname}.AppImage" --appimage-extract
|
||||||
|
|
||||||
|
mkdir -p "$out/opt"
|
||||||
|
cp -a AppDir "$out/opt/opengoal-launcher"
|
||||||
|
rm -f "$out/opt/opengoal-launcher/share/icons/hicolor/scalable/apps/byobu.svg"
|
||||||
|
|
||||||
|
makeWrapper "$out/opt/opengoal-launcher/AppRun" "$out/bin/${pname}"
|
||||||
|
install -Dm444 "AppDir/${pname}.desktop" \
|
||||||
|
"$out/share/applications/${pname}.desktop"
|
||||||
|
install -Dm444 "AppDir/${pname}.png" \
|
||||||
|
"$out/share/icons/hicolor/256x256/apps/${pname}.png"
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = pkgs.nix-update-script { };
|
||||||
|
|
||||||
|
meta = with pkgs.lib; {
|
||||||
|
description = "Launcher for the OpenGOAL project";
|
||||||
|
homepage = "https://github.com/open-goal/launcher";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||||
|
mainProgram = pname;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user