about summary refs log tree commit diff
path: root/pkgs/applications/audio/flac123
diff options
context:
space:
mode:
authorYegor Timoshenko <yegortimoshenko@gmail.com>2017-07-20 20:51:51 +0300
committerFranz Pletz <fpletz@fnordicwalking.de>2017-07-20 19:51:51 +0200
commitec4f51fd9e3703558bfb500585ad689d0c23acc1 (patch)
tree31285f2112617da013c2cc19662f7e42325bf99c /pkgs/applications/audio/flac123
parente69dfc252a35753ce96aecfcfbf5281eb14d5eec (diff)
flac123: init at 0.0.12 (#27520)
* flac123: init at 0.0.12

* flac123: add to all-packages.nix

* flac123: use autoreconfHook
Diffstat (limited to 'pkgs/applications/audio/flac123')
-rw-r--r--pkgs/applications/audio/flac123/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/applications/audio/flac123/default.nix b/pkgs/applications/audio/flac123/default.nix
new file mode 100644
index 0000000000000..f0863bfc50b03
--- /dev/null
+++ b/pkgs/applications/audio/flac123/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchurl, autoreconfHook, flac, libao, libogg, popt }:
+
+stdenv.mkDerivation rec {
+  name = "flac123-${version}";
+  version = "0.0.12";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/flac-tools/${name}-release.tar.gz";
+    sha256 = "0zg4ahkg7v81za518x32wldf42g0rrvlrcqhrg9sv3li9bayyxhr";
+  };
+
+  nativeBuildInputs = [ autoreconfHook ];
+  buildInputs = [ flac libao libogg popt ];
+
+  meta = with stdenv.lib; {
+    homepage = http://flac-tools.sourceforge.net/;
+    description = "A command-line program for playing FLAC audio files";
+    license = licenses.gpl2Plus;
+    platforms = platforms.all;
+  };
+}