pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / by-name / ka / kalamine / package.nix
blob6f7ae19795aa780a4a7f36b06fca655687f8a55c
1 { lib
2 , python3
3 , fetchFromGitHub
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "kalamine";
8   version = "0.22";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "OneDeadKey";
13     repo = "kalamine";
14     rev = "v${version}";
15     hash = "sha256-SPXVFeysVF/6RqjhXmlPc+3m5vnVndJb7LQshQZBeg8=";
16   };
18   nativeBuildInputs = [
19     python3.pkgs.hatchling
20   ];
22   propagatedBuildInputs = with python3.pkgs; [
23     click
24     lxml
25     pyyaml
26     tomli
27   ];
29   pythonImportsCheck = [ "kalamine" ];
31   meta = with lib; {
32     description = "Keyboard Layout Maker";
33     homepage = "https://github.com/OneDeadKey/kalamine/";
34     license = licenses.mit;
35     maintainers = with maintainers; [ iogamaster ];
36     mainProgram = "kalamine";
37   };