2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkgconfig, intltool, gtk3, glib, libid3tag, id3lib, taglib
|
2018-04-07 14:06:06 +00:00
|
|
|
, libvorbis, libogg, opusfile, flac, itstool, libxml2, gsettings-desktop-schemas
|
2018-03-03 00:13:26 +00:00
|
|
|
, gnome3, wrapGAppsHook
|
2013-07-09 23:25:08 +00:00
|
|
|
}:
|
2012-04-09 09:42:20 +00:00
|
|
|
|
2018-03-03 00:13:26 +00:00
|
|
|
let
|
|
|
|
pname = "easytag";
|
|
|
|
version = "2.4.3";
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2013-07-09 23:25:08 +00:00
|
|
|
|
2012-04-09 09:42:20 +00:00
|
|
|
src = fetchurl {
|
2018-10-05 00:12:11 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2017-03-05 15:15:21 +00:00
|
|
|
sha256 = "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw";
|
2012-04-09 09:42:20 +00:00
|
|
|
};
|
|
|
|
|
2013-07-09 23:25:08 +00:00
|
|
|
NIX_LDFLAGS = "-lid3tag -lz";
|
|
|
|
|
2018-03-03 00:13:26 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool itstool libxml2 wrapGAppsHook ];
|
2013-07-09 23:25:08 +00:00
|
|
|
buildInputs = [
|
2018-04-07 14:06:06 +00:00
|
|
|
gtk3 glib libid3tag id3lib taglib libvorbis libogg opusfile flac
|
2019-02-13 21:47:50 +00:00
|
|
|
gsettings-desktop-schemas gnome3.adwaita-icon-theme
|
2013-07-09 23:25:08 +00:00
|
|
|
];
|
2012-04-09 09:42:20 +00:00
|
|
|
|
2018-04-25 03:20:18 +00:00
|
|
|
doCheck = false; # fails 1 out of 9 tests
|
|
|
|
|
2018-03-03 00:13:26 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2013-07-09 23:25:08 +00:00
|
|
|
description = "View and edit tags for various audio files";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/EasyTAG";
|
2017-03-05 15:15:21 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2019-12-05 07:29:48 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-03-05 15:15:21 +00:00
|
|
|
platforms = platforms.linux;
|
2012-04-09 09:42:20 +00:00
|
|
|
};
|
2013-07-09 23:25:08 +00:00
|
|
|
}
|