diff --git a/pkgs/by-name/cl/cloudlogoffline/package.nix b/pkgs/by-name/cl/cloudlogoffline/package.nix deleted file mode 100644 index 6732d3ec92a2..000000000000 --- a/pkgs/by-name/cl/cloudlogoffline/package.nix +++ /dev/null @@ -1,86 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - qt6, - makeDesktopItem, - copyDesktopItems, -}: -stdenv.mkDerivation (self: { - pname = "cloudlogoffline"; - version = "1.1.5"; - rev = self.version; - hash = "sha256-CF56yk7hsM4M43le+CLy93oLyZ9kaqaRTFWtjJuF6Vo="; - - src = fetchFromGitHub { - inherit (self) rev hash; - owner = "myzinsky"; - repo = "cloudLogOffline"; - }; - - nativeBuildInputs = - [ - qt6.qmake - qt6.wrapQtAppsHook - ] - ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ - copyDesktopItems - ]; - - buildInputs = [ - qt6.qtbase - qt6.qtlocation - qt6.qtpositioning - qt6.qtsvg - ]; - - postPatch = - let - targetDir = if stdenv.hostPlatform.isDarwin then "Applications" else "bin"; - in - '' - substituteInPlace CloudLogOffline.pro \ - --replace 'target.path = /opt/$''${TARGET}/bin' "target.path = $out/${targetDir}" - ''; - - postInstall = - lib.optionalString (!stdenv.hostPlatform.isDarwin) '' - install -d $out/share/pixmaps - install -m644 images/logo_circle.svg $out/share/pixmaps/cloudlogoffline.svg - '' - + lib.optionalString stdenv.hostPlatform.isDarwin '' - # FIXME: For some reason, the Info.plist isn't copied correctly to - # the application bundle when building normally, instead creating an - # empty file. This doesn't happen when building in a dev shell with - # genericBuild. - # So, just copy the file manually. - plistPath="$out/Applications/CloudLogOffline.app/Contents/Info.plist" - [[ -s "$plistPath" ]] && { echo "expected Info.plist to be empty; workaround no longer needed?"; exit 1; } - install -m644 macos/Info.plist $out/Applications/CloudLogOffline.app/Contents/Info.plist - ''; - - desktopItems = lib.optionals (!stdenv.hostPlatform.isDarwin) [ - (makeDesktopItem { - name = "cloudlogoffline"; - desktopName = "CloudLogOffline"; - exec = "CloudLogOffline"; - icon = "cloudlogoffline"; - comment = self.meta.description; - genericName = "Ham radio contact logbook"; - categories = [ - "Network" - "Utility" - "HamRadio" - ]; - }) - ]; - - meta = { - description = "Offline frontend for Cloudlog"; - homepage = "https://github.com/myzinsky/cloudLogOffline"; - license = [ lib.licenses.lgpl3 ]; - mainProgram = "CloudLogOffline"; - maintainers = [ lib.maintainers.dblsaiko ]; - platforms = lib.platforms.unix; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index d31267a5cd39..1f9a38e10fe2 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -438,6 +438,7 @@ mapAliases { clang-sierraHack = throw "clang-sierraHack has been removed because it solves a problem that no longer seems to exist. Hey, what were you even doing with that thing anyway?"; # Added 2024-10-05 clang-sierraHack-stdenv = clang-sierraHack; # Added 2024-10-05 inherit (libsForQt5.mauiPackages) clip; # added 2022-05-17 + cloudlogoffline = throw "cloudlogoffline has been removed"; # added 2025-05-18 clwrapperFunction = throw "Lisp packages have been redesigned. See 'lisp-modules' in the nixpkgs manual."; # Added 2024-05-07 CoinMP = coinmp; # Added 2024-06-12 collada-dom = opencollada; # added 2024-02-21