···3, at-spi2-atk
4, atk
5, buildFHSUserEnv
06, dbus
7, fetchurl
8, fontconfig
···67 # This libjpeg library interferes with Chromium, so we will be using ours instead.
68 rm $out/lib/vmware/libjpeg.*
6900070 # Force the default GTK theme (Adwaita) because Horizon is prone to
71 # UI usability issues when using non-default themes, such as Adwaita-dark.
72 makeWrapper "$out/bin/vmware-view" "$out/bin/vmware-view_wrapper" \
···84 targetPkgs = pkgs: [
85 at-spi2-atk
86 atk
087 dbus
88 fontconfig
89 freetype
···3, at-spi2-atk
4, atk
5, buildFHSUserEnv
6+, cairo
7, dbus
8, fetchurl
9, fontconfig
···68 # This libjpeg library interferes with Chromium, so we will be using ours instead.
69 rm $out/lib/vmware/libjpeg.*
7071+ # This library causes the program to core-dump occasionally. Use ours instead.
72+ rm $out/lib/vmware/view/crtbora/libcairo.*
73+74 # Force the default GTK theme (Adwaita) because Horizon is prone to
75 # UI usability issues when using non-default themes, such as Adwaita-dark.
76 makeWrapper "$out/bin/vmware-view" "$out/bin/vmware-view_wrapper" \
···88 targetPkgs = pkgs: [
89 at-spi2-atk
90 atk
91+ cairo
92 dbus
93 fontconfig
94 freetype
···1+{ lib, fetchFromGitHub, python3Packages, essentia-extractor }:
2+3+python3Packages.buildPythonApplication rec {
4+ pname = "acousticbrainz-client";
5+ version = "0.1";
6+7+ src = fetchFromGitHub {
8+ owner = "MTG";
9+ repo = "acousticbrainz-client";
10+ rev = version;
11+ sha256 = "1g1nxh58939vysfxplrgdz366dlqnic05pkzbqh75m79brg4yrv1";
12+ };
13+14+ propagatedBuildInputs = [ essentia-extractor python3Packages.requests ];
15+16+ postPatch = ''
17+ # The installer needs the streaming_extractor_music binary in the source directoy,
18+ # so we provide a symlink to it.
19+ ln -s ${essentia-extractor}/bin/streaming_extractor_music streaming_extractor_music
20+ '';
21+22+ postInstall = ''
23+ # The installer includes a copy of the streaming_extractor_music binary (not a symlink),
24+ # which we don't need, because the wrapper adds essentia-extractor/binary to PATH.
25+ rm $out/bin/streaming_extractor_music
26+ '';
27+28+ # Tests seem to be broken, but the tool works
29+ doCheck = false;
30+31+ pythonImportsCheck = [ "abz" ];
32+33+ meta = with lib; {
34+ description = "A client to upload data to an AcousticBrainz server";
35+ license = licenses.gpl3Plus;
36+ homepage = "https://github.com/MTG/acousticbrainz-client";
37+ # essentia-extractor is only available for those platforms
38+ platforms = [ "x86_64-linux" "i686-linux" ];
39+ maintainers = with maintainers; [ eduardosm ];
40+ };
41+}
+24
pkgs/tools/audio/isrcsubmit/default.nix
···000000000000000000000000
···1+{ lib, stdenv, fetchFromGitHub, python3Packages }:
2+3+python3Packages.buildPythonApplication rec {
4+ pname = "isrcsubmit";
5+ version = "2.1.0";
6+7+ src = fetchFromGitHub {
8+ owner = "JonnyJD";
9+ repo = "musicbrainz-isrcsubmit";
10+ rev = "v${version}";
11+ sha256 = "1lqs4jl2xv1zxmf0xsihk9rxzx2awq87g51vd7y3cq1vhj1icxqa";
12+ };
13+14+ propagatedBuildInputs = with python3Packages; [ musicbrainzngs discid ];
15+16+ meta = with lib; {
17+ # drutil is required on Darwin, which does not seem to be available in nixpkgs
18+ broken = stdenv.isDarwin;
19+ description = "Script to submit ISRCs from disc to MusicBrainz";
20+ license = licenses.gpl3Plus;
21+ homepage = "http://jonnyjd.github.io/musicbrainz-isrcsubmit/";
22+ maintainers = with maintainers; [ eduardosm ];
23+ };
24+}