Files
nixpkgs/pkgs/development/python-modules/python-codon-tables/default.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
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>
2025-12-10 18:09:49 +01:00

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 ];
};
}