Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / emcee / default.nix
blob772fb64d1f14d6b5a71d192c53547dc6c19a85f7
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , numpy
5 , pytestCheckHook
6 , setuptools-scm
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "emcee";
12   version = "3.1.4";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "dfm";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     hash = "sha256-K2cPSbR7jnl9Vzf2sEiPZqk2vTwgChNWAf6CAerhZCg=";
22   };
24   nativeBuildInputs = [
25     setuptools-scm
26   ];
28   propagatedBuildInputs = [
29     numpy
30   ];
32   nativeCheckInputs = [
33     pytestCheckHook
34   ];
36   pythonImportsCheck = [
37     "emcee"
38   ];
40   meta = with lib; {
41     description = "Kick ass affine-invariant ensemble MCMC sampling";
42     homepage = "https://emcee.readthedocs.io/";
43     changelog = "https://github.com/dfm/emcee/releases/tag/v${version}";
44     license = licenses.mit;
45     maintainers = with maintainers; [ ];
46   };