format all code with alejandra
This commit is contained in:
parent
fa0cda2673
commit
4f0d45e4d5
89 changed files with 1605 additions and 1298 deletions
|
|
@ -1,33 +1,36 @@
|
|||
{ stdenv, lib, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
}: let
|
||||
inherit
|
||||
(lib)
|
||||
licenses
|
||||
;
|
||||
;
|
||||
|
||||
version = "1.99.3";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit version;
|
||||
pname = "kaleidoscope-udev-rules";
|
||||
stdenv.mkDerivation {
|
||||
inherit version;
|
||||
pname = "kaleidoscope-udev-rules";
|
||||
|
||||
dontBuild = true;
|
||||
dontBuild = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "keyboardio";
|
||||
repo = "Kaleidoscope";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-4WIl/Hj23j9GLzdMcyEQvg9X7HI4WSInrLkYCkj6yhM=";
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "keyboardio";
|
||||
repo = "Kaleidoscope";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-4WIl/Hj23j9GLzdMcyEQvg9X7HI4WSInrLkYCkj6yhM=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/udev/rules.d
|
||||
cp etc/60-kaleidoscope.rules $out/lib/udev/rules.d/
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/udev/rules.d
|
||||
cp etc/60-kaleidoscope.rules $out/lib/udev/rules.d/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "udev rules for kaleidoscope firmware keyboards";
|
||||
homepage = "https://github.com/keyboardio/Kaleidoscope";
|
||||
license = licenses.gpl3Only;
|
||||
};
|
||||
}
|
||||
meta = {
|
||||
description = "udev rules for kaleidoscope firmware keyboards";
|
||||
homepage = "https://github.com/keyboardio/Kaleidoscope";
|
||||
license = licenses.gpl3Only;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue