mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-28 12:49:17 -05:00
pkgs: add emudeck (#177)
Some checks are pending
nix-build / adjustor-build (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / emudeck-build (push) Waiting to run
nix-build / hhd-ui-build (push) Waiting to run
nix-build / rofi-bluetooth-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
nix-build / adjustor-build (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / emudeck-build (push) Waiting to run
nix-build / hhd-ui-build (push) Waiting to run
nix-build / rofi-bluetooth-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
* pkgs: add emudeck * overlays/default: add emudeck * github: add emudeck
This commit is contained in:
parent
ccb70cbcff
commit
0c81d34aa5
22
.github/workflows/nix-build.yml
vendored
22
.github/workflows/nix-build.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: alyraffauf
|
name: alyraffauf
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
- name: Build default package
|
- name: Build adjustor package
|
||||||
run: nix build --accept-flake-config .#packages.x86_64-linux.adjustor
|
run: nix build --accept-flake-config .#packages.x86_64-linux.adjustor
|
||||||
clean-install-build:
|
clean-install-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -33,8 +33,22 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: alyraffauf
|
name: alyraffauf
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
- name: Build default package
|
- name: Build clean-install package
|
||||||
run: nix build --accept-flake-config .#packages.x86_64-linux.clean-install
|
run: nix build --accept-flake-config .#packages.x86_64-linux.clean-install
|
||||||
|
emudeck-build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@main
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
- uses: cachix/cachix-action@master
|
||||||
|
with:
|
||||||
|
name: alyraffauf
|
||||||
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
- name: Build emudeck package
|
||||||
|
run: nix build --accept-flake-config .#packages.x86_64-linux.emudeck
|
||||||
hhd-ui-build:
|
hhd-ui-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -47,7 +61,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: alyraffauf
|
name: alyraffauf
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
- name: Build default package
|
- name: Build hhd-ui package
|
||||||
run: nix build --accept-flake-config .#packages.x86_64-linux.hhd-ui
|
run: nix build --accept-flake-config .#packages.x86_64-linux.hhd-ui
|
||||||
rofi-bluetooth-build:
|
rofi-bluetooth-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -61,7 +75,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: alyraffauf
|
name: alyraffauf
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
- name: Build default package
|
- name: Build rofi-bluetooth package
|
||||||
run: nix build --accept-flake-config .#packages.x86_64-linux.rofi-bluetooth
|
run: nix build --accept-flake-config .#packages.x86_64-linux.rofi-bluetooth
|
||||||
fallarbor-build:
|
fallarbor-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -203,6 +203,7 @@
|
||||||
text = ./flake/clean-install.sh;
|
text = ./flake/clean-install.sh;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
emudeck = pkgs.callPackage ./pkgs/emudeck.nix {};
|
||||||
hhd-ui = pkgs.callPackage ./pkgs/hhd-ui.nix {};
|
hhd-ui = pkgs.callPackage ./pkgs/hhd-ui.nix {};
|
||||||
rofi-bluetooth = pkgs.callPackage ./pkgs/rofi-bluetooth.nix {};
|
rofi-bluetooth = pkgs.callPackage ./pkgs/rofi-bluetooth.nix {};
|
||||||
});
|
});
|
||||||
|
|
|
@ -2,5 +2,6 @@
|
||||||
{self}: final: prev: {
|
{self}: final: prev: {
|
||||||
adjustor = self.packages.${prev.system}.adjustor;
|
adjustor = self.packages.${prev.system}.adjustor;
|
||||||
hhd-ui = self.packages.${prev.system}.hhd-ui;
|
hhd-ui = self.packages.${prev.system}.hhd-ui;
|
||||||
|
emudeck = self.packages.${prev.system}.emudeck;
|
||||||
rofi-bluetooth = self.packages.${prev.system}.rofi-bluetooth;
|
rofi-bluetooth = self.packages.${prev.system}.rofi-bluetooth;
|
||||||
}
|
}
|
||||||
|
|
35
pkgs/emudeck.nix
Normal file
35
pkgs/emudeck.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
appimageTools,
|
||||||
|
fetchurl,
|
||||||
|
lib,
|
||||||
|
}:
|
||||||
|
appimageTools.wrapType2 rec {
|
||||||
|
pname = "emudeck";
|
||||||
|
version = "2.3.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
hash = "sha256-BVlATLKbE9wwMs4844UpXCTZsLW1oRFWf9hujVUpa4k=";
|
||||||
|
url = "https://github.com/EmuDeck/emudeck-electron/releases/download/v${version}/EmuDeck-${version}.AppImage";
|
||||||
|
};
|
||||||
|
|
||||||
|
extraPkgs = pkgs:
|
||||||
|
with pkgs; [
|
||||||
|
bash
|
||||||
|
flatpak
|
||||||
|
fuse2
|
||||||
|
git
|
||||||
|
jq
|
||||||
|
newt
|
||||||
|
rsync
|
||||||
|
unzip
|
||||||
|
zenity
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "EmuDeck utility to manage ROMs on handheld PCs";
|
||||||
|
homepage = "https://github.com/EmuDeck/emudeck-electron";
|
||||||
|
license = licenses.mit;
|
||||||
|
mainProgram = "emudeck";
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue