codipack: init at 2.3.1

This commit is contained in:
Troels Henriksen
2025-03-13 23:01:59 +05:30
committed by Emery Hemingway
parent 3c09a5b472
commit 6d950ec94b
+36
View File
@@ -0,0 +1,36 @@
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
cmake,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "codipack";
version = "2.3.1";
src = fetchFromGitHub {
owner = "SciCompKL";
repo = "CoDiPack";
tag = "v${finalAttrs.version}";
hash = "sha256-ZD9P4yWcF9zGeTyw6ENAcGoPyc8QcBdNZNnqRV4MH8s=";
};
nativeBuildInputs = [
cmake
pkg-config
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Fast gradient evaluation in C++ based on Expression Templates";
homepage = "https://scicomp.rptu.de/software/codi/";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
athas
];
};
})