at 24.11-pre 859 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 numpy, 6 pytestCheckHook, 7 setuptools-scm, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "emcee"; 13 version = "3.1.5"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "dfm"; 20 repo = pname; 21 rev = "refs/tags/v${version}"; 22 hash = "sha256-83v7O/eo8LQux75IkLWU8moj3rYiyRjZdNeAwtjrJ60="; 23 }; 24 25 nativeBuildInputs = [ setuptools-scm ]; 26 27 propagatedBuildInputs = [ numpy ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "emcee" ]; 32 33 meta = with lib; { 34 description = "Kick ass affine-invariant ensemble MCMC sampling"; 35 homepage = "https://emcee.readthedocs.io/"; 36 changelog = "https://github.com/dfm/emcee/releases/tag/v${version}"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ ]; 39 }; 40}