chore: switch to nixfmt

This commit is contained in:
uku 2024-12-02 16:02:41 +01:00
parent c80127177a
commit 4233a1addc
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
9 changed files with 112 additions and 57 deletions

View file

@ -12,11 +12,19 @@ stdenv.mkDerivation (finalAttrs: {
version = "1.5.2";
src = fetchurl {
url = with finalAttrs; "https://github.com/karakun/OpenWebStart/releases/download/v${version}/OpenWebStart_linux_${builtins.replaceStrings ["."] ["_"] version}.deb";
url =
with finalAttrs;
"https://github.com/karakun/OpenWebStart/releases/download/v${version}/OpenWebStart_linux_${
builtins.replaceStrings [ "." ] [ "_" ] version
}.deb";
hash = "sha256-thB/JWbF/Xk/PLurwXvWwzQTyCeV1hU7Zm8BjrG6lS0=";
};
nativeBuildInputs = [dpkg makeWrapper copyDesktopItems];
nativeBuildInputs = [
dpkg
makeWrapper
copyDesktopItems
];
unpackCmd = "dpkg-deb -x $src .";
sourceRoot = "opt/OpenWebStart";
@ -57,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
noDisplay = true;
exec = "openwebstart %f";
icon = "openwebstart-settings";
mimeTypes = ["application/x-java-jnlp-file"];
mimeTypes = [ "application/x-java-jnlp-file" ];
})
];