form: 4.3.1 -> 5.0.0
Diff: https://github.com/form-dev/form/compare/v4.3.1...v5.0.0 Changelog: https://github.com/form-dev/form/wiki/Release-Notes-FORM-5.0.0
This commit is contained in:
@@ -4,18 +4,31 @@
|
||||
fetchFromGitHub,
|
||||
autoreconfHook,
|
||||
gmp,
|
||||
zstd,
|
||||
mpfr,
|
||||
zlib,
|
||||
flint,
|
||||
}:
|
||||
|
||||
let
|
||||
zstd_src = fetchFromGitHub {
|
||||
owner = "facebook";
|
||||
repo = "zstd";
|
||||
# latest commit on dev (only branch that has that folder) that changed zlibWrapper (https://github.com/facebook/zstd/commits/dev/zlibWrapper)
|
||||
rev = "0b96e6d42a9b22eb472a050fcd2cc4be3ffb8e2b";
|
||||
hash = "sha256-EPsLRjCCj0ruQ+z7eBzr/ACF0wh5LzUmdpbw/w5moWU=";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "4.3.1";
|
||||
pname = "form";
|
||||
version = "5.0.0";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "form-dev";
|
||||
repo = "form";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ZWpfPeTekHEALqXVF/nLkcNsrkt17AKm2B/uydUBfvo=";
|
||||
hash = "sha256-cYO8B5uDJQ9eUc4w5Le47su3JS/jGYwUFtHFunuQaJc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -24,9 +37,18 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
buildInputs = [
|
||||
gmp
|
||||
mpfr
|
||||
zstd
|
||||
zlib
|
||||
flint
|
||||
];
|
||||
|
||||
postUnpack = ''
|
||||
mkdir -p source/extern/zstd
|
||||
cp -r ${zstd_src}/zlibWrapper source/extern/zstd/
|
||||
chmod -R +w source
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Symbolic manipulation of very big expressions";
|
||||
homepage = "https://www.nikhef.nl/~form/";
|
||||
|
||||
Reference in New Issue
Block a user