Merge pull request #195833 from zendo/tagger

tagger: init at 2022.10.3
main
Bobby Rong 2 years ago committed by GitHub
commit 5b04d5b51b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 67
      pkgs/applications/audio/tagger/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

@ -0,0 +1,67 @@
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, jsoncpp
, taglib
, curl
, curlpp
, glib
, gtk4
, libadwaita
, wrapGAppsHook4
, desktop-file-utils
, chromaprint # fpcalc
}:
stdenv.mkDerivation rec {
pname = "tagger";
version = "2022.10.3";
src = fetchFromGitHub {
owner = "nlogozzo";
repo = "NickvisionTagger";
rev = version;
hash = "sha256-dyp2XzTnDs08tTTbCnjWh061UXnH4Q0Gnt0jofgVm2U=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wrapGAppsHook4
desktop-file-utils
];
buildInputs = [
glib
gtk4
libadwaita
jsoncpp
taglib
curl
curlpp
];
# Don't install compiled binary
postPatch = ''
sed -i '/fpcalc/d' meson.build
'';
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : "${lib.makeBinPath [ chromaprint ]}"
)
'';
meta = with lib; {
description = "An easy-to-use music tag (metadata) editor";
homepage = "https://github.com/nlogozzo/NickvisionTagger";
mainProgram = "org.nickvision.tagger";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ zendo ];
};
}

@ -31794,6 +31794,8 @@ with pkgs;
tagainijisho = libsForQt5.callPackage ../applications/office/tagainijisho {};
tagger = callPackage ../applications/audio/tagger {};
tahoe-lafs = callPackage ../tools/networking/p2p/tahoe-lafs {};
tailor = callPackage ../applications/version-management/tailor {};

Loading…
Cancel
Save