nixpkgs/pkgs/applications/audio/easytag/default.nix

42 lines
1.2 KiB
Nix
Raw Normal View History

{ 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
}:
2018-03-03 00:13:26 +00:00
let
pname = "easytag";
version = "2.4.3";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2017-03-05 15:15:21 +00:00
sha256 = "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw";
};
NIX_LDFLAGS = "-lid3tag -lz";
2018-03-03 00:13:26 +00:00
nativeBuildInputs = [ pkgconfig intltool itstool libxml2 wrapGAppsHook ];
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
];
doCheck = false; # fails 1 out of 9 tests
2018-03-03 00:13:26 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
meta = with lib; {
description = "View and edit tags for various audio files";
homepage = "https://wiki.gnome.org/Apps/EasyTAG";
2017-03-05 15:15:21 +00:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ];
2017-03-05 15:15:21 +00:00
platforms = platforms.linux;
};
}