1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchPypi,
6 setuptools,
7 numpy,
8}:
9
10buildPythonPackage rec {
11 pname = "stanio";
12 version = "0.5.1";
13 pyproject = true;
14
15 disabled = pythonOlder "3.8";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-NI1S+UfexDHhGPS2AcTFKWkpuGQB1NTdWqk3Ow1K5Kw=";
20 };
21
22 nativeBuildInputs = [ setuptools ];
23
24 propagatedBuildInputs = [ numpy ];
25
26 pythonImportsCheck = [ "stanio" ];
27
28 meta = with lib; {
29 description = "Preparing inputs to and reading outputs from Stan";
30 homepage = "https://github.com/WardBrian/stanio";
31 license = licenses.bsd3;
32 maintainers = with maintainers; [ wegank ];
33 };
34}