forked from meterriblecrew/packages
chrysalis: init at 0.8.3
parent
77af60d5c7
commit
a42deabaca
|
@ -14,6 +14,8 @@ in rec {
|
|||
|
||||
} // optionalAttrs (pkgs.system == "x86_64-linux") {
|
||||
|
||||
chrysalis = callPackage ./pkgs/chrysalis { };
|
||||
|
||||
ryzenadj = callPackage ./pkgs/ryzenadj { };
|
||||
|
||||
ryzen_smu = callPackage ./pkgs/ryzen_smu { kernel = pkgs.linux; };
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, appimageTools, fetchurl }:
|
||||
|
||||
let
|
||||
pname = "chrysalis";
|
||||
version = "0.8.3";
|
||||
in appimageTools.wrapType2 rec {
|
||||
name = "${pname}-${version}-binary";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/keyboardio/${pname}/releases/download/v${version}/${pname}-${version}.AppImage";
|
||||
sha256 = "sha256-7H5jZCtasuIBNXHBiSpBWy8mFqRw/Ae98LUfR3qK++o=";
|
||||
};
|
||||
|
||||
multiPkgs = null;
|
||||
extraPkgs = p: (appimageTools.defaultFhsEnvArgs.multiPkgs p) ++ [
|
||||
p.glib
|
||||
p.xorg.libxshmfence
|
||||
];
|
||||
|
||||
extraInstallCommands = "mv $out/bin/${name} $out/bin/${pname}";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A graphical configurator for Kaleidoscope-powered keyboards";
|
||||
homepage = "https://github.com/keyboardio/Chrysalis";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ aw ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue