diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 3002f5b3909a..ca5c2d533de6 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3944,6 +3944,22 @@ github = "lovek323"; name = "Jason O'Conal"; }; + lovesegfault = { + email = "meurerbernardo@gmail.com"; + github = "lovesegfault"; + githubId = 7243783; + name = "Bernardo Meurer"; + keys = [ + { + longkeyid = "rsa2048/0xE421C74191EA186C"; + fingerprint = "5894 12CE 19DF 582A E10A 3320 E421 C741 91EA 186C"; + } + { + longkeyid = "rsa2048/0x4A6D87A0E7475769"; + fingerprint = "56A8 E164 E834 290C 4AC0 EE3E 4A6D 87A0 E747 5769"; + } + ]; + }; lowfatcomputing = { email = "andreas.wagner@lowfatcomputing.org"; github = "lowfatcomputing"; diff --git a/pkgs/tools/audio/essentia-extractor/default.nix b/pkgs/tools/audio/essentia-extractor/default.nix new file mode 100644 index 000000000000..0d2bb17a75d4 --- /dev/null +++ b/pkgs/tools/audio/essentia-extractor/default.nix @@ -0,0 +1,41 @@ +{ stdenv, fetchurl }: +let + arch_table = { + "x86_64-linux" = "linux-x86_64"; + "i686-linux" = "linux-i686"; + }; + + sha_table = { + "x86_64-linux" = + "d9902aadac4f442992877945da2a6fe8d6ea6b0de314ca8ac0c28dc5f253f7d8"; + "i686-linux" = + "46deb0a053b4910c4e68737a7b6556ff5360260c8f86652f91a0130445f5c949"; + }; + + arch = arch_table.${stdenv.system}; + sha = sha_table.${stdenv.system}; +in stdenv.mkDerivation rec { + pname = "essentia-extractor"; + version = "2.1_beta2"; + + src = fetchurl { + url = + "ftp://ftp.acousticbrainz.org/pub/acousticbrainz/essentia-extractor-v${version}-${arch}.tar.gz"; + sha256 = sha; + }; + + unpackPhase = "unpackFile $src ; export sourceRoot=."; + + installPhase = '' + mkdir -p $out/bin + cp streaming_extractor_music $out/bin + ''; + + meta = with stdenv.lib; { + homepage = "https://acousticbrainz.org/download"; + description = "AcousticBrainz audio feature extractor"; + license = licenses.agpl3Plus; + maintainers = with maintainers; [ lovesegfault ]; + platforms = [ "x86_64-linux" "i686-linux" ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 83907abdf145..2f2ddc421c67 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -855,6 +855,8 @@ in enpass = callPackage ../tools/security/enpass { }; + essentia-extractor = callPackage ../tools/audio/essentia-extractor { }; + esh = callPackage ../tools/text/esh { }; ezstream = callPackage ../tools/audio/ezstream { };