musly: unstable-2017-04-26 -> 0.1-unstable-2019-09-05

This commit is contained in:
Emily
2024-08-26 22:37:33 +01:00
parent cbb58be8c2
commit c3c5af2c4b
+13 -8
View File
@@ -3,19 +3,24 @@
stdenv,
fetchFromGitHub,
cmake,
ninja,
eigen,
ffmpeg_4,
}:
stdenv.mkDerivation {
pname = "musly";
version = "unstable-2017-04-26";
version = "0.1-unstable-2019-09-05";
src = fetchFromGitHub {
owner = "dominikschnitzer";
repo = "musly";
rev = "f911eacbbe0b39ebe87cb37d0caef09632fa40d6";
sha256 = "1q42wvdwy2pac7bhfraqqj2czw7w2m33ms3ifjl8phm7d87i8825";
rev = "7a0c6a9a2782e6fca84fb86fce5232a8c8a104ed";
hash = "sha256-DOvGGx3pCcvPPsT97sQlINjT1sJy8ZWvxLsFGGZbgzE=";
};
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
eigen
ffmpeg_4
@@ -26,7 +31,7 @@ stdenv.mkDerivation {
install_name_tool -change libmusly_resample.dylib $out/lib/libmusly_resample.dylib $out/lib/libmusly.dylib
'';
meta = with lib; {
meta = {
homepage = "https://www.musly.org";
description = "Fast and high-quality audio music similarity library written in C/C++";
longDescription = ''
@@ -36,9 +41,9 @@ stdenv.mkDerivation {
or try the command line application included in the package and start generating
some automatic music playlists right away.
'';
license = licenses.mpl20;
maintainers = with maintainers; [ ggpeti ];
platforms = with platforms; darwin ++ linux;
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ ggpeti ];
platforms = lib.platforms.unix;
mainProgram = "musly";
};
}