diff --git a/pkgs/development/python-modules/dnachisel/default.nix b/pkgs/development/python-modules/dnachisel/default.nix new file mode 100644 index 000000000000..465f1bb5b4d7 --- /dev/null +++ b/pkgs/development/python-modules/dnachisel/default.nix @@ -0,0 +1,41 @@ +{ lib +, buildPythonPackage +, fetchPypi +, biopython +, docopt +, flametree +, numpy +, proglog +, python-codon-tables + }: + +buildPythonPackage rec { + pname = "dnachisel"; + version = "3.2.5"; + + src = fetchPypi { + inherit pname version; + sha256 = "35301c5eda0baca5902403504e0b5a22eb65da92c2bbd23199d95c4a6bf0ef37"; + }; + + 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 ]; + }; +} diff --git a/pkgs/development/python-modules/flametree/default.nix b/pkgs/development/python-modules/flametree/default.nix new file mode 100644 index 000000000000..d4cba69afcb0 --- /dev/null +++ b/pkgs/development/python-modules/flametree/default.nix @@ -0,0 +1,26 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "flametree"; + version = "0.1.11"; + + src = fetchPypi { + inherit pname version; + sha256 = "c8eb81dea8c7f8261a2aa03d2bac98b1d21ebceec9c67efaac423f7c1b4fe061"; + }; + + # no tests in tarball + doCheck = false; + + pythonImportsCheck = [ "flametree" ]; + + meta = with lib; { + homepage = "https://github.com/Edinburgh-Genome-Foundry/Flametree"; + description = "Python file and zip operations made easy"; + license = licenses.mit; + maintainers = with maintainers; [ prusnak ]; + }; +} diff --git a/pkgs/development/python-modules/python-codon-tables/default.nix b/pkgs/development/python-modules/python-codon-tables/default.nix new file mode 100644 index 000000000000..4c1ec6a3a20e --- /dev/null +++ b/pkgs/development/python-modules/python-codon-tables/default.nix @@ -0,0 +1,27 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "python-codon-tables"; + version = "0.1.10"; + + src = fetchPypi { + pname = "python_codon_tables"; + inherit version; + sha256 = "265beac928cbb77c6745bc728471adc7ffef933b794be303d272ecb9ad37d3d4"; + }; + + # no tests in tarball + doCheck = false; + + pythonImportsCheck = [ "python_codon_tables" ]; + + meta = with lib; { + homepage = "https://github.com/Edinburgh-Genome-Foundry/codon-usage-tables"; + description = "Codon Usage Tables for Python, from kazusa.or.jp"; + license = licenses.mit; + maintainers = with maintainers; [ prusnak ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 57458230bb11..05abf503128c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1793,6 +1793,8 @@ in { dm-sonnet = callPackage ../development/python-modules/dm-sonnet { }; + dnachisel = callPackage ../development/python-modules/dnachisel { }; + dnslib = callPackage ../development/python-modules/dnslib { }; dnspython = if isPy3k then @@ -2139,6 +2141,8 @@ in { flaky = callPackage ../development/python-modules/flaky { }; + flametree = callPackage ../development/python-modules/flametree { }; + flammkuchen = callPackage ../development/python-modules/flammkuchen { }; flask-admin = callPackage ../development/python-modules/flask-admin { }; @@ -4685,6 +4689,8 @@ in { pysbd = callPackage ../development/python-modules/pysbd { }; + python-codon-tables = callPackage ../development/python-modules/python-codon-tables { }; + python-csxcad = callPackage ../development/python-modules/python-csxcad { }; python-openems = callPackage ../development/python-modules/python-openems { };