mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
Merge pull request #257437 from paveloom/readmdict
python3Packages.readmdict: init at 0.1.1
This commit is contained in:
commit
5746fe0a80
50
pkgs/development/python-modules/readmdict/default.nix
Normal file
50
pkgs/development/python-modules/readmdict/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue