python.pkgs.emcee: move to separate expression

This commit is contained in:
wisut hantanong
2017-07-14 19:57:40 +07:00
committed by Jörg Thalheim
parent 85239d1455
commit 501eb9712e
2 changed files with 22 additions and 13 deletions

View File

@@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi
, numpy }:
buildPythonPackage rec {
pname = "emcee";
version = "2.1.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "0qyafp9jfya0mkxgqfvljf0rkic5fm8nimzwadyrxyvq7nd07qaw";
};
propagatedBuildInputs = [ numpy ];
meta = with stdenv.lib; {
description = "Kick ass affine-invariant ensemble MCMC sampling";
homepage = http://dan.iel.fm/emcee;
license = licenses.mit;
};
}