dleyna-renderer: init at 0.6.0
This commit is contained in:
parent
eea8e78f0d
commit
a04cfdea12
|
@ -193,6 +193,7 @@
|
||||||
./services/databases/stanchion.nix
|
./services/databases/stanchion.nix
|
||||||
./services/databases/virtuoso.nix
|
./services/databases/virtuoso.nix
|
||||||
./services/desktops/accountsservice.nix
|
./services/desktops/accountsservice.nix
|
||||||
|
./services/desktops/dleyna-renderer.nix
|
||||||
./services/desktops/geoclue2.nix
|
./services/desktops/geoclue2.nix
|
||||||
./services/desktops/gnome3/at-spi2-core.nix
|
./services/desktops/gnome3/at-spi2-core.nix
|
||||||
./services/desktops/gnome3/evolution-data-server.nix
|
./services/desktops/gnome3/evolution-data-server.nix
|
||||||
|
|
28
nixos/modules/services/desktops/dleyna-renderer.nix
Normal file
28
nixos/modules/services/desktops/dleyna-renderer.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# dleyna-renderer service.
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
{
|
||||||
|
###### interface
|
||||||
|
options = {
|
||||||
|
services.dleyna-renderer = {
|
||||||
|
enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Whether to enable dleyna-renderer service, a DBus service
|
||||||
|
for handling DLNA renderers.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
###### implementation
|
||||||
|
config = mkIf config.services.dleyna-renderer.enable {
|
||||||
|
environment.systemPackages = [ pkgs.dleyna-renderer ];
|
||||||
|
|
||||||
|
services.dbus.packages = [ pkgs.dleyna-renderer ];
|
||||||
|
};
|
||||||
|
}
|
29
pkgs/development/libraries/dleyna-renderer/default.nix
Normal file
29
pkgs/development/libraries/dleyna-renderer/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ stdenv, autoreconfHook, pkgconfig, fetchFromGitHub, dleyna-connector-dbus, dleyna-core, gssdp, gupnp, gupnp_av, gupnp_dlna, libsoup, makeWrapper }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "dleyna-renderer";
|
||||||
|
version = "0.6.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "01org";
|
||||||
|
repo = name;
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "0jy54aq8hgrvzchrvfzqaj4pcn0cfhafl9bv8a9p6j82yjk4pvpp";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook pkgconfig makeWrapper ];
|
||||||
|
buildInputs = [ dleyna-core dleyna-connector-dbus gssdp gupnp gupnp_av gupnp_dlna libsoup ];
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
wrapProgram "$out/libexec/dleyna-renderer-service" \
|
||||||
|
--set DLEYNA_CONNECTOR_PATH "$DLEYNA_CONNECTOR_PATH"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Library to discover and manipulate Digital Media Renderers";
|
||||||
|
homepage = http://01.org/dleyna;
|
||||||
|
maintainers = [ maintainers.jtojnar ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = licenses.lgpl21;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1753,6 +1753,8 @@ with pkgs;
|
||||||
|
|
||||||
dleyna-core = callPackage ../development/libraries/dleyna-core { };
|
dleyna-core = callPackage ../development/libraries/dleyna-core { };
|
||||||
|
|
||||||
|
dleyna-renderer = callPackage ../development/libraries/dleyna-renderer { };
|
||||||
|
|
||||||
dmd_2_067_1 = callPackage ../development/compilers/dmd/2.067.1.nix {
|
dmd_2_067_1 = callPackage ../development/compilers/dmd/2.067.1.nix {
|
||||||
stdenv = if stdenv.hostPlatform.isDarwin then
|
stdenv = if stdenv.hostPlatform.isDarwin then
|
||||||
stdenv
|
stdenv
|
||||||
|
|
Loading…
Reference in a new issue