tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
givaro: 4.2.0 -> 4.2.1
Mauricio Collares
5 months ago
3ddeae37
c31993ce
+2
-28
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
gi
givaro
package.nix
+2
-28
pkgs/by-name/gi/givaro/package.nix
···
2
lib,
3
stdenv,
4
fetchFromGitHub,
5
-
fetchpatch,
6
automake,
7
autoconf,
8
libtool,
···
11
}:
12
stdenv.mkDerivation rec {
13
pname = "givaro";
14
-
version = "4.2.0";
15
16
src = fetchFromGitHub {
17
owner = "linbox-team";
18
repo = "givaro";
19
tag = "v${version}";
20
-
sha256 = "sha256-KR0WJc0CSvaBnPRott4hQJhWNBb/Wi6MIhcTExtVobQ=";
21
};
22
23
patches = [
24
-
# Pull upstream fix for gcc-13:
25
-
# https://github.com/linbox-team/givaro/pull/218
26
-
(fetchpatch {
27
-
name = "gcc-13.patch";
28
-
url = "https://github.com/linbox-team/givaro/commit/c7744bb133496cd7ac04688f345646d505e1bf52.patch";
29
-
hash = "sha256-aAA5o8Va10v0Pqgcpx7qM0TAZiNQgXoR6N9xecj7tDA=";
30
-
})
31
-
(fetchpatch {
32
-
name = "clang-16.patch";
33
-
url = "https://github.com/linbox-team/givaro/commit/a81d44b3b57c275bcb04ab00db79be02561deaa2.patch";
34
-
hash = "sha256-sSk+VWffoEjZRTJcHRISLHPyW6yuvI1u8knBOfxNUIE=";
35
-
})
36
-
# https://github.com/linbox-team/givaro/issues/226
37
-
(fetchpatch {
38
-
name = "gcc-14.patch";
39
-
url = "https://github.com/linbox-team/givaro/commit/b0cf33e1d4437530c7e4b3db90b6c80057a7f2f3.patch";
40
-
includes = [ "src/kernel/integer/random-integer.h" ];
41
-
hash = "sha256-b2Q8apP9ueEqIUtibTeP47x6TlroRzLgAxuv5ZM1EUw=";
42
-
})
43
-
# https://github.com/linbox-team/givaro/issues/232
44
-
(fetchpatch {
45
-
name = "clang-19.patch";
46
-
url = "https://github.com/linbox-team/givaro/commit/a18baf5227d4f3e81a50850fe98e0d954eaa3ddb.patch";
47
-
hash = "sha256-IR0IHhCqbxgtsST30vxM9ak1nGtt0apxcLUQ1kS1DHw=";
48
-
})
49
# skip gmp version check for cross-compiling, our version is new enough
50
./skip-gmp-check.patch
51
];
···
2
lib,
3
stdenv,
4
fetchFromGitHub,
0
5
automake,
6
autoconf,
7
libtool,
···
10
}:
11
stdenv.mkDerivation rec {
12
pname = "givaro";
13
+
version = "4.2.1";
14
15
src = fetchFromGitHub {
16
owner = "linbox-team";
17
repo = "givaro";
18
tag = "v${version}";
19
+
sha256 = "sha256-vSkWmKqpbVk1qdsqCU7qF7o+YgV5YRc9p4mlgl6yrto=";
20
};
21
22
patches = [
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
23
# skip gmp version check for cross-compiling, our version is new enough
24
./skip-gmp-check.patch
25
];