1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 setuptools-scm, 7 six, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "pystardict"; 13 version = "0.8"; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 owner = "lig"; 18 repo = "pystardict"; 19 rev = version; 20 hash = "sha256-YrZpIhyxfA3G7rP0SJ+EvzGwAXlne80AYilkj6cIDnA="; 21 }; 22 23 propagatedBuildInputs = [ six ]; 24 25 nativeBuildInputs = [ 26 setuptools 27 setuptools-scm 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "pystardict" ]; 33 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 }; 40}