overlays: remove chrysalis

This commit is contained in:
Antoine Martin 2023-11-09 11:25:11 +01:00
parent 4db861150a
commit aa26fcd611
2 changed files with 0 additions and 38 deletions

View file

@ -1,37 +0,0 @@
final: prev: {
chrysalis = let
pname = "chrysalis";
version = "0.12.0";
name = "${pname}-${version}-binary";
in
prev.appimageTools.wrapAppImage rec {
inherit name;
src = prev.appimageTools.extract {
inherit name;
src = prev.fetchurl {
url = "https://github.com/keyboardio/${pname}/releases/download/v${version}/${pname}-${version}.AppImage";
sha256 = "sha256-sQoEO1UII4Gbp7UbHCCyejsd94lkBbi93TH325EamFc=";
};
};
multiPkgs = null;
extraPkgs = p:
(prev.appimageTools.defaultFhsEnvArgs.multiPkgs p)
++ [
p.glib
];
# Also expose the udev rules here, so it can be used as:
# services.udev.packages = [ pkgs.chrysalis ];
# to allow non-root modifications to the keyboards.
extraInstallCommands = ''
mv $out/bin/${name} $out/bin/${pname}
mkdir -p $out/lib/udev/rules.d
ln -s \
--target-directory=$out/lib/udev/rules.d \
${src}/resources/static/udev/60-kaleidoscope.rules
'';
};
}

View file

@ -1,4 +1,3 @@
{
chrysalis = import ./chrysalis;
hugin = import ./hugin;
}