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