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