Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ fetchFromGitHub, lib, stdenv, coin3d, qtbase, cmake, pkg-config }:
2
3stdenv.mkDerivation rec {
4 pname = "soqt";
5 version = "2020-12-05-unstable";
6
7 src = fetchFromGitHub {
8 owner = "coin3d";
9 repo = "soqt";
10 # rev = "SoQt-${version}";
11 rev = "fb8f655632bb9c9c60e0ff9fa69a5ba22d3ff99d";
12 sha256 = "sha256-YoBq8P3Tag2Sepqxf/qIcJDBhH/gladBmDUj78aacZs=";
13 fetchSubmodules = true;
14 };
15
16 buildInputs = [ coin3d qtbase ];
17
18 nativeBuildInputs = [ cmake pkg-config ];
19
20 dontWrapQtApps = true;
21
22 meta = with lib; {
23 homepage = "https://github.com/coin3d/soqt";
24 license = licenses.bsd3;
25 description = "Glue between Coin high-level 3D visualization library and Qt";
26 maintainers = with maintainers; [ gebner viric ];
27 platforms = platforms.linux;
28 };
29}