Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2020-12-25 00:49:34 +00:00 committed by GitHub
commit 8194c0475b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 49 additions and 28 deletions

View file

@ -39,7 +39,7 @@ let
export NEXTCLOUD_CONFIG_DIR="${cfg.home}/config"
$sudo \
${phpPackage}/bin/php \
occ $*
occ "$@"
'';
inherit (config.system) stateVersion;

View file

@ -25,9 +25,9 @@ stdenv.mkDerivation rec {
export version="v${version}"
'';
doInstallCheckPhase = true;
doInstallCheck = true;
installCheckPhase = ''
$out/bin/kak -ui json -E "kill 0"
$out/bin/kak -ui json -e "kill 0"
'';
postInstall = ''

View file

@ -5,13 +5,13 @@ buildGoModule rec {
/* Do not use "dev" as a version. If you do, Tilt will consider itself
running in development environment and try to serve assets from the
source tree, which is not there once build completes. */
version = "0.17.13";
version = "0.18.1";
src = fetchFromGitHub {
owner = "tilt-dev";
repo = pname;
rev = "v${version}";
sha256 = "sha256-x3U5OF8T3z9kHcYe7SwKVEKNiEsi8AEvA1rlOma4y+8=";
sha256 = "1sdb2x06va0j9cxdwz95dklv2csq0s596wjsjqi4sq65y9bxjr7i";
};
vendorSha256 = null;

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "12ffczcrryh74c1xssww35ic6yiy2l2xgdd30lshiq9wnzl2brgy";
};
buildInputs = [ cmake ];
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
homepage = "https://www.zaphoyd.com/websocketpp/";

View file

@ -13,9 +13,14 @@ buildPythonPackage rec {
buildInputs = [ setuptools_scm ];
# does not contain tests
doCheck = false;
pythonImportsCheck = [ "backports.unittest_mock" ];
meta = with stdenv.lib; {
description = "Provides a function install() which makes the mock module";
homepage = "https://github.com/jaraco/backports.unittest_mock";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

@ -18,6 +18,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ black pytest toml ];
# does not contain tests
doCheck = false;
pythonImportsCheck = [ "pytest_black" ];
meta = with lib; {

View file

@ -17,8 +17,13 @@ buildPythonPackage rec {
};
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ pytest mypy filelock ];
# does not contain tests
doCheck = false;
pythonImportsCheck = [ "pytest_mypy" ];
meta = with lib; {
description = "Mypy static type checker plugin for Pytest";
homepage = "https://github.com/dbader/pytest-mypy";

View file

@ -14,6 +14,9 @@ buildPythonPackage rec {
checkInputs = [ pytest ];
doCheck = false;
pythonImportsCheck = [ "setuptools_scm_git_archive" ];
meta = with stdenv.lib; {
description = "setuptools_scm plugin for git archives";
homepage = "https://github.com/Changaco/setuptools_scm_git_archive";

View file

@ -1,43 +1,49 @@
{ stdenv, fetchFromGitHub, python3, libpulseaudio, glib, gtk3, gobject-introspection, wrapGAppsHook }:
{ stdenv, python3Packages, fetchFromGitHub, wrapGAppsHook, gobject-introspection, libpulseaudio, glib, gtk3, pango, xorg }:
python3.pkgs.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "volctl";
version = "0.6.3";
version = "0.8.0";
src = fetchFromGitHub {
owner = "buzz";
repo = pname;
rev = version;
sha256 = "0rppqc5wiqxd83z2mgvhi6gdx7yhy9wnav1dbbi1wvm7lzw6fnil";
rev = "v${version}";
sha256 = "02scfscf4mdrphzrd7cbwbhpig9bhvaws8qk4zc81z8vvf3mcfv2";
};
postPatch = ''
substituteInPlace volctl/lib/xwrappers.py \
--replace 'libXfixes.so' "${xorg.libXfixes}/lib/libXfixes.so" \
--replace 'libXfixes.so.3' "${xorg.libXfixes}/lib/libXfixes.so.3"
'';
preBuild = ''
export LD_LIBRARY_PATH=${libpulseaudio}/lib
'';
nativeBuildInputs = [
gobject-introspection
wrapGAppsHook
];
buildInputs = [
glib
gtk3
libpulseaudio
];
pythonPath = with python3.pkgs; [
propagatedBuildInputs = [ pango gtk3 ] ++ (with python3Packages; [
click
pycairo
pygobject3
];
pyyaml
]);
# with strictDeps importing "gi.repository.Gtk" fails with "gi.RepositoryError: Typelib file for namespace 'Pango', version '1.0' not found"
strictDeps = false;
preBuild = ''
export LD_LIBRARY_PATH=${libpulseaudio}/lib
'';
# no tests included
doCheck = false;
pythonImportsCheck = [ "volctl" ];
preFixup = ''
glib-compile-schemas ${glib.makeSchemaPath "$out" "${pname}-${version}"}
gappsWrapperArgs+=(
--prefix LD_LIBRARY_PATH : "${libpulseaudio}/lib"
)
gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${libpulseaudio}/lib")
'';
meta = with stdenv.lib; {

View file

@ -36,7 +36,7 @@ let
mkUniqueOutPaths = pkgs: uniqueStrings
(map (p: p.outPath) (builtins.filter lib.isDerivation pkgs));
in buildEnv {
in (buildEnv {
name = "texlive-${extraName}-${bin.texliveYear}";
extraPrefix = "/share/texmf";
@ -271,6 +271,6 @@ in buildEnv {
''
+ bin.cleanBrokenLinks
;
}
}).overrideAttrs (_: { allowSubstitutes = true; })
# TODO: make TeX fonts visible by fontconfig: it should be enough to install an appropriate file
# similarly, deal with xe(la)tex font visibility?