Merge pull request #281459 from r-ryantm/auto-update/cmdstan

cmdstan: 2.33.1 -> 2.34.1
This commit is contained in:
Weijia Wang 2024-02-04 22:25:56 +01:00 committed by GitHub
commit 36509f81e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -11,14 +11,14 @@
stdenv.mkDerivation rec {
pname = "cmdstan";
version = "2.33.1";
version = "2.34.1";
src = fetchFromGitHub {
owner = "stan-dev";
repo = pname;
rev = "v${version}";
fetchSubmodules = true;
hash = "sha256-c+L/6PjW7YgmXHuKhKjiRofBRAhKYCzFCZ6BOX5AmC4=";
hash = "sha256-gze8kd5zSs9nUlSY7AJwpx+jnc9Y21ahzDJmynlqm1Y=";
};
postPatch = ''

View File

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, substituteAll
, fetchpatch
, cmdstan
, pythonRelaxDepsHook
, setuptools
@ -31,6 +32,11 @@ buildPythonPackage rec {
src = ./use-nix-cmdstan-path.patch;
cmdstan = "${cmdstan}/opt/cmdstan";
})
(fetchpatch {
name = "stan-2.34-fix-parsing-of-unit_e-output-files.patch";
url = "https://github.com/stan-dev/cmdstanpy/commit/144d641739ccd1109055d13b5b96e4e76607305d.patch";
hash = "sha256-21hcbK3Xs7vGBNRs4hMfY5g7jIwEG49WYnsOxYJ6ccs=";
})
];
postPatch = ''