python.pkgs.emcee: move to separate expression
This commit is contained in:
parent
85239d1455
commit
501eb9712e
21
pkgs/development/python-modules/emcee/default.nix
Normal file
21
pkgs/development/python-modules/emcee/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -130,19 +130,7 @@ in {
|
|||||||
|
|
||||||
dkimpy = callPackage ../development/python-modules/dkimpy { };
|
dkimpy = callPackage ../development/python-modules/dkimpy { };
|
||||||
|
|
||||||
emcee = buildPythonPackage {
|
emcee = callPackage ../development/python-modules/emcee { };
|
||||||
name = "emcee-2.1.0";
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/e/emcee/emcee-2.1.0.tar.gz";
|
|
||||||
sha256 = "0qyafp9jfya0mkxgqfvljf0rkic5fm8nimzwadyrxyvq7nd07qaw";
|
|
||||||
};
|
|
||||||
propagatedBuildInputs = [ self.numpy ];
|
|
||||||
meta = {
|
|
||||||
homepage = http://dan.iel.fm/emcee;
|
|
||||||
license = "MIT";
|
|
||||||
description = "Kick ass affine-invariant ensemble MCMC sampling";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
dbus-python = callPackage ../development/python-modules/dbus {
|
dbus-python = callPackage ../development/python-modules/dbus {
|
||||||
dbus = pkgs.dbus;
|
dbus = pkgs.dbus;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user