a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
32 lines
683 B
Nix
32 lines
683 B
Nix
{ 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 ];
|
|
};
|
|
}
|