Unverified Commit 5186ad13 authored by Austin Horstman's avatar Austin Horstman
Browse files

adolc: modernize

parent c880f1f4
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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;
  };
}
})