nixpkgs/pkgs/tools/networking/minidlna/default.nix

30 lines
910 B
Nix
Raw Normal View History

{ stdenv, fetchurl, ffmpeg, flac, libvorbis, libogg, libid3tag, libexif, libjpeg, sqlite, gettext }:
let version = "1.1.4"; in
2012-06-24 19:24:58 +01:00
stdenv.mkDerivation rec {
name = "minidlna-${version}";
2012-06-24 19:24:58 +01:00
src = fetchurl {
url = "mirror://sourceforge/project/minidlna/minidlna/${version}/minidlna-${version}.tar.gz";
sha256 = "9814c04a2c506a0dd942c4218d30c07dedf90dabffbdef2d308a3f9f23545314";
2012-06-24 19:24:58 +01:00
};
preConfigure = ''
export makeFlags="INSTALLPREFIX=$out"
'';
buildInputs = [ ffmpeg flac libvorbis libogg libid3tag libexif libjpeg sqlite gettext ];
2012-06-24 19:24:58 +01:00
meta = {
description = "Media server software";
2012-06-24 19:24:58 +01:00
longDescription = ''
MiniDLNA (aka ReadyDLNA) is server software with the aim of being fully
compliant with DLNA/UPnP-AV clients.
2012-06-24 19:24:58 +01:00
'';
homepage = http://sourceforge.net/projects/minidlna/;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
2012-06-24 19:24:58 +01:00
};
}