nixpkgs-suyu/pkgs/tools/filesystems/mp3fs/default.nix
Tobias Geerinckx-Rice 1926a7aa32 Tidy nckx-maintained packages
- Use fetchFromGitHub when possible
- Build in parallel if supported
2015-04-08 02:29:42 +02:00

30 lines
1.1 KiB
Nix

{ stdenv, fetchurl, flac, fuse, lame, libid3tag, pkgconfig }:
let version = "0.91"; in
stdenv.mkDerivation rec {
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 ];
};
}