mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
63 lines
1.3 KiB
Nix
63 lines
1.3 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, biopython
|
|
, docopt
|
|
, flametree
|
|
, numpy
|
|
, proglog
|
|
, pytestCheckHook
|
|
, python-codon-tables
|
|
, primer3
|
|
, genome-collector
|
|
, matplotlib
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dnachisel";
|
|
version = "3.2.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Edinburgh-Genome-Foundry";
|
|
repo = "DnaChisel";
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-YlNOvK7ZXUHYdRX1NFEdZ646NGLtGXU1YgAjN6RY2QE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
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";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ prusnak ];
|
|
};
|
|
}
|