mirror of
https://github.com/zoriya/abyss.git
synced 2025-12-06 06:36:16 +00:00
48 lines
987 B
Nix
48 lines
987 B
Nix
{
|
|
lib,
|
|
buildPythonApplication,
|
|
callPackage,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
pydantic,
|
|
pcpp,
|
|
pyyaml,
|
|
platformdirs,
|
|
pydantic-settings,
|
|
tree-sitter,
|
|
}: let
|
|
tree-sitter-devicetree = callPackage ./tree-sitter-devicetree.nix {};
|
|
in
|
|
buildPythonApplication rec {
|
|
pname = "keymap-drawer";
|
|
version = "0.20.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "caksoylar";
|
|
repo = pname;
|
|
rev = "ea00f44ac5a2ebe97b8b31f9166791bedf9136e5";
|
|
hash = "sha256-F9lDUuqHKl2FOUsUszJrRK7/a/a1UJLw+RUg9Bv2zN0=";
|
|
};
|
|
|
|
build-system = [poetry-core];
|
|
|
|
propagatedBuildInputs = [
|
|
pydantic
|
|
pcpp
|
|
pyyaml
|
|
platformdirs
|
|
pydantic-settings
|
|
tree-sitter
|
|
tree-sitter-devicetree
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/caksoylar/keymap-drawer";
|
|
description = "Parse QMK & ZMK keymaps and draw them as vector graphics";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|