git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #73589 from lovesegfault/essentia-extractor

essentia-extractor: init at 2.1_beta2

commitc86b0320f9b28184e8a7bc3ace5368e6980b92fb authorRyan Mulligan <ryan@ryantm.com> dateSun 17 Nov 2019, 21:08 (7 years ago) parent3377148e7fea06
3 files changed+59
maintainers/maintainer-list.nix+16 pkgs/tools/audio/essentia-extractor/default.nix+41 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+16
@@ -3944,6 +3944,22 @@
39443944 github = "lovek323";
39453945 name = "Jason O'Conal";
39463946 };
3947+ lovesegfault = {
3948+ email = "meurerbernardo@gmail.com";
3949+ github = "lovesegfault";
3950+ githubId = 7243783;
3951+ name = "Bernardo Meurer";
3952+ keys = [
3953+ {
3954+ longkeyid = "rsa2048/0xE421C74191EA186C";
3955+ fingerprint = "5894 12CE 19DF 582A E10A 3320 E421 C741 91EA 186C";
3956+ }
3957+ {
3958+ longkeyid = "rsa2048/0x4A6D87A0E7475769";
3959+ fingerprint = "56A8 E164 E834 290C 4AC0 EE3E 4A6D 87A0 E747 5769";
3960+ }
3961+ ];
3962+ };
39473963 lowfatcomputing = {
39483964 email = "andreas.wagner@lowfatcomputing.org";
39493965 github = "lowfatcomputing";
pkgs/tools/audio/essentia-extractor/default.nixnew file+41
@@ -0,0 +1,41 @@
1+{ stdenv, fetchurl }:
2+let
3+ arch_table = {
4+ "x86_64-linux" = "linux-x86_64";
5+ "i686-linux" = "linux-i686";
6+ };
7+
8+ sha_table = {
9+ "x86_64-linux" =
10+ "d9902aadac4f442992877945da2a6fe8d6ea6b0de314ca8ac0c28dc5f253f7d8";
11+ "i686-linux" =
12+ "46deb0a053b4910c4e68737a7b6556ff5360260c8f86652f91a0130445f5c949";
13+ };
14+
15+ arch = arch_table.${stdenv.system};
16+ sha = sha_table.${stdenv.system};
17+in stdenv.mkDerivation rec {
18+ pname = "essentia-extractor";
19+ version = "2.1_beta2";
20+
21+ src = fetchurl {
22+ url =
23+ "ftp://ftp.acousticbrainz.org/pub/acousticbrainz/essentia-extractor-v${version}-${arch}.tar.gz";
24+ sha256 = sha;
25+ };
26+
27+ unpackPhase = "unpackFile $src ; export sourceRoot=.";
28+
29+ installPhase = ''
30+ mkdir -p $out/bin
31+ cp streaming_extractor_music $out/bin
32+ '';
33+
34+ meta = with stdenv.lib; {
35+ homepage = "https://acousticbrainz.org/download";
36+ description = "AcousticBrainz audio feature extractor";
37+ license = licenses.agpl3Plus;
38+ maintainers = with maintainers; [ lovesegfault ];
39+ platforms = [ "x86_64-linux" "i686-linux" ];
40+ };
41+}
pkgs/top-level/all-packages.nix+2
@@ -855,6 +855,8 @@ in
855855
856856 enpass = callPackage ../tools/security/enpass { };
857857
858+ essentia-extractor = callPackage ../tools/audio/essentia-extractor { };
859+
858860 esh = callPackage ../tools/text/esh { };
859861
860862 ezstream = callPackage ../tools/audio/ezstream { };