python3Packages.primer3: init at 0.6.1
This commit is contained in:
parent
8dae4e7122
commit
0575e0d2c2
2 changed files with 34 additions and 0 deletions
32
pkgs/development/python-modules/primer3/default.nix
Normal file
32
pkgs/development/python-modules/primer3/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cython
|
||||
, click
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "primer3";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libnano";
|
||||
repo = "primer3-py";
|
||||
rev = version;
|
||||
sha256 = "1glybwp9w2m1ydvaphr41gj31d8fvlh40s35galfbjqa563si72g";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
||||
# pytestCheckHook leads to a circular import issue
|
||||
checkInputs = [ click ];
|
||||
|
||||
pythonImportsCheck = [ "primer3" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Oligo analysis and primer design";
|
||||
homepage = "https://github.com/libnano/primer3-py";
|
||||
license = with licenses; [ gpl2Only ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -4899,6 +4899,8 @@ in {
|
|||
else
|
||||
callPackage ../development/python-modules/prettytable/1.nix { };
|
||||
|
||||
primer3 = callPackage ../development/python-modules/primer3 { };
|
||||
|
||||
priority = callPackage ../development/python-modules/priority { };
|
||||
|
||||
prison = callPackage ../development/python-modules/prison { };
|
||||
|
|
Loading…
Reference in a new issue