lol
1{ lib
2, mkDerivation
3, fetchFromGitHub
4, cmake
5, csxcad
6, tinyxml
7, vtkWithQt5
8, qtbase
9}:
10
11mkDerivation {
12 pname = "qcsxcad";
13 version = "unstable-2023-01-06";
14
15 src = fetchFromGitHub {
16 owner = "thliebig";
17 repo = "QCSXCAD";
18 rev = "1cde9d560a5000f4c24c249d2dd5ccda12de38b6";
19 hash = "sha256-kc9Vnx6jGiQC2K88ZH00b61D/DbWxAIZZwYCsINqtrY=";
20 };
21
22 outputs = [ "out" "dev" ];
23
24 nativeBuildInputs = [
25 cmake
26 ];
27
28 cmakeFlags = [
29 "-DCSXCAD_ROOT_DIR=${csxcad}"
30 "-DENABLE_RPATH=OFF"
31 ];
32
33 buildInputs = [
34 csxcad
35 tinyxml
36 vtkWithQt5
37 qtbase
38 ];
39
40 meta = with lib; {
41 description = "Qt library for CSXCAD";
42 homepage = "https://github.com/thliebig/QCSXCAD";
43 license = licenses.gpl3;
44 maintainers = with maintainers; [ matthuszagh ];
45 platforms = platforms.linux;
46 };
47}