From 6cbf1d42410c844e8c472dd2ece4021c8145d81e Mon Sep 17 00:00:00 2001 From: legendofmiracles Date: Tue, 9 Nov 2021 17:11:24 -0600 Subject: [PATCH] keymapviz: init at 1.9.0 --- pkgs/tools/misc/keymapviz/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/tools/misc/keymapviz/default.nix diff --git a/pkgs/tools/misc/keymapviz/default.nix b/pkgs/tools/misc/keymapviz/default.nix new file mode 100644 index 000000000000..14c56d48dfc9 --- /dev/null +++ b/pkgs/tools/misc/keymapviz/default.nix @@ -0,0 +1,22 @@ +{ fetchFromGitHub, lib, python3 }: + +python3.pkgs.buildPythonApplication rec { + pname = "keymapviz"; + version = "1.9.0"; + + src = fetchFromGitHub { + owner = "yskoht"; + repo = pname; + rev = version; + sha256 = "sha256-lNpUH4BvlnHx0SDq5YSsHdcTeEnf6MH2WRUEsCWWHA0="; + }; + + propagatedBuildInputs = with python3.pkgs; [ regex ]; + + meta = with lib; { + description = "A qmk keymap.c visualizer"; + homepage = "https://github.com/yskoht/keymapviz"; + license = licenses.mit; + maintainers = with maintainers; [ legendofmiracles ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9b823f4c16d6..03f4855fd487 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31450,6 +31450,8 @@ with pkgs; key = callPackage ../applications/science/logic/key { }; + keymapviz = callPackage ../tools/misc/keymapviz { }; + lean = callPackage ../applications/science/logic/lean {}; lean2 = callPackage ../applications/science/logic/lean2 {}; lean3 = lean;