···33, at-spi2-atk
44, atk
55, buildFHSUserEnv
66+, cairo
67, dbus
78, fetchurl
89, fontconfig
···6768 # This libjpeg library interferes with Chromium, so we will be using ours instead.
6869 rm $out/lib/vmware/libjpeg.*
69707171+ # This library causes the program to core-dump occasionally. Use ours instead.
7272+ rm $out/lib/vmware/view/crtbora/libcairo.*
7373+7074 # Force the default GTK theme (Adwaita) because Horizon is prone to
7175 # UI usability issues when using non-default themes, such as Adwaita-dark.
7276 makeWrapper "$out/bin/vmware-view" "$out/bin/vmware-view_wrapper" \
···8488 targetPkgs = pkgs: [
8589 at-spi2-atk
8690 atk
9191+ cairo
8792 dbus
8893 fontconfig
8994 freetype
···11+{ lib, fetchFromGitHub, python3Packages, essentia-extractor }:
22+33+python3Packages.buildPythonApplication rec {
44+ pname = "acousticbrainz-client";
55+ version = "0.1";
66+77+ src = fetchFromGitHub {
88+ owner = "MTG";
99+ repo = "acousticbrainz-client";
1010+ rev = version;
1111+ sha256 = "1g1nxh58939vysfxplrgdz366dlqnic05pkzbqh75m79brg4yrv1";
1212+ };
1313+1414+ propagatedBuildInputs = [ essentia-extractor python3Packages.requests ];
1515+1616+ postPatch = ''
1717+ # The installer needs the streaming_extractor_music binary in the source directoy,
1818+ # so we provide a symlink to it.
1919+ ln -s ${essentia-extractor}/bin/streaming_extractor_music streaming_extractor_music
2020+ '';
2121+2222+ postInstall = ''
2323+ # The installer includes a copy of the streaming_extractor_music binary (not a symlink),
2424+ # which we don't need, because the wrapper adds essentia-extractor/binary to PATH.
2525+ rm $out/bin/streaming_extractor_music
2626+ '';
2727+2828+ # Tests seem to be broken, but the tool works
2929+ doCheck = false;
3030+3131+ pythonImportsCheck = [ "abz" ];
3232+3333+ meta = with lib; {
3434+ description = "A client to upload data to an AcousticBrainz server";
3535+ license = licenses.gpl3Plus;
3636+ homepage = "https://github.com/MTG/acousticbrainz-client";
3737+ # essentia-extractor is only available for those platforms
3838+ platforms = [ "x86_64-linux" "i686-linux" ];
3939+ maintainers = with maintainers; [ eduardosm ];
4040+ };
4141+}
+24
pkgs/tools/audio/isrcsubmit/default.nix
···11+{ lib, stdenv, fetchFromGitHub, python3Packages }:
22+33+python3Packages.buildPythonApplication rec {
44+ pname = "isrcsubmit";
55+ version = "2.1.0";
66+77+ src = fetchFromGitHub {
88+ owner = "JonnyJD";
99+ repo = "musicbrainz-isrcsubmit";
1010+ rev = "v${version}";
1111+ sha256 = "1lqs4jl2xv1zxmf0xsihk9rxzx2awq87g51vd7y3cq1vhj1icxqa";
1212+ };
1313+1414+ propagatedBuildInputs = with python3Packages; [ musicbrainzngs discid ];
1515+1616+ meta = with lib; {
1717+ # drutil is required on Darwin, which does not seem to be available in nixpkgs
1818+ broken = stdenv.isDarwin;
1919+ description = "Script to submit ISRCs from disc to MusicBrainz";
2020+ license = licenses.gpl3Plus;
2121+ homepage = "http://jonnyjd.github.io/musicbrainz-isrcsubmit/";
2222+ maintainers = with maintainers; [ eduardosm ];
2323+ };
2424+}