summary refs log tree commit diff
path: root/pkgs/tools/filesystems/mp3fs
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-01-09 04:49:18 +0100
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-01-09 04:49:18 +0100
commit8e5b02d8476b4a7c8f1d4952c6d7d2f3664e39c1 (patch)
tree5b271c0a291d5b671cf86d237d6dea91a6429d84 /pkgs/tools/filesystems/mp3fs
parent9438fa4d3f61617905210de51090400d6e4eed6e (diff)
downloadnixpkgs-8e5b02d8476b4a7c8f1d4952c6d7d2f3664e39c1.tar
nixpkgs-8e5b02d8476b4a7c8f1d4952c6d7d2f3664e39c1.tar.gz
nixpkgs-8e5b02d8476b4a7c8f1d4952c6d7d2f3664e39c1.tar.bz2
nixpkgs-8e5b02d8476b4a7c8f1d4952c6d7d2f3664e39c1.tar.lz
nixpkgs-8e5b02d8476b4a7c8f1d4952c6d7d2f3664e39c1.tar.xz
nixpkgs-8e5b02d8476b4a7c8f1d4952c6d7d2f3664e39c1.tar.zst
nixpkgs-8e5b02d8476b4a7c8f1d4952c6d7d2f3664e39c1.zip
Add mp3fs: FUSE FS that transparently transcodes to MP3
Diffstat (limited to 'pkgs/tools/filesystems/mp3fs')
-rw-r--r--pkgs/tools/filesystems/mp3fs/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/mp3fs/default.nix b/pkgs/tools/filesystems/mp3fs/default.nix
new file mode 100644
index 00000000000..5bcb738d709
--- /dev/null
+++ b/pkgs/tools/filesystems/mp3fs/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchurl, flac, fuse, lame, libid3tag, pkgconfig }:
+
+stdenv.mkDerivation rec {
+  version = "0.91";
+  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 ];
+  };
+}