adolc: modernize

This commit is contained in:
Austin Horstman 2024-11-08 17:50:50 -06:00
parent c880f1f46b
commit 5186ad13f4
No known key found for this signature in database

View File

@ -4,15 +4,15 @@
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "adolc";
version = "2.7.2";
src = fetchFromGitHub {
owner = "coin-or";
repo = "ADOL-C";
sha256 = "1w0x0p32r1amfmh2lyx33j4cb5bpkwjr5z0ll43zi5wf5gsvckd1";
rev = "releases/${version}";
rev = "refs/tags/releases/${finalAttrs.version}";
hash = "sha256-oU229SuOl/gHoRT8kiWfd5XFiByjeypgdVWFLMYFHfA=";
};
configureFlags = [ "--with-openmp-flag=-fopenmp" ];
@ -23,4 +23,4 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.bzizou ];
license = licenses.gpl2Plus;
};
}
})