1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 pkg-config,
6 cmake,
7}:
8
9stdenv.mkDerivation (finalAttrs: {
10 pname = "cppad";
11 version = "20250000.2";
12
13 src = fetchFromGitHub {
14 owner = "coin-or";
15 repo = "CppAD";
16 tag = finalAttrs.version;
17 hash = "sha256-rAKD/PAjepDchvrJp7iLYw5doNq8Af1oVh61gfMcNYI=";
18 };
19
20 nativeBuildInputs = [
21 cmake
22 pkg-config
23 ];
24
25 meta = {
26 description = "C++ Algorithmic Differentiation Package";
27 homepage = "https://github.com/coin-or/CppAD";
28 license = lib.licenses.gpl2Plus;
29 maintainers = with lib.maintainers; [
30 athas
31 ];
32 };
33})