mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
bluej: nixfmt-rfc-style
This commit is contained in:
parent
8bc4908f5c
commit
74458684bd
1 changed files with 20 additions and 5 deletions
|
@ -1,8 +1,17 @@
|
||||||
{ lib, stdenv, fetchurl, openjdk17, openjfx17, glib, dpkg, wrapGAppsHook3 }:
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchurl,
|
||||||
|
openjdk17,
|
||||||
|
openjfx17,
|
||||||
|
glib,
|
||||||
|
dpkg,
|
||||||
|
wrapGAppsHook3,
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
openjdk = openjdk17.override {
|
openjdk = openjdk17.override {
|
||||||
enableJavaFX = true;
|
enableJavaFX = true;
|
||||||
openjfx_jdk = openjfx17.override { withWebKit = true; };
|
openjfx_jdk = openjfx17.override { withWebKit = true; };
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -13,11 +22,16 @@ stdenv.mkDerivation rec {
|
||||||
# We use the deb here. First instinct might be to go for the "generic" JAR
|
# We use the deb here. First instinct might be to go for the "generic" JAR
|
||||||
# download, but that is actually a graphical installer that is much harder
|
# download, but that is actually a graphical installer that is much harder
|
||||||
# to unpack than the deb.
|
# to unpack than the deb.
|
||||||
url = "https://www.bluej.org/download/files/BlueJ-linux-${builtins.replaceStrings ["."] [""] version}.deb";
|
url = "https://www.bluej.org/download/files/BlueJ-linux-${
|
||||||
|
builtins.replaceStrings [ "." ] [ "" ] version
|
||||||
|
}.deb";
|
||||||
sha256 = "sha256-sOT86opMa9ytxJlfURIsD06HiP+j+oz3lQ0DqmLV1wE=";
|
sha256 = "sha256-sOT86opMa9ytxJlfURIsD06HiP+j+oz3lQ0DqmLV1wE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ dpkg wrapGAppsHook3 ];
|
nativeBuildInputs = [
|
||||||
|
dpkg
|
||||||
|
wrapGAppsHook3
|
||||||
|
];
|
||||||
buildInputs = [ glib ];
|
buildInputs = [ glib ];
|
||||||
|
|
||||||
dontWrapGApps = true;
|
dontWrapGApps = true;
|
||||||
|
@ -50,4 +64,5 @@ stdenv.mkDerivation rec {
|
||||||
maintainers = with lib.maintainers; [ chvp ];
|
maintainers = with lib.maintainers; [ chvp ];
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue