diff options
| author | stuebinm | 2026-01-06 22:36:39 +0100 |
|---|---|---|
| committer | stuebinm | 2026-01-06 22:37:31 +0100 |
| commit | 0d709caed396d24acea583971d4e3c4e5b7c5673 (patch) | |
| tree | 209c1d6e7f9744eca41f3e5de1e63446cadf5025 /pkgs/plover/plover-stroke.nix | |
| parent | 2501e1b851b929c6f2abbbc1126dbcf41b153ab8 (diff) | |
https://github.com/NixOS/nixpkgs/pull/419593
appears to work but is unmerged; this adds its files in a subdirectory
of pkgs/
Diffstat (limited to 'pkgs/plover/plover-stroke.nix')
| -rw-r--r-- | pkgs/plover/plover-stroke.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/plover/plover-stroke.nix b/pkgs/plover/plover-stroke.nix new file mode 100644 index 0000000..62da352 --- /dev/null +++ b/pkgs/plover/plover-stroke.nix @@ -0,0 +1,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 ]; + }; +} |
