package.nix (721B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonApplication rec { 8 pname = "zdict"; 9 version = "5.0.1"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "zdict"; 14 repo = "zdict"; 15 tag = version; 16 hash = "sha256-vZpxJkKBHo9fO7xNN9Is7BumZhAkepVK0dpk+Y/1YBM="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 dependencies = with python3Packages; [ 22 beautifulsoup4 23 peewee 24 requests 25 ]; 26 27 pythonRelaxDeps = true; 28 29 doCheck = false; 30 31 meta = { 32 description = "The last online dictionary framework you need"; 33 homepage = "https://github.com/zdict/zdict"; 34 license = lib.licenses.gpl3; 35 maintainers = [ lib.maintainers.sikmir ]; 36 }; 37 }