mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
0de2d2fbcd
This package has some outdated dependencies, so old versions of mongodb and v8 had to be re-added as well.
29 lines
647 B
Nix
29 lines
647 B
Nix
{ stdenv, fetchurl, unzip }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mfi-controller-${version}";
|
|
version = "2.1.11";
|
|
|
|
src = fetchurl {
|
|
url = "https://dl.ubnt.com/mfi/${version}/mFi.unix.zip";
|
|
sha256 = "0b9q6025zf9zjzq8dcmcyai8rslx67g52j41gacxsk9i5dspmw90";
|
|
};
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp -ar conf data dl lib webapps $out
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.ubnt.com/;
|
|
description = "Controller for Ubiquiti mFi devices";
|
|
license = licenses.unfree;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ elitak ];
|
|
};
|
|
}
|