Add mp3fs: FUSE FS that transparently transcodes to MP3

This commit is contained in:
Tobias Geerinckx-Rice 2015-01-09 04:49:18 +01:00
parent 9438fa4d3f
commit 8e5b02d847
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, fetchurl, flac, fuse, lame, libid3tag, pkgconfig }:
stdenv.mkDerivation rec {
version = "0.91";
name = "mp3fs-${version}";
src = fetchurl {
url = "https://github.com/khenriks/mp3fs/releases/download/v${version}/${name}.tar.gz";
sha256 = "14ngiqg24p3a0s6hp33zjl4i46d8qn4v9id36psycq3n3csmwyx4";
};
buildInputs = [ flac fuse lame libid3tag pkgconfig ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "FUSE file system that transparently transcodes to MP3";
longDescription = ''
A read-only FUSE filesystem which transcodes between audio formats
(currently only FLAC to MP3) on the fly when files are opened and read.
It can let you use a FLAC collection with software and/or hardware
which only understands the MP3 format, or transcode files through
simple drag-and-drop in a file browser.
'';
homepage = http://khenriks.github.com/mp3fs/;
license = with licenses; gpl3Plus;
platforms = with platforms; linux;
maintainers = with maintainers; [ nckx ];
};
}

View File

@ -725,6 +725,8 @@ let
mcrl2 = callPackage ../tools/misc/mcrl2 { };
mp3fs = callPackage ../tools/filesystems/mp3fs { };
mpdcron = callPackage ../tools/audio/mpdcron { };
syslogng = callPackage ../tools/system/syslog-ng { };