diff --git a/pkgs/by-name/co/codipack/package.nix b/pkgs/by-name/co/codipack/package.nix new file mode 100644 index 000000000000..73fffb6c9935 --- /dev/null +++ b/pkgs/by-name/co/codipack/package.nix @@ -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 + ]; + }; +})