nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 779 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 numpy, 6 pytestCheckHook, 7 setuptools-scm, 8}: 9 10buildPythonPackage rec { 11 pname = "emcee"; 12 version = "3.1.6"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "dfm"; 17 repo = "emcee"; 18 tag = "v${version}"; 19 hash = "sha256-JVZK3kvDwWENho0OxZ9OxATcm3XpGmX+e7alPclRsHY="; 20 }; 21 22 nativeBuildInputs = [ setuptools-scm ]; 23 24 propagatedBuildInputs = [ numpy ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "emcee" ]; 29 30 meta = { 31 description = "Kick ass affine-invariant ensemble MCMC sampling"; 32 homepage = "https://emcee.readthedocs.io/"; 33 changelog = "https://github.com/dfm/emcee/releases/tag/v${version}"; 34 license = lib.licenses.mit; 35 maintainers = [ ]; 36 }; 37}