nixpkgs/pkgs/development/python-modules/python-codon-tables/default.nix

34 lines
803 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "python-codon-tables";
version = "0.1.18";
pyproject = true;
src = fetchPypi {
pname = "python_codon_tables";
inherit version;
hash = "sha256-c/VSmArSkq+46LzW3r+CQEG1mwp87ACbZ7EWkMOGOQc=";
};
build-system = [ setuptools ];
# no tests in tarball
doCheck = false;
pythonImportsCheck = [ "python_codon_tables" ];
meta = with lib; {
homepage = "https://github.com/Edinburgh-Genome-Foundry/codon-usage-tables";
description = "Codon Usage Tables for Python, from kazusa.or.jp";
changelog = "https://github.com/Edinburgh-Genome-Foundry/python_codon_tables/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ prusnak ];
};
}