2023-08-10 07:59:29 +00:00
|
|
|
{
|
|
|
|
chromaprint
|
2021-04-12 18:23:04 +00:00
|
|
|
, cmake
|
|
|
|
, docbook_xml_dtd_45
|
|
|
|
, docbook_xsl
|
2023-08-10 07:59:29 +00:00
|
|
|
, fetchurl
|
2021-05-03 20:48:10 +00:00
|
|
|
, ffmpeg
|
2021-04-12 18:23:04 +00:00
|
|
|
, flac
|
|
|
|
, id3lib
|
2023-08-10 07:59:29 +00:00
|
|
|
, lib
|
2021-04-12 18:23:04 +00:00
|
|
|
, libogg
|
|
|
|
, libvorbis
|
|
|
|
, libxslt
|
|
|
|
, mp4v2
|
|
|
|
, phonon
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, qtbase
|
|
|
|
, qtmultimedia
|
|
|
|
, qtquickcontrols
|
|
|
|
, qttools
|
|
|
|
, readline
|
2023-08-10 07:59:29 +00:00
|
|
|
, stdenv
|
2021-04-12 18:23:04 +00:00
|
|
|
, taglib
|
2020-04-24 23:36:52 +00:00
|
|
|
, wrapQtAppsHook
|
2021-04-12 18:23:04 +00:00
|
|
|
, zlib
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "kid3";
|
2023-08-10 07:59:29 +00:00
|
|
|
version = "3.9.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-01-02 11:29:13 +00:00
|
|
|
url = "mirror://kde/stable/kid3/${finalAttrs.version}/kid3-${finalAttrs.version}.tar.xz";
|
2023-08-10 07:59:29 +00:00
|
|
|
hash = "sha256-xBCWDpYiXeChxIiMPqHG3CyiRau2kUdDJtzcPtvWpSA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-04-12 18:23:04 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2021-05-03 20:48:10 +00:00
|
|
|
docbook_xml_dtd_45
|
|
|
|
docbook_xsl
|
2021-04-12 18:23:04 +00:00
|
|
|
pkg-config
|
2021-05-03 20:48:10 +00:00
|
|
|
python3
|
2021-04-12 18:23:04 +00:00
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
2023-08-10 07:59:29 +00:00
|
|
|
|
2021-04-12 18:23:04 +00:00
|
|
|
buildInputs = [
|
|
|
|
chromaprint
|
2021-05-03 20:48:10 +00:00
|
|
|
ffmpeg
|
2021-04-12 18:23:04 +00:00
|
|
|
flac
|
|
|
|
id3lib
|
|
|
|
libogg
|
|
|
|
libvorbis
|
|
|
|
libxslt
|
|
|
|
mp4v2
|
|
|
|
phonon
|
|
|
|
qtbase
|
|
|
|
qtmultimedia
|
|
|
|
qtquickcontrols
|
|
|
|
qttools
|
|
|
|
readline
|
|
|
|
taglib
|
|
|
|
zlib
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
cmakeFlags = [ "-DWITH_APPS=Qt;CLI" ];
|
|
|
|
NIX_LDFLAGS = "-lm -lpthread";
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export DOCBOOKDIR="${docbook_xsl}/xml/xsl/docbook/"
|
|
|
|
'';
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
meta = {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A simple and powerful audio tag editor";
|
2023-08-10 07:59:29 +00:00
|
|
|
homepage = "https://kid3.kde.org/";
|
|
|
|
license = lib.licenses.lgpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
longDescription = ''
|
2020-10-16 20:44:37 +00:00
|
|
|
If you want to easily tag multiple MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC,
|
|
|
|
MP2, Opus, Speex, TrueAudio, WavPack, WMA, WAV and AIFF files (e.g. full
|
|
|
|
albums) without typing the same information again and again and have
|
|
|
|
control over both ID3v1 and ID3v2 tags, then Kid3 is the program you are
|
|
|
|
looking for.
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
With Kid3 you can:
|
|
|
|
- Edit ID3v1.1 tags;
|
|
|
|
- Edit all ID3v2.3 and ID3v2.4 frames;
|
|
|
|
- Convert between ID3v1.1, ID3v2.3 and ID3v2.4 tags
|
2020-10-16 20:44:37 +00:00
|
|
|
- Edit tags in MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC, MP2, Opus, Speex,
|
|
|
|
TrueAudio, WavPack, WMA, WAV, AIFF files and tracker modules (MOD, S3M,
|
|
|
|
IT, XM);
|
|
|
|
- Edit tags of multiple files, e.g. the artist, album, year and genre of
|
|
|
|
all files of an album typically have the same values and can be set
|
|
|
|
together;
|
2020-04-24 23:36:52 +00:00
|
|
|
- Generate tags from filenames;
|
|
|
|
- Generate tags from the contents of tag fields;
|
|
|
|
- Generate filenames from tags;
|
|
|
|
- Rename and create directories from tags;
|
|
|
|
- Generate playlist files;
|
|
|
|
- Automatically convert upper and lower case and replace strings;
|
2020-10-16 20:44:37 +00:00
|
|
|
- Import from gnudb.org, TrackType.org, MusicBrainz, Discogs, Amazon and
|
|
|
|
other sources of album data;
|
|
|
|
- Export tags as CSV, HTML, playlists, Kover XML and in other formats;
|
|
|
|
- Edit synchronized lyrics and event timing codes, import and export
|
|
|
|
LRC files.
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
2023-08-10 07:59:29 +00:00
|
|
|
maintainers = [ lib.maintainers.AndersonTorres ];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2023-08-10 07:59:29 +00:00
|
|
|
})
|