blob: c0f6f3fd42b4d80c924b1e0e4f93d1e795ae81de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{ stdenv
, lib
, fetchFromGitHub
, cmake
, cpp-utilities
, zlib
, isocodes
}:
stdenv.mkDerivation rec {
pname = "tagparser";
version = "12.1.0";
src = fetchFromGitHub {
owner = "Martchus";
repo = "tagparser";
rev = "v${version}";
hash = "sha256-83Xxj1CQsghbAsQ/3GKIYCz9lBNEBvLlx1iOKbszn8A=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
cpp-utilities zlib
];
cmakeFlags = [
"-DLANGUAGE_FILE_ISO_639_2=${isocodes}/share/iso-codes/json/iso_639-2.json"
];
meta = with lib; {
homepage = "https://github.com/Martchus/tagparser";
description = "C++ library for reading and writing MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags";
license = licenses.gpl2;
maintainers = [ maintainers.matthiasbeyer ];
};
}
|