biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / readmdict / default.nix
blob9089bd1b44dd4365e1fc7db1184768bd6f77e924
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
7   poetry-core,
8   python-lzo,
9   tkinter,
11   pytestCheckHook,
14 buildPythonPackage rec {
15   pname = "readmdict";
16   version = "0.1.1";
17   pyproject = true;
19   disabled = pythonOlder "3.6";
21   src = fetchFromGitHub {
22     owner = "ffreemt";
23     repo = "readmdict";
24     rev = "v${version}";
25     hash = "sha256-1/f+o2bVscT3EA8XQyS2hWjhimLRzfIBM6u2O7UqwcA=";
26   };
28   nativeBuildInputs = [ poetry-core ];
30   propagatedBuildInputs = [
31     python-lzo
32     tkinter
33   ];
35   nativeCheckInputs = [ pytestCheckHook ];
37   pythonImportsCheck = [ "readmdict" ];
39   meta = with lib; {
40     description = "Read mdx/mdd files (repacking of readmdict from mdict-analysis)";
41     mainProgram = "readmdict";
42     homepage = "https://github.com/ffreemt/readmdict";
43     license = licenses.mit;
44     maintainers = [ ];
45   };