My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/emcee/default.nix

42 lines
764 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, pytestCheckHook
, setuptools-scm
}:
buildPythonPackage rec {
pname = "emcee";
version = "3.1.2";
src = fetchFromGitHub {
owner = "dfm";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-MguhnLLo1zeNuMca8vWpxwysh9YJDD+IzvGQDbScK2M=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
numpy
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "emcee" ];
meta = with lib; {
description = "Kick ass affine-invariant ensemble MCMC sampling";
homepage = "https://emcee.readthedocs.io/";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}