cminpack: 1.3.8 -> 1.3.11
This commit is contained in:
@@ -3,21 +3,27 @@
|
||||
stdenv,
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
withBlas ? true,
|
||||
withBlas ? false,
|
||||
blas,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cminpack";
|
||||
version = "1.3.8";
|
||||
version = "1.3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "devernay";
|
||||
repo = "cminpack";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-eFJ43cHbSbWld+gPpMaNiBy1X5TIcN9aVxjh8PxvVDU=";
|
||||
hash = "sha256-GF9HiITX/XV8hXrp5lJw2XM0Zyb/CBkMZkRFBbQj03A=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace cmake/cminpack.pc.in \
|
||||
--replace-fail ''\'''${prefix}/' ""
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -33,6 +39,10 @@ stdenv.mkDerivation rec {
|
||||
"-DBUILD_SHARED_LIBS=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Software for solving nonlinear equations and nonlinear least squares problems";
|
||||
homepage = "http://devernay.free.fr/hacks/cminpack/";
|
||||
|
||||
Reference in New Issue
Block a user