2021-01-01 18:34:29 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, biopython
|
|
|
|
, docopt
|
|
|
|
, flametree
|
|
|
|
, numpy
|
|
|
|
, proglog
|
|
|
|
, python-codon-tables
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dnachisel";
|
2021-01-10 10:38:24 +00:00
|
|
|
version = "3.2.6";
|
2021-01-01 18:34:29 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-10 10:38:24 +00:00
|
|
|
sha256 = "1i49cfpvjvf9610gg4jz06dl5clc8vmcpjmhnm2d1j7lhpp1ksbb";
|
2021-01-01 18:34:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
biopython
|
|
|
|
docopt
|
|
|
|
flametree
|
|
|
|
numpy
|
|
|
|
proglog
|
|
|
|
python-codon-tables
|
|
|
|
];
|
|
|
|
|
|
|
|
# no tests in tarball
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|