Merge staging into closure-size

The most complex problems were from dealing with switches reverted in
the meantime (gcc5, gmp6, ncurses6).
It's likely that darwin is (still) broken nontrivially.
This commit is contained in:
Vladimír Čunát
2015-11-20 14:32:58 +01:00
1278 changed files with 105731 additions and 30012 deletions
+10 -2
View File
@@ -2,6 +2,7 @@
, buildPythonPackage, pythonPackages, python, imagemagick
, enableAcoustid ? true
, enableBadfiles ? true, flac ? null, mp3val ? null
, enableDiscogs ? true
, enableEchonest ? true
, enableFetchart ? true
@@ -15,6 +16,7 @@
}:
assert enableAcoustid -> pythonPackages.pyacoustid != null;
assert enableBadfiles -> flac != null && mp3val != null;
assert enableDiscogs -> pythonPackages.discogs_client != null;
assert enableEchonest -> pythonPackages.pyechonest != null;
assert enableFetchart -> pythonPackages.responses != null;
@@ -28,6 +30,7 @@ with stdenv.lib;
let
optionalPlugins = {
badfiles = enableBadfiles;
chroma = enableAcoustid;
discogs = enableDiscogs;
echonest = enableEchonest;
@@ -60,14 +63,14 @@ let
in buildPythonPackage rec {
name = "beets-${version}";
version = "1.3.14";
version = "1.3.15";
namePrefix = "";
src = fetchFromGitHub {
owner = "sampsyo";
repo = "beets";
rev = "v${version}";
sha256 = "0bha101x1wdrl2hj31fhixm3hp7ahdm2064b9k5gg0ywm651128g";
sha256 = "17mbkilqqkxxa8ra8b4zlsax712jb0nfkvcx9iyq9303rqwv5sx2";
};
propagatedBuildInputs = [
@@ -111,6 +114,11 @@ in buildPythonPackage rec {
sed -i -e '/^BASH_COMPLETION_PATHS *=/,/^])$/ {
/^])$/i u"${completion}"
}' beets/ui/commands.py
'' + optionalString enableBadfiles ''
sed -i -e '/self\.run_command(\[/ {
s,"flac","${flac}/bin/flac",
s,"mp3val","${mp3val}/bin/mp3val",
}' beetsplug/badfiles.py
'';
doCheck = true;
+11 -5
View File
@@ -1,8 +1,14 @@
{ stdenv, fetchurl, alsaLib, faac, libjack2, lame, libopus, libpulseaudio, libsamplerate, libvorbis }:
{ stdenv, buildEnv, fetchurl, alsaLib, faac, libjack2, lame, libogg, libopus, libpulseaudio, libsamplerate, libvorbis }:
with stdenv.lib;
let
oggEnv = buildEnv {
name = "env-darkice-ogg";
paths = [
libopus libvorbis libogg
];
};
stdenv.mkDerivation rec {
in stdenv.mkDerivation rec {
name = "darkice-${version}";
version = "1.2";
@@ -16,10 +22,10 @@ stdenv.mkDerivation rec {
"--with-faac-prefix=${faac}"
"--with-jack-prefix=${libjack2}"
"--with-lame-prefix=${lame}"
"--with-opus-prefix=${libopus}"
"--with-opus-prefix=${oggEnv}"
"--with-pulseaudio-prefix=${libpulseaudio}"
"--with-samplerate-prefix=${libsamplerate}"
"--with-vorbis-prefix=${libvorbis}"
"--with-vorbis-prefix=${oggEnv}"
# "--with-aacplus-prefix=${aacplus}" ### missing: aacplus
# "--with-twolame-prefix=${twolame}" ### missing: twolame
];