mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-12-21 12:35:56 -05:00
pkgs: remove bazznix packages
Some checks failed
git-mirror / gitlab-sync (push) Has been cancelled
nix-build / clean-install-build (push) Has been cancelled
nix-build / rofi-bluetooth-build (push) Has been cancelled
nix-build / fallarbor-build (push) Has been cancelled
nix-build / lavaridge-build (push) Has been cancelled
nix-build / mauville-build (push) Has been cancelled
nix-build / petalburg-build (push) Has been cancelled
nix-build / rustboro-build (push) Has been cancelled
nix-build / slateport-build (push) Has been cancelled
nix-check / fmt-check (push) Has been cancelled
nix-check / eval-check (push) Has been cancelled
Some checks failed
git-mirror / gitlab-sync (push) Has been cancelled
nix-build / clean-install-build (push) Has been cancelled
nix-build / rofi-bluetooth-build (push) Has been cancelled
nix-build / fallarbor-build (push) Has been cancelled
nix-build / lavaridge-build (push) Has been cancelled
nix-build / mauville-build (push) Has been cancelled
nix-build / petalburg-build (push) Has been cancelled
nix-build / rustboro-build (push) Has been cancelled
nix-build / slateport-build (push) Has been cancelled
nix-check / fmt-check (push) Has been cancelled
nix-check / eval-check (push) Has been cancelled
This commit is contained in:
parent
fd97c97ac2
commit
4c670bf3bb
42
.github/workflows/nix-build.yml
vendored
42
.github/workflows/nix-build.yml
vendored
|
@ -7,20 +7,6 @@ on:
|
|||
- '_img/**'
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
adjustor-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 adjustor package
|
||||
run: nix build --accept-flake-config .#packages.x86_64-linux.adjustor
|
||||
clean-install-build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
@ -35,34 +21,6 @@ jobs:
|
|||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- name: Build clean-install package
|
||||
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:
|
||||
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 hhd-ui package
|
||||
run: nix build --accept-flake-config .#packages.x86_64-linux.hhd-ui
|
||||
rofi-bluetooth-build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
@ -192,15 +192,11 @@
|
|||
packages = forAllLinuxSystems ({pkgs}: rec {
|
||||
default = clean-install;
|
||||
|
||||
adjustor = pkgs.callPackage ./pkgs/adjustor.nix {};
|
||||
|
||||
clean-install = pkgs.writeShellApplication {
|
||||
name = "clean-install";
|
||||
text = ./flake/clean-install.sh;
|
||||
};
|
||||
|
||||
emudeck = pkgs.callPackage ./pkgs/emudeck.nix {};
|
||||
hhd-ui = pkgs.callPackage ./pkgs/hhd-ui.nix {};
|
||||
rofi-bluetooth = pkgs.callPackage ./pkgs/rofi-bluetooth.nix {};
|
||||
});
|
||||
};
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
# Default overlay.
|
||||
{self}: final: prev: {
|
||||
adjustor = self.packages.${prev.system}.adjustor;
|
||||
hhd-ui = self.packages.${prev.system}.hhd-ui;
|
||||
emudeck = self.packages.${prev.system}.emudeck;
|
||||
rofi-bluetooth = self.packages.${prev.system}.rofi-bluetooth;
|
||||
}
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
{
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
python3,
|
||||
}:
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "adjustor";
|
||||
version = "3.5.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
hash = "sha256-9ONWKI68Llh36giIS6nVKNrZYmNAGMfwW2vgPMFuwXM=";
|
||||
owner = "hhd-dev";
|
||||
repo = "adjustor";
|
||||
rev = "v${version}";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
dbus-python
|
||||
fuse
|
||||
pygobject3
|
||||
pyroute2
|
||||
rich
|
||||
setuptools
|
||||
];
|
||||
|
||||
# This package doesn't have upstream tests.
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "TDP control of AMD Handhelds with handheld-daemon.";
|
||||
homepage = "https://github.com/hhd-dev/adjustor/";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -1,48 +0,0 @@
|
|||
# This is extremely limited and largely proof-of-concept. Many things will simply not work, including Steam ROM Manager. Expect issues.
|
||||
{
|
||||
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
|
||||
];
|
||||
|
||||
extraInstallCommands = let
|
||||
appimageContents = appimageTools.extractType2 {
|
||||
inherit pname version src;
|
||||
};
|
||||
in ''
|
||||
install -m 444 -D ${appimageContents}/emudeck.desktop $out/share/applications/emudeck.desktop
|
||||
install -m 444 -D ${appimageContents}/emudeck.png \
|
||||
$out/share/icons/hicolor/scalable/apps/emudeck.png
|
||||
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||
--replace 'Exec=AppRun' 'Exec=${pname}'
|
||||
'';
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
{
|
||||
appimageTools,
|
||||
fetchurl,
|
||||
lib,
|
||||
}:
|
||||
appimageTools.wrapType2 rec {
|
||||
pname = "hhd-ui";
|
||||
version = "3.2.3";
|
||||
|
||||
src = fetchurl {
|
||||
hash = "sha256-VhJrOvE+BebJIAeQlwOOsPfqSrvBnJQavGT7glTrG2o=";
|
||||
url = "https://github.com/hhd-dev/hhd-ui/releases/download/v${version}/${pname}.AppImage";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Graphical user interface for Handheld Daemon settings from Steam Big Picture Mode, the Desktop, and the Web.";
|
||||
homepage = "https://github.com/hhd-dev/hhd-ui/";
|
||||
license = licenses.mit;
|
||||
mainProgram = "hhd-ui";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue