You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. { stdenv, fetchurl
  2. , pkgconfig, cmake, python, ffmpeg, phonon, automoc4
  3. , chromaprint, docbook_xml_dtd_45, docbook_xsl, libxslt
  4. , id3lib, taglib, mp4v2, flac, libogg, libvorbis
  5. , zlib, readline , qtbase, qttools, qtmultimedia, qtquickcontrols
  6. , wrapQtAppsHook
  7. }:
  8. stdenv.mkDerivation rec {
  9. pname = "kid3";
  10. version = "3.8.0";
  11. src = fetchurl {
  12. url = "mirror://sourceforge/project/kid3/kid3/${version}/${pname}-${version}.tar.gz";
  13. sha256 = "1a6ixkkdp1fl3arylx06w73mwf26i0ibyplwwcn2kw5xsfxmbjp6";
  14. };
  15. nativeBuildInputs = [ wrapQtAppsHook ];
  16. buildInputs = with stdenv.lib;
  17. [ pkgconfig cmake python ffmpeg phonon automoc4
  18. chromaprint docbook_xml_dtd_45 docbook_xsl libxslt
  19. id3lib taglib mp4v2 flac libogg libvorbis zlib readline
  20. qtbase qttools qtmultimedia qtquickcontrols ];
  21. cmakeFlags = [ "-DWITH_APPS=Qt;CLI" ];
  22. NIX_LDFLAGS = "-lm -lpthread";
  23. preConfigure = ''
  24. export DOCBOOKDIR="${docbook_xsl}/xml/xsl/docbook/"
  25. '';
  26. enableParallelBuilding = true;
  27. meta = with stdenv.lib; {
  28. description = "A simple and powerful audio tag editor";
  29. longDescription = ''
  30. If you want to easily tag multiple MP3, Ogg/Vorbis, FLAC, MPC,
  31. MP4/AAC, MP2, Opus, Speex, TrueAudio, WavPack, WMA, WAV and AIFF
  32. files (e.g. full albums) without typing the same information
  33. again and again and have control over both ID3v1 and ID3v2 tags,
  34. then Kid3 is the program you are looking for.
  35. With Kid3 you can:
  36. - Edit ID3v1.1 tags;
  37. - Edit all ID3v2.3 and ID3v2.4 frames;
  38. - Convert between ID3v1.1, ID3v2.3 and ID3v2.4 tags
  39. - Edit tags in MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC, MP2, Opus,
  40. Speex, TrueAudio, WavPack, WMA, WAV, AIFF files and tracker
  41. modules (MOD, S3M, IT, XM);
  42. - Edit tags of multiple files, e.g. the artist, album, year and
  43. genre of all files of an album typically have the same values
  44. and can be set together;
  45. - Generate tags from filenames;
  46. - Generate tags from the contents of tag fields;
  47. - Generate filenames from tags;
  48. - Rename and create directories from tags;
  49. - Generate playlist files;
  50. - Automatically convert upper and lower case and replace strings;
  51. - Import from gnudb.org, TrackType.org, MusicBrainz, Discogs,
  52. Amazon and other sources of album data;
  53. - Export tags as CSV, HTML, playlists, Kover XML and in other
  54. formats;
  55. - Edit synchronized lyrics and event timing codes, import and
  56. export LRC files
  57. '';
  58. homepage = http://kid3.sourceforge.net/;
  59. license = licenses.lgpl2Plus;
  60. maintainers = [ maintainers.AndersonTorres ];
  61. platforms = platforms.linux;
  62. };
  63. }