mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
31 lines
978 B
Nix
31 lines
978 B
Nix
{ stdenv, autoreconfHook, pkgconfig, fetchFromGitHub, dleyna-connector-dbus, dleyna-core, gssdp, gupnp, gupnp-av, gupnp-dlna, libsoup, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dleyna-renderer";
|
|
name = "${pname}-${version}";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "01org";
|
|
repo = pname;
|
|
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 = https://01.org/dleyna;
|
|
maintainers = [ maintainers.jtojnar ];
|
|
platforms = platforms.linux;
|
|
license = licenses.lgpl21;
|
|
};
|
|
}
|