-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #23529
- Loading branch information
Showing
1 changed file
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ]; | ||
}; | ||
} |