1
0
Fork 0

chrysalis: init at 0.7.9

main
Andreas Wiese 2020-11-04 22:58:28 +01:00
parent a309adebc2
commit a73030f100
2 changed files with 31 additions and 0 deletions

View File

@ -6,6 +6,8 @@ let
in
with self; rec {
chrysalis = callPackage ./pkgs/chrysalis { };
linux_5_9 = callPackage ./pkgs/linux/linux-5.9.nix {
kernelPatches = [
kernelPatches.bridge_stp_helper

View File

@ -0,0 +1,29 @@
{ lib, appimageTools, fetchurl }:
let
pname = "chrysalis";
version = "0.7.9";
in
appimageTools.wrapType2 rec {
name = "${pname}-${version}-binary";
src = fetchurl {
url = "https://github.com/keyboardio/${pname}/releases/download/${pname}-${version}/${pname}-${version}.AppImage";
sha256 = "12w4vv7dwfpvxpc8kpfas90y7yy8mb8dj2096z3vw1bli5lrn3zi";
};
multiPkgs = null;
extraPkgs = p: (appimageTools.defaultFhsEnvArgs.multiPkgs p) ++ [
p.glib
];
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 ];
platform = [ "x86_64-linux" ];
};
}