2023-10-09 19:29:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools
|
|
|
|
, numpy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "stanio";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "0.5.0";
|
2023-10-09 19:29:22 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-3uQpMU2WXzkBga+o/3/4FERG7rWMwlR8zBCLpz5nROI=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "stanio" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Preparing inputs to and reading outputs from Stan";
|
|
|
|
homepage = "https://github.com/WardBrian/stanio";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ wegank ];
|
|
|
|
};
|
|
|
|
}
|