at 22.05-pre 755 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, numpy 5, pytestCheckHook 6, setuptools-scm 7}: 8 9buildPythonPackage rec { 10 pname = "emcee"; 11 version = "3.1.1"; 12 13 src = fetchFromGitHub { 14 owner = "dfm"; 15 repo = pname; 16 rev = "v${version}"; 17 sha256 = "0q9dj7mihjjkcy6famzwhz1xcxxzzvm00n01w4bbm66ax9zvis52"; 18 }; 19 20 SETUPTOOLS_SCM_PRETEND_VERSION = version; 21 22 nativeBuildInputs = [ 23 setuptools-scm 24 ]; 25 26 propagatedBuildInputs = [ 27 numpy 28 ]; 29 30 checkInputs = [ 31 pytestCheckHook 32 ]; 33 34 pythonImportsCheck = [ "emcee" ]; 35 36 meta = with lib; { 37 description = "Kick ass affine-invariant ensemble MCMC sampling"; 38 homepage = "https://emcee.readthedocs.io/"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ ]; 41 }; 42}