30 lines
832 B
Nix
30 lines
832 B
Nix
|
{ lib, appimageTools, fetchurl }:
|
||
|
|
||
|
let
|
||
|
pname = "chrysalis";
|
||
|
version = "0.8.4";
|
||
|
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-tB8+I9rIVbFYjP8UHj0xf5a6/5KaBUPHn8zuDG8JW8c=";
|
||
|
};
|
||
|
|
||
|
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" ];
|
||
|
};
|
||
|
}
|