unifi: 3.2.10 -> 4.6.3
This commit is contained in:
parent
22b89f2fcd
commit
6532863ac4
|
@ -71,7 +71,7 @@ in
|
||||||
rm -rf "${stateDir}/webapps"
|
rm -rf "${stateDir}/webapps"
|
||||||
mkdir -p "${stateDir}/webapps"
|
mkdir -p "${stateDir}/webapps"
|
||||||
chown unifi "${stateDir}/webapps"
|
chown unifi "${stateDir}/webapps"
|
||||||
ln -s "${pkgs.unifi}/webapps/ROOT.war" "${stateDir}/webapps/ROOT.war"
|
ln -s "${pkgs.unifi}/webapps/ROOT" "${stateDir}/webapps/ROOT"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postStop = ''
|
postStop = ''
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "unifi-controller-${version}";
|
name = "unifi-controller-${version}";
|
||||||
version = "3.2.10";
|
version = "4.6.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://dl.ubnt.com/unifi/${version}/UniFi.unix.zip";
|
url = "http://dl.ubnt.com/unifi/${version}/UniFi.unix.zip";
|
||||||
sha256 = "0hrb8bbpkz1ijgsqsxhwjx1iq11ircr0pb2n5nr6hna9zxkkkb04";
|
sha256 = "046qx7ghz5b1s4kg6aqvdiq7ck589c8x2cc3x03crcdjjj33rirq";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unzip ];
|
buildInputs = [ unzip ];
|
||||||
|
|
Loading…
Reference in New Issue