at master 1.2 kB view raw
1{ 2 lib, 3 attrs, 4 buildPythonPackage, 5 colorlog, 6 fetchFromGitHub, 7 bibtexparser_2, 8 git, 9 lxml, 10 markdown, 11 markupsafe, 12 postgresql, 13 pylatexenc, 14 pytest-cov-stub, 15 pytest-mock, 16 pytestCheckHook, 17 python-dateutil, 18 pythonOlder, 19 setuptools, 20 tabulate, 21}: 22 23buildPythonPackage rec { 24 pname = "clldutils"; 25 version = "3.24.2"; 26 pyproject = true; 27 28 src = fetchFromGitHub { 29 owner = "clld"; 30 repo = "clldutils"; 31 tag = "v${version}"; 32 hash = "sha256-xIs6Lq9iDdcM3j51F27x408oUldvy5nlvVdbrAS5Jz0="; 33 }; 34 35 build-system = [ setuptools ]; 36 37 dependencies = [ 38 attrs 39 bibtexparser_2 40 colorlog 41 lxml 42 markdown 43 markupsafe 44 pylatexenc 45 python-dateutil 46 tabulate 47 ]; 48 49 nativeCheckInputs = [ 50 postgresql 51 pytest-cov-stub 52 pytest-mock 53 pytestCheckHook 54 git 55 ]; 56 57 meta = { 58 changelog = "https://github.com/clld/clldutils/blob/${src.tag}/CHANGES.md"; 59 description = "Utilities for clld apps without the overhead of requiring pyramid, rdflib et al"; 60 homepage = "https://github.com/clld/clldutils"; 61 license = lib.licenses.asl20; 62 maintainers = with lib.maintainers; [ melling ]; 63 }; 64}