depot/third_party/nixpkgs/pkgs/by-name/ke/keymapviz/package.nix

23 lines
571 B
Nix

{ fetchFromGitHub, lib, python3 }:
python3.pkgs.buildPythonApplication rec {
pname = "keymapviz";
version = "1.14.1";
src = fetchFromGitHub {
owner = "yskoht";
repo = pname;
rev = version;
sha256 = "sha256-eCvwgco22uPEDDsT8FfTRon1xCGy5p1PBp0pDfNprMs=";
};
propagatedBuildInputs = with python3.pkgs; [ regex ];
meta = with lib; {
description = "Qmk keymap.c visualizer";
homepage = "https://github.com/yskoht/keymapviz";
license = licenses.mit;
maintainers = with maintainers; [ lom ];
mainProgram = "keymapviz";
};
}