summaryrefslogtreecommitdiff
path: root/pkgs/plover/plover-stroke.nix
blob: 62da35229cd212d59363d846ff4e61947a4c9c52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
  pytest-qt,
  pyside6,
}:

buildPythonPackage rec {
  pname = "plover-stroke";
  version = "1.1.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "openstenoproject";
    repo = "plover_stroke";
    tag = version;
    hash = "sha256-A75OMzmEn0VmDAvmQCp6/7uptxzwWJTwsih3kWlYioA=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-qt
    pyside6
  ];

  pythonImportsCheck = [ "plover_stroke" ];

  meta = {
    description = "Helper class for working with steno strokes";
    homepage = "https://github.com/openstenoproject/plover_stroke";
    license = lib.licenses.gpl2Plus; # https://github.com/openstenoproject/plover_stroke/issues/4
    maintainers = with lib.maintainers; [ pandapip1 ];
  };
}