mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-19 03:28:45 +03:00
33cce15e42
there's no documentation for meta.repositories and its not widely used
38 lines
961 B
Nix
38 lines
961 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "taglib";
|
|
version = "1.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "taglib";
|
|
repo = "taglib";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-omErajnYgxbflsbe6pS2KsexZcXisso0WGYnmIud7WA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://taglib.org/";
|
|
description = "A library for reading and editing audio file metadata";
|
|
longDescription = ''
|
|
TagLib is a library for reading and editing the meta-data of several
|
|
popular audio formats. Currently it supports both ID3v1 and ID3v2 for MP3
|
|
files, Ogg Vorbis comments and ID3 tags and Vorbis comments in FLAC, MPC,
|
|
Speex, WavPack, TrueAudio, WAV, AIFF, MP4 and ASF files.
|
|
'';
|
|
license = with licenses; [ lgpl3 mpl11 ];
|
|
maintainers = with maintainers; [ ttuegel ];
|
|
};
|
|
}
|