chrysalis: init at 0.8.3

master
Andreas Wiese 2021-03-30 22:59:39 +02:00
parent 77af60d5c7
commit a42deabaca
2 changed files with 31 additions and 0 deletions

View File

@ -14,6 +14,8 @@ in rec {
} // optionalAttrs (pkgs.system == "x86_64-linux") { } // optionalAttrs (pkgs.system == "x86_64-linux") {
chrysalis = callPackage ./pkgs/chrysalis { };
ryzenadj = callPackage ./pkgs/ryzenadj { }; ryzenadj = callPackage ./pkgs/ryzenadj { };
ryzen_smu = callPackage ./pkgs/ryzen_smu { kernel = pkgs.linux; }; ryzen_smu = callPackage ./pkgs/ryzen_smu { kernel = pkgs.linux; };

View File

@ -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" ];
};
}