tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
bluej: nixfmt-rfc-style
Matteo Pacini
1 year ago
74458684
8bc4908f
+20
-5
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
bl
bluej
package.nix
+20
-5
pkgs/by-name/bl/bluej/package.nix
···
1
-
{ lib, stdenv, fetchurl, openjdk17, openjfx17, glib, dpkg, wrapGAppsHook3 }:
0
0
0
0
0
0
0
0
0
2
let
3
openjdk = openjdk17.override {
4
-
enableJavaFX = true;
5
-
openjfx_jdk = openjfx17.override { withWebKit = true; };
6
};
7
in
8
stdenv.mkDerivation rec {
···
13
# We use the deb here. First instinct might be to go for the "generic" JAR
14
# download, but that is actually a graphical installer that is much harder
15
# to unpack than the deb.
16
-
url = "https://www.bluej.org/download/files/BlueJ-linux-${builtins.replaceStrings ["."] [""] version}.deb";
0
0
17
sha256 = "sha256-sOT86opMa9ytxJlfURIsD06HiP+j+oz3lQ0DqmLV1wE=";
18
};
19
20
-
nativeBuildInputs = [ dpkg wrapGAppsHook3 ];
0
0
0
21
buildInputs = [ glib ];
22
23
dontWrapGApps = true;
···
50
maintainers = with lib.maintainers; [ chvp ];
51
platforms = lib.platforms.linux;
52
};
0
53
}
···
1
+
{
2
+
lib,
3
+
stdenv,
4
+
fetchurl,
5
+
openjdk17,
6
+
openjfx17,
7
+
glib,
8
+
dpkg,
9
+
wrapGAppsHook3,
10
+
}:
11
let
12
openjdk = openjdk17.override {
13
+
enableJavaFX = true;
14
+
openjfx_jdk = openjfx17.override { withWebKit = true; };
15
};
16
in
17
stdenv.mkDerivation rec {
···
22
# We use the deb here. First instinct might be to go for the "generic" JAR
23
# download, but that is actually a graphical installer that is much harder
24
# to unpack than the deb.
25
+
url = "https://www.bluej.org/download/files/BlueJ-linux-${
26
+
builtins.replaceStrings [ "." ] [ "" ] version
27
+
}.deb";
28
sha256 = "sha256-sOT86opMa9ytxJlfURIsD06HiP+j+oz3lQ0DqmLV1wE=";
29
};
30
31
+
nativeBuildInputs = [
32
+
dpkg
33
+
wrapGAppsHook3
34
+
];
35
buildInputs = [ glib ];
36
37
dontWrapGApps = true;
···
64
maintainers = with lib.maintainers; [ chvp ];
65
platforms = lib.platforms.linux;
66
};
67
+
68
}