Skip to content

Commit

Permalink
flacon: 2.0.1 -> 2.1.1
Browse files Browse the repository at this point in the history
fixes #23529
  • Loading branch information
ndowens authored and Mic92 committed Mar 6, 2017
1 parent c31c11e commit 4ae0e8c
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions pkgs/applications/audio/flacon/default.nix
Original file line number Diff line number Diff line change
@@ -1,30 +1,34 @@
{ stdenv, lib, fetchFromGitHub, cmake, qt5, libuchardet, pkgconfig, makeWrapper
, shntool, flac, opusTools, vorbisTools, mp3gain, lame, wavpack, vorbisgain
, gtk3
}:

stdenv.mkDerivation rec {
name = "flacon-${version}";
version = "2.0.1";
version = "2.1.1";

src = fetchFromGitHub {
owner = "flacon";
repo = "flacon";
rev = "v${version}";
sha256 = "0hip411k3arb96rnd22ifs9shlv0xmy96hhx1jcwdk48kw8aa9rw";
sha256 = "0jazv3d1xaydp2ws1pd5rmga76z5yk74v3a8yqfc8vbb2z6ahimz";
};

buildInputs = [ cmake qt5.qtbase qt5.qttools libuchardet pkgconfig makeWrapper ];
nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
buildInputs = [ qt5.qtbase qt5.qttools libuchardet ];

postInstall = ''
wrapProgram $out/bin/flacon \
--suffix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}" \
--prefix PATH : "${lib.makeBinPath [ shntool flac opusTools vorbisTools
mp3gain lame wavpack vorbisgain ]}"
mp3gain lame wavpack vorbisgain ]}"
'';

meta = {
meta = with stdenv.lib; {
description = "Extracts audio tracks from an audio CD image to separate tracks.";
homepage = https://flacon.github.io/;
license = stdenv.lib.licenses.lgpl21;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.nico202 ];
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = with maintainers; [ ndowens nico202 ];
};
}

0 comments on commit 4ae0e8c

Please sign in to comment.