unifi: 8.5.6 -> 8.6.9 (#355103)

authored by jopejoe1 and committed by GitHub 1118ab81 f9aa6104

+54 -59
+53
pkgs/by-name/un/unifi/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + dpkg, 5 + fetchurl, 6 + nixosTests, 7 + }: 8 + 9 + stdenv.mkDerivation rec { 10 + pname = "unifi-controller"; 11 + version = "8.6.9"; 12 + 13 + # see https://community.ui.com/releases / https://www.ui.com/download/unifi 14 + src = fetchurl { 15 + url = "https://dl.ui.com/unifi/${version}/unifi_sysvinit_all.deb"; 16 + sha256 = "sha256-004ZJEoj23FyFEBznqrpPzQ9E6DYpD7gBxa3ewSunIo="; 17 + }; 18 + 19 + nativeBuildInputs = [ dpkg ]; 20 + 21 + unpackPhase = '' 22 + runHook preUnpack 23 + dpkg-deb -x $src ./ 24 + runHook postUnpack 25 + ''; 26 + 27 + installPhase = '' 28 + runHook preInstall 29 + 30 + mkdir -p $out 31 + cd ./usr/lib/unifi 32 + cp -ar dl lib webapps $out 33 + 34 + runHook postInstall 35 + ''; 36 + 37 + passthru.tests = { 38 + unifi = nixosTests.unifi; 39 + }; 40 + 41 + meta = with lib; { 42 + homepage = "http://www.ubnt.com/"; 43 + description = "Controller for Ubiquiti UniFi access points"; 44 + sourceProvenance = with sourceTypes; [ binaryBytecode ]; 45 + license = licenses.unfree; 46 + platforms = platforms.unix; 47 + maintainers = with maintainers; [ 48 + globin 49 + patryk27 50 + ]; 51 + knownVulnerabilities = [ ]; 52 + }; 53 + }
-54
pkgs/servers/unifi/default.nix
··· 1 - { lib, stdenv, dpkg, fetchurl, zip, nixosTests }: 2 - 3 - let 4 - generic = { version, sha256, suffix ? "", knownVulnerabilities ? [ ], ... } @ args: 5 - stdenv.mkDerivation (args // { 6 - pname = "unifi-controller"; 7 - 8 - src = fetchurl { 9 - url = "https://dl.ubnt.com/unifi/${version}${suffix}/unifi_sysvinit_all.deb"; 10 - inherit sha256; 11 - }; 12 - 13 - nativeBuildInputs = [ dpkg ]; 14 - 15 - unpackPhase = '' 16 - runHook preUnpack 17 - dpkg-deb -x $src ./ 18 - runHook postUnpack 19 - ''; 20 - 21 - installPhase = '' 22 - runHook preInstall 23 - 24 - mkdir -p $out 25 - cd ./usr/lib/unifi 26 - cp -ar dl lib webapps $out 27 - 28 - runHook postInstall 29 - ''; 30 - 31 - passthru.tests = { 32 - unifi = nixosTests.unifi; 33 - }; 34 - 35 - meta = with lib; { 36 - homepage = "http://www.ubnt.com/"; 37 - description = "Controller for Ubiquiti UniFi access points"; 38 - sourceProvenance = with sourceTypes; [ binaryBytecode ]; 39 - license = licenses.unfree; 40 - platforms = platforms.unix; 41 - maintainers = with maintainers; [ globin patryk27 ]; 42 - inherit knownVulnerabilities; 43 - }; 44 - }); 45 - 46 - in rec { 47 - # see https://community.ui.com/releases / https://www.ui.com/download/unifi 48 - 49 - unifi8 = generic { 50 - version = "8.5.6"; 51 - suffix = "-1x29lm155t"; 52 - sha256 = "sha256-ZpCoE8OPb3FcKzf7Nurf9q+g2BpbjZcp1LvWOsV/tpA="; 53 - }; 54 - }
+1
pkgs/top-level/aliases.nix
··· 1250 1250 unifi5 = throw "'unifi5' has been removed since its required MongoDB version is EOL."; # Added 2024-04-11 1251 1251 unifi6 = throw "'unifi6' has been removed since its required MongoDB version is EOL."; # Added 2024-04-11 1252 1252 unifi7 = throw "'unifi7' has been removed since it is vulnerable to CVE-2024-42025 and its required MongoDB version is EOL."; # Added 2024-10-01 1253 + unifi8 = unifi; # Added 2024-11-15 1253 1254 unifiLTS = throw "'unifiLTS' has been removed since UniFi no longer has LTS and stable releases. Use `pkgs.unifi` instead."; # Added 2024-04-11 1254 1255 unifiStable = throw "'unifiStable' has been removed since UniFi no longer has LTS and stable releases. Use `pkgs.unifi` instead."; # Converted to throw 2024-04-11 1255 1256 untrunc = throw "'untrunc' has been renamed to/replaced by 'untrunc-anthwlock'"; # Converted to throw 2024-10-17
-5
pkgs/top-level/all-packages.nix
··· 12348 12348 matomo_5 12349 12349 matomo-beta; 12350 12350 12351 - inherit (callPackages ../servers/unifi { }) 12352 - unifi8; 12353 - 12354 - unifi = unifi8; 12355 - 12356 12351 unpackerr = callPackage ../servers/unpackerr { 12357 12352 inherit (darwin.apple_sdk.frameworks) Cocoa WebKit; 12358 12353 };