2018-02-25 03:23:58 +01:00
|
|
|
{ stdenv, autoreconfHook, makeWrapper, pkgconfig, fetchFromGitHub, dleyna-core, dleyna-connector-dbus, gssdp, gupnp, gupnp-av, gupnp-dlna, libsoup }:
|
2017-09-01 15:04:59 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-05-28 14:59:57 +02:00
|
|
|
pname = "dleyna-server";
|
|
|
|
name = "${pname}-${version}";
|
2017-09-01 15:04:59 +02:00
|
|
|
version = "0.6.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "01org";
|
2018-05-28 14:59:57 +02:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2017-09-01 15:04:59 +02:00
|
|
|
sha256 = "13a2i6ms27s46yxdvlh2zm7pim7jmr5cylnygzbliz53g3gxxl3j";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig makeWrapper ];
|
2018-02-25 03:23:58 +01:00
|
|
|
buildInputs = [ dleyna-core dleyna-connector-dbus gssdp gupnp gupnp-av gupnp-dlna libsoup ];
|
2017-09-01 15:04:59 +02:00
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
wrapProgram "$out/libexec/dleyna-server-service" \
|
|
|
|
--set DLEYNA_CONNECTOR_PATH "$DLEYNA_CONNECTOR_PATH"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library to discover, browse and manipulate Digital Media Servers";
|
2018-06-23 13:34:55 +02:00
|
|
|
homepage = https://01.org/dleyna;
|
2017-09-01 15:04:59 +02:00
|
|
|
maintainers = [ maintainers.jtojnar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|