tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
openscad: fix build by switching to git master and Qt5
Michael Raskin
7 years ago
c68dc221
7873fe26
+19
-9
1 changed file
expand all
collapse all
unified
split
pkgs
applications
graphics
openscad
default.nix
+19
-9
pkgs/applications/graphics/openscad/default.nix
···
1
-
{ stdenv, fetchurl, qt4, qmake4Hook, bison, flex, eigen, boost, libGLU_combined, glew, opencsg, cgal
2
-
, mpfr, gmp, glib, pkgconfig, harfbuzz, qscintilla, gettext
0
3
}:
4
5
stdenv.mkDerivation rec {
6
-
version = "2015.03-3";
7
name = "openscad-${version}";
8
9
-
src = fetchurl {
10
-
url = "http://files.openscad.org/${name}.src.tar.gz";
11
-
sha256 = "0djsgi9yx1nxr2gh1kgsqw5vrbncp8v5li0p1pp02higqf1psajx";
0
0
0
0
0
0
12
};
13
14
buildInputs = [
15
-
qt4 qmake4Hook bison flex eigen boost libGLU_combined glew opencsg cgal mpfr gmp glib
16
-
pkgconfig harfbuzz qscintilla gettext
17
-
];
0
0
0
18
19
qmakeFlags = [ "VERSION=${version}" ];
20
···
1
+
{ stdenv, fetchurl, fetchFromGitHub, qt5, libsForQt5
2
+
, bison, flex, eigen, boost, libGLU_combined, glew, opencsg, cgal
3
+
, mpfr, gmp, glib, pkgconfig, harfbuzz, gettext
4
}:
5
6
stdenv.mkDerivation rec {
7
+
version = "2018.04-git";
8
name = "openscad-${version}";
9
10
+
# src = fetchurl {
11
+
# url = "http://files.openscad.org/${name}.src.tar.gz";
12
+
# sha256 = "0djsgi9yx1nxr2gh1kgsqw5vrbncp8v5li0p1pp02higqf1psajx";
13
+
# };
14
+
src = fetchFromGitHub {
15
+
owner = "openscad";
16
+
repo = "openscad";
17
+
rev = "179074dff8c23cbc0e651ce8463737df0006f4ca";
18
+
sha256 = "1y63yqyd0v255liik4ff5ak6mj86d8d76w436x76hs5dk6jgpmfb";
19
};
20
21
buildInputs = [
22
+
bison flex eigen boost libGLU_combined glew opencsg cgal mpfr gmp glib
23
+
pkgconfig harfbuzz gettext
24
+
]
25
+
++ (with qt5; [qtbase qmake])
26
+
++ (with libsForQt5; [qscintilla])
27
+
;
28
29
qmakeFlags = [ "VERSION=${version}" ];
30