1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "python-codon-tables";
10 version = "0.1.18";
11 pyproject = true;
12
13 src = fetchPypi {
14 pname = "python_codon_tables";
15 inherit version;
16 hash = "sha256-c/VSmArSkq+46LzW3r+CQEG1mwp87ACbZ7EWkMOGOQc=";
17 };
18
19 build-system = [ setuptools ];
20
21 # no tests in tarball
22 doCheck = false;
23
24 pythonImportsCheck = [ "python_codon_tables" ];
25
26 meta = with lib; {
27 homepage = "https://github.com/Edinburgh-Genome-Foundry/codon-usage-tables";
28 description = "Codon Usage Tables for Python, from kazusa.or.jp";
29 changelog = "https://github.com/Edinburgh-Genome-Foundry/python_codon_tables/releases/tag/${version}";
30 license = licenses.mit;
31 maintainers = with maintainers; [ prusnak ];
32 };
33}