Skip to content

Commit 3667e0b

Browse files
authored
libbraiding: 1.2 -> 1.3.1, import sage update patch (NixOS#370861)
2 parents 13a15b4 + 5eed495 commit 3667e0b

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

pkgs/by-name/li/libbraiding/package.nix

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,25 @@
33
stdenv,
44
fetchFromGitHub,
55
autoreconfHook,
6+
pkg-config,
67
}:
78

89
stdenv.mkDerivation rec {
9-
version = "1.2";
10+
version = "1.3.1";
1011
pname = "libbraiding";
1112

1213
src = fetchFromGitHub {
1314
owner = "miguelmarco";
1415
repo = "libbraiding";
15-
rev = version;
16-
sha256 = "sha256-cgg6rvlOvFqGjgbw6i7QXS+tqvfFd1MkPCEjnW/FyFs=";
16+
# version 1.3.1 contains a typo in configure.ac, fixed in the next commit.
17+
# TODO: remove if on upgrade
18+
rev = if version == "1.3.1" then "b174832026c2412baec83277c461e4df71d8525c" else version;
19+
hash = "sha256-ar/EiaMZuQRa1lr0sZPLRuk5K00j63TqNf0q0iuiKjw=";
1720
};
1821

1922
nativeBuildInputs = [
2023
autoreconfHook
24+
pkg-config
2125
];
2226

2327
# no tests included for now (2018-08-05), but can't hurt to activate

pkgs/by-name/sa/sage/sage-src.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
6161
# a more conservative version of https://github.com/sagemath/sage/pull/37951
6262
./patches/gap-element-crash.patch
6363

64-
# https://github.com/sagemath/sage/pull/38940, positively reviewed, to land in 10.6.beta0
64+
# https://github.com/sagemath/sage/pull/38940, landed in 10.6.beta0
6565
(fetchpatch {
6666
name = "simplicial-sets-flaky-test.patch";
6767
url = "https://github.com/sagemath/sage/commit/1830861c5130d30b891e8c643308e1ceb91ce2b5.diff";
@@ -76,6 +76,12 @@ stdenv.mkDerivation rec {
7676
# should come from or be proposed to upstream. This list will probably never
7777
# be empty since dependencies update all the time.
7878
packageUpgradePatches = [
79+
# https://github.com/sagemath/sage/pull/38887, landed in 10.6.beta0
80+
(fetchpatch {
81+
name = "libbraiding-1.3-update.patch";
82+
url = "https://github.com/sagemath/sage/commit/f10a6d04599795732c1d99e2da0a4839ccdcb4f5.diff";
83+
hash = "sha256-xB0xg8dGLnSMdFK3/B5hkI9yzI5N3lUMhPZ89lDsp3s=";
84+
})
7985
];
8086

8187
patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;

0 commit comments

Comments
 (0)