mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
jdt-language-server: 1.31.0 -> 1.36.0
This commit is contained in:
parent
d96b321bcc
commit
ebbd613587
@ -6,15 +6,15 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
timestamp = "202401111522";
|
timestamp = "202405301306";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "jdt-language-server";
|
pname = "jdt-language-server";
|
||||||
version = "1.31.0";
|
version = "1.36.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.eclipse.org/jdtls/milestones/${finalAttrs.version}/jdt-language-server-${finalAttrs.version}-${timestamp}.tar.gz";
|
url = "https://download.eclipse.org/jdtls/milestones/${finalAttrs.version}/jdt-language-server-${finalAttrs.version}-${timestamp}.tar.gz";
|
||||||
hash = "sha256-bCX2LQt00d2SqxmvuvvlBB6wbCuFPqtX9/Qv5v6wH3w=";
|
hash = "sha256-Ao4nTQb0phytT/1W+J70FKj2VhPG0F2UZ2Ubf7A9rns=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
|
2
pkgs/by-name/jd/jdt-language-server/update.sh
Normal file → Executable file
2
pkgs/by-name/jd/jdt-language-server/update.sh
Normal file → Executable file
@ -15,7 +15,7 @@ filename=$(curl -s "$prefix/latest.txt")
|
|||||||
newtimestamp=$(echo $filename | sed "s|^.*-$newver-||;s|\.tar\.gz$||")
|
newtimestamp=$(echo $filename | sed "s|^.*-$newver-||;s|\.tar\.gz$||")
|
||||||
newhash="$(nix-hash --to-sri --type sha256 $(nix-prefetch-url "$prefix/$filename"))";
|
newhash="$(nix-hash --to-sri --type sha256 $(nix-prefetch-url "$prefix/$filename"))";
|
||||||
|
|
||||||
sed -i default.nix \
|
sed -i package.nix \
|
||||||
-e "/^ version =/ s|\".*\"|\"$newver\"|" \
|
-e "/^ version =/ s|\".*\"|\"$newver\"|" \
|
||||||
-e "/^ timestamp =/ s|\".*\"|\"$newtimestamp\"|" \
|
-e "/^ timestamp =/ s|\".*\"|\"$newtimestamp\"|" \
|
||||||
-e "/^ hash =/ s|\".*\"|\"$newhash\"|" \
|
-e "/^ hash =/ s|\".*\"|\"$newhash\"|" \
|
||||||
|
Loading…
Reference in New Issue
Block a user