added custom pkgs and yuzu
This commit is contained in:
parent
91d1e9cc77
commit
a1e1db21ec
5 changed files with 43 additions and 0 deletions
6
pkgs/default.nix
Normal file
6
pkgs/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
yuzu = pkgs.callPackage ./yuzu { };
|
||||
};
|
||||
}
|
26
pkgs/yuzu/default.nix
Normal file
26
pkgs/yuzu/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
appimageTools,
|
||||
fetchurl,
|
||||
}:
|
||||
let
|
||||
pname = "yuzu";
|
||||
version = "4176";
|
||||
src = fetchurl {
|
||||
url = "https://files.huwe.mooo.com/yuzu.AppImage";
|
||||
hash = "sha256-bUTVL8br2POy5HB1FszlNQNChdRWcwIlG6/RCceXIlg=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extract {
|
||||
inherit pname version src;
|
||||
};
|
||||
|
||||
in
|
||||
appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
extraInstallCommands = ''
|
||||
install -m 444 -D ${appimageContents}/org.yuzu_emu.yuzu.desktop $out/share/applications/irccloud.desktop
|
||||
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/scalable/apps/org.yuzu_emu.yuzu.svg \
|
||||
$out/share/icons/hicolor/scalable/apps/org.yuzu_emu.yuzu.svg
|
||||
'';
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue