Skip to content

Commit b62797a

Browse files
committed
tulip: format using nixfmt
1 parent 66febfc commit b62797a

File tree

1 file changed

+34
-7
lines changed

1 file changed

+34
-7
lines changed

pkgs/applications/science/misc/tulip/default.nix

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1-
{ lib, stdenv, fetchurl, libxml2, freetype, libGLU, libGL, glew
2-
, qtbase, wrapQtAppsHook, autoPatchelfHook, python3
3-
, cmake, libjpeg, llvmPackages }:
1+
{
2+
lib,
3+
stdenv,
4+
fetchurl,
5+
libxml2,
6+
freetype,
7+
libGLU,
8+
libGL,
9+
glew,
10+
qtbase,
11+
wrapQtAppsHook,
12+
autoPatchelfHook,
13+
python3,
14+
cmake,
15+
libjpeg,
16+
llvmPackages,
17+
}:
418

519
stdenv.mkDerivation rec {
620
pname = "tulip";
@@ -11,12 +25,25 @@ stdenv.mkDerivation rec {
1125
hash = "sha256-7z21WkPi1v2AGishDmXZPAedMjgXPRnpUiHTzEnc5LY=";
1226
};
1327

14-
nativeBuildInputs = [ cmake wrapQtAppsHook ]
15-
++ lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
28+
nativeBuildInputs = [
29+
cmake
30+
wrapQtAppsHook
31+
] ++ lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
1632

17-
buildInputs = [ libxml2 freetype glew libjpeg qtbase python3 ]
33+
buildInputs =
34+
[
35+
libxml2
36+
freetype
37+
glew
38+
libjpeg
39+
qtbase
40+
python3
41+
]
1842
++ lib.optionals stdenv.hostPlatform.isDarwin [ llvmPackages.openmp ]
19-
++ lib.optionals stdenv.hostPlatform.isLinux [ libGLU libGL ];
43+
++ lib.optionals stdenv.hostPlatform.isLinux [
44+
libGLU
45+
libGL
46+
];
2047

2148
qtWrapperArgs = [ ''--prefix PATH : ${lib.makeBinPath [ python3 ]}'' ];
2249

0 commit comments

Comments
 (0)