Merge pull request #112011 from SuperSandro2000/fix-collection9

This commit is contained in:
Sandro 2021-02-05 22:39:56 +01:00 committed by GitHub
commit d1af1a1cf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 19 additions and 20 deletions

View File

@ -67,6 +67,6 @@ mkDerivation rec {
# 0.5.7 segfaults when opening the main panel with qt 5.7 and fails to compile with qt 5.8 # 0.5.7 segfaults when opening the main panel with qt 5.7 and fails to compile with qt 5.8
# but qt > 5.6 works when only using the native browser # but qt > 5.6 works when only using the native browser
# https://github.com/sieren/QSyncthingTray/issues/223 # https://github.com/sieren/QSyncthingTray/issues/223
broken = (builtins.compareVersions qtbase.version "5.7.0" >= 0 && !preferNative); broken = (builtins.compareVersions qtbase.version "5.7.0" >= 0 && !preferNative) || stdenv.isDarwin;
}; };
} }

View File

@ -120,7 +120,7 @@ let
# with generated bindata yet. # with generated bindata yet.
k3sBuildStage1 = buildGoPackage rec { k3sBuildStage1 = buildGoPackage rec {
name = "k3s-build-1"; name = "k3s-build-1";
version = "${k3sVersion}"; version = k3sVersion;
goPackagePath = "github.com/rancher/k3s"; goPackagePath = "github.com/rancher/k3s";
@ -160,7 +160,7 @@ let
}; };
k3sBin = buildGoPackage rec { k3sBin = buildGoPackage rec {
name = "k3s-bin"; name = "k3s-bin";
version = "${k3sVersion}"; version = k3sVersion;
goPackagePath = "github.com/rancher/k3s"; goPackagePath = "github.com/rancher/k3s";

View File

@ -34,10 +34,8 @@ in python.pkgs.buildPythonPackage {
}; };
postPatch = '' postPatch = ''
# yarl 1.4+ only requires Python 3.6+
substituteInPlace requirements.txt \ substituteInPlace requirements.txt \
--replace "aiohttp==3.6.2" "aiohttp>=3.6.2" \ --replace "aiohttp==3.6.2" "aiohttp>=3.6.2"
--replace "yarl==1.3.0" ""
''; '';
propagatedBuildInputs = with python.pkgs; [ propagatedBuildInputs = with python.pkgs; [

View File

@ -76,6 +76,9 @@ in python3Packages.buildPythonApplication rec {
done done
''; '';
# no tests
doCheck = false;
meta = with lib; { meta = with lib; {
description = "Linux GUI for ProtonVPN, written in Python"; description = "Linux GUI for ProtonVPN, written in Python";
homepage = "https://github.com/ProtonVPN/linux-gui"; homepage = "https://github.com/ProtonVPN/linux-gui";

View File

@ -23,6 +23,6 @@ rustPlatform.buildRustPackage rec {
description = "Native cross platform full feature terminal based sequence editor for git interactive rebase"; description = "Native cross platform full feature terminal based sequence editor for git interactive rebase";
changelog = "https://github.com/MitMaro/git-interactive-rebase-tool/releases/tag/${version}"; changelog = "https://github.com/MitMaro/git-interactive-rebase-tool/releases/tag/${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ masaeedu zowoq ]; maintainers = with maintainers; [ masaeedu SuperSandro2000 zowoq ];
}; };
} }

View File

@ -76,11 +76,6 @@ buildPythonPackage rec {
nbconvert nbconvert
]; ];
postConfigure = ''
substituteInPlace setup.py \
--replace "'numba >=0.37.0,<0.49'" "'numba'"
'';
# dask doesn't do well with large core counts # dask doesn't do well with large core counts
checkPhase = '' checkPhase = ''
pytest -n $NIX_BUILD_CORES datashader -k 'not dask.array' pytest -n $NIX_BUILD_CORES datashader -k 'not dask.array'

View File

@ -26,7 +26,7 @@ buildPythonPackage rec {
J2Cli is a command-line tool for templating in shell-scripts, J2Cli is a command-line tool for templating in shell-scripts,
leveraging the Jinja2 library. leveraging the Jinja2 library.
''; '';
maintainers = with maintainers; [ rushmorem ]; maintainers = with maintainers; [ rushmorem SuperSandro2000 ];
}; };
} }

View File

@ -28,6 +28,9 @@ buildPythonPackage rec {
--replace "/bin/bash" "${bash}/bin/bash" --replace "/bin/bash" "${bash}/bin/bash"
''; '';
# no tests
doCheck = false;
meta = with lib; { meta = with lib; {
description = "JupyterHub Spawner using systemd for resource isolation"; description = "JupyterHub Spawner using systemd for resource isolation";
homepage = "https://github.com/jupyterhub/systemdspawner"; homepage = "https://github.com/jupyterhub/systemdspawner";

View File

@ -49,6 +49,8 @@ buildPythonPackage rec {
responses responses
]; ];
pythonImportsCheck = [ "slack" ];
meta = with lib; { meta = with lib; {
description = "A client for Slack, which supports the Slack Web API and Real Time Messaging (RTM) API"; description = "A client for Slack, which supports the Slack Web API and Real Time Messaging (RTM) API";
homepage = "https://github.com/slackapi/python-slackclient"; homepage = "https://github.com/slackapi/python-slackclient";

View File

@ -2,26 +2,24 @@
buildGoModule rec { buildGoModule rec {
pname = "duf"; pname = "duf";
version = "0.5.0"; version = "0.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "muesli"; owner = "muesli";
repo = "duf"; repo = "duf";
rev = "v${version}"; rev = "v${version}";
sha256 = "0n0nvrqrlr75dmf2j6ja615ighzs35cfixn7z9cwdz3vhj1xhc5f"; sha256 = "sha256-Wm3gfir6blQFLLi+2bT5Y/5tf7qUxEddJQ7tCYfBGgM=";
}; };
dontStrip = true; vendorSha256 = "0icxy6wbqjqawr6i5skwp1z37fq303p8f95crd8lwn6pjjiqzk4i";
vendorSha256 = "1jqilfsirj7bkhzywimzf98w2b4s777phb06nsw6lr3bi6nnwzr1"; buildFlagsArray = [ "-ldflags=" "-s -w -X=main.Version=${version}" ];
buildFlagsArray = [ "-ldflags=" "-X=main.Version=${version}" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/muesli/duf/"; homepage = "https://github.com/muesli/duf/";
description = "Disk Usage/Free Utility"; description = "Disk Usage/Free Utility";
license = licenses.mit; license = licenses.mit;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ petabyteboy penguwin ]; maintainers = with maintainers; [ petabyteboy penguwin SuperSandro2000 ];
}; };
} }