mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
adolc: modernize
This commit is contained in:
parent
c880f1f46b
commit
5186ad13f4
@ -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;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user