mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 19:43:02 +08:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
34 lines
801 B
Nix
34 lines
801 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 = {
|
|
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 = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ prusnak ];
|
|
};
|
|
}
|