mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 21:43:32 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
37 lines
948 B
Nix
37 lines
948 B
Nix
{ stdenv, lib, buildPythonPackage, fetchPypi, pythonOlder
|
|
, pytestCheckHook, nose, glibcLocales, fetchpatch
|
|
, numpy, scipy, matplotlib, h5py }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bayespy";
|
|
version = "0.5.26";
|
|
format = "setuptools";
|
|
|
|
# Python 2 not supported and not some old Python 3 because MPL doesn't support
|
|
# them properly.
|
|
disabled = pythonOlder "3.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-NOvuqPKioRIqScd2jC7nakonDEovTo9qKp/uTk9z1BE=";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytestCheckHook nose glibcLocales ];
|
|
|
|
propagatedBuildInputs = [ numpy scipy matplotlib h5py ];
|
|
|
|
disabledTests = [
|
|
# Assertion error
|
|
"test_message_to_parents"
|
|
];
|
|
|
|
pythonImportsCheck = [ "bayespy" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://www.bayespy.org";
|
|
description = "Variational Bayesian inference tools for Python";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jluttine ];
|
|
};
|
|
}
|