depot/third_party/nixpkgs/pkgs/development/python-modules/stanio/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

37 lines
674 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools
, numpy
}:
buildPythonPackage rec {
pname = "stanio";
version = "0.3.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-DFBK5nG41Sah2nEYWsAqJ3VQj/5tPbkfJC6shbz2BG8=";
};
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 ];
};
}