emby: init at 3.0.5930
This commit is contained in:
parent
017469c1ef
commit
dd16ab92dc
35
pkgs/servers/emby/default.nix
Normal file
35
pkgs/servers/emby/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{ stdenv, fetchurl, unzip, sqlite }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "emby-${version}";
|
||||||
|
version = "3.0.5930";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/MediaBrowser/Emby/releases/download/${version}/Emby.Mono.zip";
|
||||||
|
sha256 = "0498v7wng13c9n8sjfaq0b8p933vn7hk5icsranm39bkh3jqgdwf";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ unzip ];
|
||||||
|
propagatedBuildInputs = [ sqlite ];
|
||||||
|
|
||||||
|
# Need to set sourceRoot as unpacker will complain about multiple directory output
|
||||||
|
sourceRoot = ".";
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace System.Data.SQLite.dll.config --replace libsqlite3.so ${sqlite.out}/lib/libsqlite3.so
|
||||||
|
substituteInPlace MediaBrowser.Server.Mono.exe.config --replace ProgramData-Server "/var/lib/emby/ProgramData-Server"
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp -r * $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "MediaBrowser - Bring together your videos, music, photos, and live television";
|
||||||
|
homepage = http://emby.media/;
|
||||||
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.fadenb ];
|
||||||
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -754,6 +754,8 @@ in
|
|||||||
|
|
||||||
elementary-icon-theme = callPackage ../data/icons/elementary-icon-theme { };
|
elementary-icon-theme = callPackage ../data/icons/elementary-icon-theme { };
|
||||||
|
|
||||||
|
emby = callPackage ../servers/emby { };
|
||||||
|
|
||||||
enca = callPackage ../tools/text/enca { };
|
enca = callPackage ../tools/text/enca { };
|
||||||
|
|
||||||
ent = callPackage ../tools/misc/ent { };
|
ent = callPackage ../tools/misc/ent { };
|
||||||
|
Loading…
Reference in New Issue
Block a user