git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #5653 from nckx/mp3fs

Add mp3fs: FUSE FS that transparently transcodes to MP3

commit3b3839e6ea2b710a505b3c9da6a34a86aa0cb0ed authorlethalman <lucabru@src.gnome.org> dateFri 9 Jan 2015, 09:52 (12 years ago) parente90d3168e5b02d
2 files changed+32
pkgs/tools/filesystems/mp3fs/default.nix+30 pkgs/top-level/all-packages.nix+2
pkgs/tools/filesystems/mp3fs/default.nixnew file+30
@@ -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+}
pkgs/top-level/all-packages.nix+2
@@ -725,6 +725,8 @@ let
725725
726726 mcrl2 = callPackage ../tools/misc/mcrl2 { };
727727
728+ mp3fs = callPackage ../tools/filesystems/mp3fs { };
729+
728730 mpdcron = callPackage ../tools/audio/mpdcron { };
729731
730732 syslogng = callPackage ../tools/system/syslog-ng { };