2015-01-09 04:49:18 +01:00
|
|
|
{ stdenv, fetchurl, flac, fuse, lame, libid3tag, pkgconfig }:
|
|
|
|
|
2015-04-07 17:35:38 +02:00
|
|
|
let version = "0.91"; in
|
2015-01-09 04:49:18 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mp3fs-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/khenriks/mp3fs/releases/download/v${version}/${name}.tar.gz";
|
|
|
|
sha256 = "14ngiqg24p3a0s6hp33zjl4i46d8qn4v9id36psycq3n3csmwyx4";
|
|
|
|
};
|
|
|
|
|
2015-04-17 15:53:33 +02:00
|
|
|
patches = [ ./fix-statfs-operation.patch ];
|
|
|
|
|
2015-06-17 19:36:06 +02:00
|
|
|
buildInputs = [ flac fuse lame libid3tag ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2015-01-09 04:49:18 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
2015-04-17 15:53:33 +02:00
|
|
|
homepage = http://khenriks.github.io/mp3fs/;
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.gpl3Plus;
|
2015-11-17 21:29:29 +01:00
|
|
|
platforms = platforms.linux;
|
2015-01-09 04:49:18 +01:00
|
|
|
maintainers = with maintainers; [ nckx ];
|
|
|
|
};
|
|
|
|
}
|