corto: 0-unstable-2024-04-05 -> v2025.07

This commit is contained in:
Guilhem Saurel
2025-10-28 19:54:36 +01:00
parent 5332e5d3b5
commit 0cc4e7d668
+24 -8
View File
@@ -2,26 +2,42 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
nix-update-script,
}:
stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "corto";
version = "0-unstable-2024-04-05";
version = "2025.07";
src = fetchFromGitHub {
owner = "cnr-isti-vclab";
repo = "corto";
rev = "d880519c490c88a39d12c31a914b6a687a7019c3";
hash = "sha256-0OUijrf+0ZNv3oYko2r8Kp9zgtg8b9RPL7DXHf15Ryc=";
tag = "v${finalAttrs.version}";
hash = "sha256-wfIZQdypBTfUZJgPE4DetSt1SUNSyZihmL1Uzapqh1o=";
};
patches = [
# CMake: exports
# ref. https://github.com/cnr-isti-vclab/corto/pull/47
# merged upstream
(fetchpatch {
name = "cmake-exports.patch";
url = "https://github.com/cnr-isti-vclab/corto/commit/169356e97b29587b278822118aef34ed742b6b37.patch";
hash = "sha256-imJfQ8JEhCcSkkO35N7Z3NtGElCyVxENPMDMWfNqdW0=";
})
];
nativeBuildInputs = [ cmake ];
meta = with lib; {
updateScript = nix-update-script { };
meta = {
description = "Mesh compression library, designed for rendering and speed";
homepage = "https://github.com/cnr-isti-vclab/corto";
license = licenses.mit;
maintainers = with maintainers; [ nim65s ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nim65s ];
mainProgram = "corto";
};
}
})