13 To use aditional parts libraries
14 set the variable LEOCAD_LIB=/path/to/libs/ or use option -l /path/to/libs/
19 url = "https://web.archive.org/web/20210705153544/https://www.ldraw.org/library/updates/complete.zip";
20 sha256 = "sha256-PW3XCbFwRaNkx4EgCnl2rXH7QgmpNgjTi17kZ5bladA=";
28 src = fetchFromGitHub {
32 sha256 = "1ifbxngkbmg6d8vv08amxbnfvlyjdwzykrjp98lbwvgb0b843ygq";
35 nativeBuildInputs = [ qmake qttools ];
37 buildInputs = [ zlib ];
39 propagatedBuildInputs = [ povray ];
49 "INSTALL_PREFIX=${placeholder "out"}"
50 "DISABLE_UPDATE_CHECK=1"
54 "--set-default LEOCAD_LIB ${parts}"
58 description = "CAD program for creating virtual LEGO models";
59 mainProgram = "leocad";
60 homepage = "https://www.leocad.org/";
61 license = licenses.gpl2Only;
62 maintainers = with maintainers; [ peterhoeg ];
63 platforms = platforms.linux;