linuxPackages_latest.broadcom_sta: add patch to compile on Kernel 6.12 (#359484)
[NixPkgs.git] / pkgs / development / python-modules / pystardict / default.nix
blobac890f7fdbf61c3d73c0987f74a353068bcfba5f
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   setuptools-scm,
7   six,
8   pytestCheckHook,
9 }:
11 buildPythonPackage rec {
12   pname = "pystardict";
13   version = "0.8";
14   format = "setuptools";
16   src = fetchFromGitHub {
17     owner = "lig";
18     repo = "pystardict";
19     rev = version;
20     hash = "sha256-YrZpIhyxfA3G7rP0SJ+EvzGwAXlne80AYilkj6cIDnA=";
21   };
23   propagatedBuildInputs = [ six ];
25   nativeBuildInputs = [
26     setuptools
27     setuptools-scm
28   ];
30   nativeCheckInputs = [ pytestCheckHook ];
32   pythonImportsCheck = [ "pystardict" ];
34   meta = with lib; {
35     description = "Library for manipulating StarDict dictionaries from within Python";
36     homepage = "https://github.com/lig/pystardict";
37     license = licenses.gpl3Plus;
38     maintainers = with maintainers; [ thornycrackers ];
39   };