Merge staging-next into staging
This commit is contained in:
commit
8194c0475b
10 changed files with 49 additions and 28 deletions
|
@ -39,7 +39,7 @@ let
|
||||||
export NEXTCLOUD_CONFIG_DIR="${cfg.home}/config"
|
export NEXTCLOUD_CONFIG_DIR="${cfg.home}/config"
|
||||||
$sudo \
|
$sudo \
|
||||||
${phpPackage}/bin/php \
|
${phpPackage}/bin/php \
|
||||||
occ $*
|
occ "$@"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
inherit (config.system) stateVersion;
|
inherit (config.system) stateVersion;
|
||||||
|
|
|
@ -25,9 +25,9 @@ stdenv.mkDerivation rec {
|
||||||
export version="v${version}"
|
export version="v${version}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doInstallCheckPhase = true;
|
doInstallCheck = true;
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
$out/bin/kak -ui json -E "kill 0"
|
$out/bin/kak -ui json -e "kill 0"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
@ -5,13 +5,13 @@ buildGoModule rec {
|
||||||
/* Do not use "dev" as a version. If you do, Tilt will consider itself
|
/* 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
|
running in development environment and try to serve assets from the
|
||||||
source tree, which is not there once build completes. */
|
source tree, which is not there once build completes. */
|
||||||
version = "0.17.13";
|
version = "0.18.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tilt-dev";
|
owner = "tilt-dev";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-x3U5OF8T3z9kHcYe7SwKVEKNiEsi8AEvA1rlOma4y+8=";
|
sha256 = "1sdb2x06va0j9cxdwz95dklv2csq0s596wjsjqi4sq65y9bxjr7i";
|
||||||
};
|
};
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "12ffczcrryh74c1xssww35ic6yiy2l2xgdd30lshiq9wnzl2brgy";
|
sha256 = "12ffczcrryh74c1xssww35ic6yiy2l2xgdd30lshiq9wnzl2brgy";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://www.zaphoyd.com/websocketpp/";
|
homepage = "https://www.zaphoyd.com/websocketpp/";
|
||||||
|
|
|
@ -13,9 +13,14 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
buildInputs = [ setuptools_scm ];
|
buildInputs = [ setuptools_scm ];
|
||||||
|
|
||||||
|
# does not contain tests
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "backports.unittest_mock" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Provides a function install() which makes the mock module";
|
description = "Provides a function install() which makes the mock module";
|
||||||
homepage = "https://github.com/jaraco/backports.unittest_mock";
|
homepage = "https://github.com/jaraco/backports.unittest_mock";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,8 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ black pytest toml ];
|
propagatedBuildInputs = [ black pytest toml ];
|
||||||
|
|
||||||
|
# does not contain tests
|
||||||
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "pytest_black" ];
|
pythonImportsCheck = [ "pytest_black" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -17,8 +17,13 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ pytest mypy filelock ];
|
propagatedBuildInputs = [ pytest mypy filelock ];
|
||||||
|
|
||||||
|
# does not contain tests
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "pytest_mypy" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Mypy static type checker plugin for Pytest";
|
description = "Mypy static type checker plugin for Pytest";
|
||||||
homepage = "https://github.com/dbader/pytest-mypy";
|
homepage = "https://github.com/dbader/pytest-mypy";
|
||||||
|
|
|
@ -14,6 +14,9 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "setuptools_scm_git_archive" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "setuptools_scm plugin for git archives";
|
description = "setuptools_scm plugin for git archives";
|
||||||
homepage = "https://github.com/Changaco/setuptools_scm_git_archive";
|
homepage = "https://github.com/Changaco/setuptools_scm_git_archive";
|
||||||
|
|
|
@ -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";
|
pname = "volctl";
|
||||||
version = "0.6.3";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "buzz";
|
owner = "buzz";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "v${version}";
|
||||||
sha256 = "0rppqc5wiqxd83z2mgvhi6gdx7yhy9wnav1dbbi1wvm7lzw6fnil";
|
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 = [
|
nativeBuildInputs = [
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
propagatedBuildInputs = [ pango gtk3 ] ++ (with python3Packages; [
|
||||||
glib
|
click
|
||||||
gtk3
|
pycairo
|
||||||
libpulseaudio
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonPath = with python3.pkgs; [
|
|
||||||
pygobject3
|
pygobject3
|
||||||
];
|
pyyaml
|
||||||
|
]);
|
||||||
|
|
||||||
|
# with strictDeps importing "gi.repository.Gtk" fails with "gi.RepositoryError: Typelib file for namespace 'Pango', version '1.0' not found"
|
||||||
strictDeps = false;
|
strictDeps = false;
|
||||||
|
|
||||||
preBuild = ''
|
# no tests included
|
||||||
export LD_LIBRARY_PATH=${libpulseaudio}/lib
|
doCheck = false;
|
||||||
'';
|
|
||||||
|
pythonImportsCheck = [ "volctl" ];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
glib-compile-schemas ${glib.makeSchemaPath "$out" "${pname}-${version}"}
|
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; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -36,7 +36,7 @@ let
|
||||||
mkUniqueOutPaths = pkgs: uniqueStrings
|
mkUniqueOutPaths = pkgs: uniqueStrings
|
||||||
(map (p: p.outPath) (builtins.filter lib.isDerivation pkgs));
|
(map (p: p.outPath) (builtins.filter lib.isDerivation pkgs));
|
||||||
|
|
||||||
in buildEnv {
|
in (buildEnv {
|
||||||
name = "texlive-${extraName}-${bin.texliveYear}";
|
name = "texlive-${extraName}-${bin.texliveYear}";
|
||||||
|
|
||||||
extraPrefix = "/share/texmf";
|
extraPrefix = "/share/texmf";
|
||||||
|
@ -271,6 +271,6 @@ in buildEnv {
|
||||||
''
|
''
|
||||||
+ bin.cleanBrokenLinks
|
+ bin.cleanBrokenLinks
|
||||||
;
|
;
|
||||||
}
|
}).overrideAttrs (_: { allowSubstitutes = true; })
|
||||||
# TODO: make TeX fonts visible by fontconfig: it should be enough to install an appropriate file
|
# TODO: make TeX fonts visible by fontconfig: it should be enough to install an appropriate file
|
||||||
# similarly, deal with xe(la)tex font visibility?
|
# similarly, deal with xe(la)tex font visibility?
|
||||||
|
|
Loading…
Reference in a new issue