Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
54 lines
1021 B
Nix
54 lines
1021 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
coin3d,
|
|
qt6,
|
|
testers,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "soqt";
|
|
version = "1.6.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "coin3d";
|
|
repo = "soqt";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-H904mFfrELjB6ZVhypaKJd+pu5y+aVV4foryrsN7IqE=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
coin3d
|
|
qt6.qtbase
|
|
];
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
passthru = {
|
|
tests = {
|
|
cmake-config = testers.hasCmakeConfigModules {
|
|
moduleNames = [ "soqt" ];
|
|
package = finalAttrs.finalPackage;
|
|
nativeBuildInputs = [ qt6.wrapQtAppsHook ];
|
|
};
|
|
};
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://github.com/coin3d/soqt";
|
|
license = lib.licenses.bsd3;
|
|
description = "Glue between Coin high-level 3D visualization library and Qt";
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|