Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
70 lines
1.5 KiB
Nix
70 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
biopython,
|
|
buildPythonPackage,
|
|
docopt,
|
|
fetchFromGitHub,
|
|
flametree,
|
|
genome-collector,
|
|
matplotlib,
|
|
numpy,
|
|
primer3,
|
|
proglog,
|
|
pytestCheckHook,
|
|
python-codon-tables,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dnachisel";
|
|
version = "3.2.16";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Edinburgh-Genome-Foundry";
|
|
repo = "DnaChisel";
|
|
tag = "v${version}";
|
|
hash = "sha256-F+G7dwehUCHYKSGsLQR4OZg2NQ4677XMlN6jOcmz8No=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
biopython
|
|
docopt
|
|
flametree
|
|
numpy
|
|
proglog
|
|
python-codon-tables
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
primer3
|
|
genome-collector
|
|
matplotlib
|
|
pytestCheckHook
|
|
];
|
|
|
|
# Disable tests which requires network access
|
|
disabledTests = [
|
|
"test_circular_sequence_optimize_with_report"
|
|
"test_constraints_reports"
|
|
"test_optimize_with_report"
|
|
"test_optimize_with_report_no_solution"
|
|
"test_avoid_blast_matches_with_list"
|
|
"test_avoid_phage_blast_matches"
|
|
"test_avoid_matches_with_list"
|
|
"test_avoid_matches_with_phage"
|
|
];
|
|
|
|
pythonImportsCheck = [ "dnachisel" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/Edinburgh-Genome-Foundry/DnaChisel";
|
|
description = "Optimize DNA sequences under constraints";
|
|
changelog = "https://github.com/Edinburgh-Genome-Foundry/DnaChisel/releases/tag/${src.tag}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ prusnak ];
|
|
};
|
|
}
|