Merge pull request #257437 from paveloom/readmdict

python3Packages.readmdict: init at 0.1.1
This commit is contained in:
Peder Bergebakken Sundt 2023-10-21 10:44:08 +02:00 committed by GitHub
commit 5746fe0a80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,50 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, poetry-core
, python-lzo
, tkinter
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "readmdict";
version = "0.1.1";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "ffreemt";
repo = "readmdict";
rev = "v${version}";
hash = "sha256-1/f+o2bVscT3EA8XQyS2hWjhimLRzfIBM6u2O7UqwcA=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
python-lzo
tkinter
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"readmdict"
];
meta = with lib; {
description = "Read mdx/mdd files (repacking of readmdict from mdict-analysis)";
homepage = "https://github.com/ffreemt/readmdict";
license = licenses.mit;
maintainers = with maintainers; [ paveloom ];
};
}

View File

@ -24747,6 +24747,8 @@ with pkgs;
readline82 = callPackage ../development/libraries/readline/8.2.nix { };
readmdict = with python3Packages; toPythonApplication readmdict;
readosm = callPackage ../development/libraries/readosm { };
recastnavigation = callPackage ../development/libraries/recastnavigation { };

View File

@ -12028,6 +12028,8 @@ self: super: with self; {
readlike = callPackage ../development/python-modules/readlike { };
readmdict = callPackage ../development/python-modules/readmdict { };
readme = callPackage ../development/python-modules/readme { };
readme_renderer = callPackage ../development/python-modules/readme_renderer { };