Merge pull request #254033 from wegank/stanc-bump

stanc, cmdstan: 2.32.2 -> 2.33.1
This commit is contained in:
Weijia Wang
2023-10-07 23:12:42 +02:00
committed by GitHub
5 changed files with 47 additions and 6 deletions

View File

@@ -2,14 +2,14 @@
stdenv.mkDerivation rec {
pname = "cmdstan";
version = "2.32.2";
version = "2.33.1";
src = fetchFromGitHub {
owner = "stan-dev";
repo = pname;
rev = "v${version}";
fetchSubmodules = true;
hash = "sha256-obV+R1ZjBgunXndCNry+MEne1nQawo81IV2DWwYbbIQ=";
hash = "sha256-c+L/6PjW7YgmXHuKhKjiRofBRAhKYCzFCZ6BOX5AmC4=";
};
nativeBuildInputs = [ stanc ];

View File

@@ -5,7 +5,7 @@
ocamlPackages.buildDunePackage rec {
pname = "stanc";
version = "2.32.2";
version = "2.33.1";
minimalOCamlVersion = "4.12";
duneVersion = "3";
@@ -14,7 +14,7 @@ ocamlPackages.buildDunePackage rec {
owner = "stan-dev";
repo = "stanc3";
rev = "v${version}";
hash = "sha256-dngmZXVb59uV7EugYIZAqE1gk66em7iuzllbbPWK2xk=";
hash = "sha256-DeQOiYJ5OHIMXcYHTYlObJnxM2Rqf6pSN4T7sAGw+wg=";
};
# Error: This expression has type [ `Use_Sys_unix ]

View File

@@ -8,6 +8,7 @@
, pandas
, numpy
, tqdm
, stanio
, xarray
, pytestCheckHook
@@ -15,14 +16,14 @@
buildPythonPackage rec {
pname = "cmdstanpy";
version = "1.1.0";
version = "1.2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "stan-dev";
repo = "cmdstanpy";
rev = "refs/tags/v${version}";
hash = "sha256-9kAd3rbSctWEhAzB6RiQlbg5/uVxGIghYLus8hWzBFQ=";
hash = "sha256-1/X5JDvCx21qLNamNQXpg+w3d3DdSRlB+liIv2fThs4=";
};
patches = [
@@ -41,6 +42,7 @@ buildPythonPackage rec {
pandas
numpy
tqdm
stanio
];
passthru.optional-dependencies = {

View File

@@ -0,0 +1,37 @@
{ 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 ];
};
}

View File

@@ -13281,6 +13281,8 @@ self: super: with self; {
stack-data = callPackage ../development/python-modules/stack-data { };
stanio = callPackage ../development/python-modules/stanio { };
stanza = callPackage ../development/python-modules/stanza { };
starlette = callPackage ../development/python-modules/starlette {