mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
ca54d50704
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. This update was made based on information from https://repology.org/metapackage/chromaprint/versions. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 1.4.3 with grep in /nix/store/6x9xsd68jksc7c2y710z4wsrjwgd8wsp-chromaprint-1.4.3 - found 1.4.3 in filename of file in /nix/store/6x9xsd68jksc7c2y710z4wsrjwgd8wsp-chromaprint-1.4.3 - directory tree listing: https://gist.github.com/92fabeb9999c33c02a2f56a437b69c64
26 lines
690 B
Nix
26 lines
690 B
Nix
{ stdenv, fetchurl, cmake, boost, ffmpeg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "chromaprint-${version}";
|
|
version = "1.4.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/acoustid/chromaprint/releases/download/v${version}/${name}.tar.gz";
|
|
sha256 = "10kz8lncal4s2rp2rqpgc6xyjp0jzcrihgkx7chf127vfs5n067a";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ boost ffmpeg ];
|
|
|
|
cmakeFlags = [ "-DBUILD_EXAMPLES=ON" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://acoustid.org/chromaprint;
|
|
description = "AcoustID audio fingerprinting library";
|
|
maintainers = with maintainers; [ ehmry ];
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|