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