14 stdenv.mkDerivation rec {
18 src = fetchFromGitHub {
22 sha256 = "sha256-dF+DfkNKvYOucS6KjYR1MMGxayM+1HVS8mbmaavmgKM=";
26 substituteInPlace src/mp3fs.cc \
27 --replace "#include <fuse_darwin.h>" "" \
28 --replace "osxfuse_version()" "fuse_version()"
31 buildInputs = [ flac fuse lame libid3tag libvorbis ];
32 nativeBuildInputs = [ autoreconfHook pkg-config pandoc ];
34 enableParallelBuilding = true;
37 description = "FUSE file system that transparently transcodes to MP3";
39 A read-only FUSE filesystem which transcodes between audio formats
40 (currently FLAC and Ogg Vorbis to MP3) on the fly when opened and read.
41 This can let you use a FLAC or Ogg Vorbis collection with software
42 and/or hardware which only understands the MP3 format, or transcode
43 files through simple drag-and-drop in a file browser.
45 homepage = "https://khenriks.github.io/mp3fs/";
46 license = licenses.gpl3Plus;
47 platforms = platforms.unix;
48 maintainers = with maintainers; [ Luflosi ];
49 mainProgram = "mp3fs";