Merge staging-next into staging
This commit is contained in:
@@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ libogg libvorbis libao curl speex flac ];
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extra tools for Ogg-Vorbis audio codec";
|
||||
longDescription = ''
|
||||
|
||||
@@ -18,10 +18,17 @@ stdenv.mkDerivation rec {
|
||||
(import ./fix-const-weights-clang-patch.nix fetchpatch)
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace gecode/flatzinc/lexer.yy.cpp \
|
||||
--replace "register " ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
preConfigure = "patchShebangs configure";
|
||||
|
||||
env.CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++14";
|
||||
|
||||
meta = with lib; {
|
||||
license = licenses.mit;
|
||||
homepage = "https://www.gecode.org";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -13,16 +12,6 @@ buildPythonPackage rec {
|
||||
hash = "sha256-sQvFVwaZpDinLitaZOdr2MKO4779FvIJOHpVB/oLgwE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix build with python 3.9
|
||||
# https://github.com/freach/udatetime/pull/33
|
||||
(fetchpatch {
|
||||
name = "freach-udatetime-pull-33.patch";
|
||||
url = "https://github.com/freach/udatetime/compare/75a07891426364f8bf0b44305b00bb1dd90534ae...2cfbc92cb274a80476a45c6c0d387c19e77a9f6e.patch";
|
||||
sha256 = "pPskJnie+9H3qKqf8X37sxB+CH3lpkj7IYl8HfiuV/4=";
|
||||
})
|
||||
];
|
||||
|
||||
# tests not included on pypi
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-DL5DyfARHHbwWBVHSa/VwHzNaAx/v7EDdnw1GLOk+y0=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString stdenv.cc.isClang ''
|
||||
substituteInPlace makefile \
|
||||
--replace "\$(CXX)" "\$(CXX) -std=c++98"
|
||||
'';
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
nativeBuildInputs = [ texliveFull ]; # scheme-full needed for ucs package
|
||||
|
||||
@@ -310,12 +310,21 @@ chktex = stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
|
||||
dvisvgm = stdenv.mkDerivation rec {
|
||||
dvisvgm = stdenv.mkDerivation {
|
||||
pname = "texlive-dvisvgm.bin";
|
||||
inherit version;
|
||||
|
||||
inherit (common) src;
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/mgieseki/dvisvgm/commit/629544928877362d0c6d64f20695f7df3073c5eb.patch";
|
||||
stripLen = 1;
|
||||
extraPrefix = "texk/dvisvgm/dvisvgm-src/";
|
||||
hash = "sha256-CBCbc/woaFeLw7aBG/kSVYc3a5Q56zbAB64kK6mRy4g=";
|
||||
})
|
||||
];
|
||||
|
||||
preConfigure = "cd texk/dvisvgm";
|
||||
|
||||
configureFlags = common.configureFlags
|
||||
|
||||
Reference in New Issue
Block a user