Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 54 lines
Nix
at gcc-offload
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, stdenv, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, nix-update-script, setuptools, paup-cli, paupIntegration ? false,}:
let paupPath = if paupIntegration then lib.getExe paup-cli else "NONE";inbuildPythonPackage rec { pname = "dendropy"; version = "5.0.2";
pyproject = true; build-system = [ setuptools ];
src = fetchFromGitHub { owner = "jeetsukumaran"; repo = "dendropy"; rev = "refs/tags/v${version}"; hash = "sha256-OiFei/6226FDtL4w1XrXL2OVn3/hfQwnIhTzM4OneKc="; };
postPatch = '' substituteInPlace setup.py \ --replace '["pytest-runner"],' '[],'
substituteInPlace src/dendropy/interop/paup.py \ --replace 'PAUP_PATH = os.environ.get(metavar.DENDROPY_PAUP_PATH_ENVAR, "paup")' 'PAUP_PATH = os.environ.get(metavar.DENDROPY_PAUP_PATH_ENVAR, "${paupPath}")' '';
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dendropy" ];
passthru.updateScript = nix-update-script { };
meta = { description = "Python library for phylogenetic computing"; homepage = "https://jeetsukumaran.github.io/DendroPy/"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ unode pandapip1 ]; };}