commit
5b04d5b51b
67
pkgs/applications/audio/tagger/default.nix
Normal file
67
pkgs/applications/audio/tagger/default.nix
Normal file
@ -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…
Reference in New Issue
Block a user