mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
hobbes: 0-unstable-2023-06-03 -> 0-unstable-2025-04-23
This commit is contained in:
parent
05f9e0a1a3
commit
1b09e0219f
1 changed files with 6 additions and 21 deletions
|
@ -3,7 +3,6 @@
|
||||||
stdenv,
|
stdenv,
|
||||||
llvmPackages,
|
llvmPackages,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch,
|
|
||||||
cmake,
|
cmake,
|
||||||
llvm_12,
|
llvm_12,
|
||||||
ncurses,
|
ncurses,
|
||||||
|
@ -14,34 +13,20 @@
|
||||||
}:
|
}:
|
||||||
llvmPackages.stdenv.mkDerivation {
|
llvmPackages.stdenv.mkDerivation {
|
||||||
pname = "hobbes";
|
pname = "hobbes";
|
||||||
version = "0-unstable-2023-06-03";
|
version = "0-unstable-2025-04-23";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "morganstanley";
|
owner = "morganstanley";
|
||||||
repo = "hobbes";
|
repo = "hobbes";
|
||||||
rev = "88a712b85bc896a4c87e60c12321445f1cdcfd00";
|
rev = "0829030be03d47f91075cbebd0c9565f44bf9911";
|
||||||
hash = "sha256-2v0yk35/cLKTjX0Qbc8cjc7Y6bamRSa9GpPvGoxL2Cw=";
|
hash = "sha256-GZ26XL4++2MWQED2tVWeJ8HFcFQUXnXZ3+JCgdlAXNo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
CXXFLAGS = [
|
||||||
# fix build for LLVM-12+
|
"-Wno-error=missing-template-arg-list-after-template-kw"
|
||||||
# https://github.com/morganstanley/hobbes/pull/452
|
"-Wno-error=deprecated-copy"
|
||||||
(fetchpatch {
|
|
||||||
name = "include-cstdint.patch";
|
|
||||||
url = "https://github.com/morganstanley/hobbes/commit/924b71fca06c61e606792cc8db8521fb499d4237.patch";
|
|
||||||
hash = "sha256-/VsWtTYc3LBOnm4Obgx/MOqaaWZhUc8yzmkygtNz+mY=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# only one warning generated. try to remove on next update
|
|
||||||
env.CXXFLAGS = "-Wno-error=deprecated-copy";
|
|
||||||
|
|
||||||
# TODO: re-enable Python tests once they work on Python 3
|
|
||||||
# currently failing with "I don't know how to decode the primitive type: b'bool'"
|
|
||||||
postPatch = ''
|
|
||||||
rm test/Python.C
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue