Merge pull request #113098 from SuperSandro2000/fix-collection12

authored by

Sandro and committed by
GitHub
83c93074 c9150d6e

+58 -39
+4 -4
pkgs/applications/editors/spacevim/default.nix
··· 1 - { ripgrep, git, fzf, makeWrapper, vim_configurable, vimPlugins, fetchFromGitHub, writeTextDir 2 - , lib, stdenv, runCommandNoCC, remarshal, formats, spacevim_config ? import ./init.nix }: 3 - with stdenv; 1 + { ripgrep, git, fzf, makeWrapper, vim_configurable, vimPlugins, fetchFromGitHub 2 + , lib, stdenv, formats, spacevim_config ? import ./init.nix }: 3 + 4 4 let 5 5 format = formats.toml {}; 6 6 vim-customized = vim_configurable.customize { ··· 11 11 vimrcConfig.packages.myVimPackage = with vimPlugins; { start = [ ]; }; 12 12 }; 13 13 spacevimdir = format.generate "init.toml" spacevim_config; 14 - in mkDerivation rec { 14 + in stdenv.mkDerivation rec { 15 15 pname = "spacevim"; 16 16 version = "1.5.0"; 17 17 src = fetchFromGitHub {
+18 -15
pkgs/applications/misc/xygrib/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, wrapQtAppsHook, cmake, bzip2, qtbase, qttools, libnova, proj, libpng, openjpeg } : 1 + { lib, stdenv, fetchFromGitHub, wrapQtAppsHook, cmake, bzip2, qtbase, qttools, libnova, proj, libpng, openjpeg }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.2.6.1"; ··· 13 13 14 14 nativeBuildInputs = [ cmake qttools wrapQtAppsHook ]; 15 15 buildInputs = [ bzip2 qtbase libnova proj openjpeg libpng ]; 16 - cmakeFlags = [ "-DOPENJPEG_INCLUDE_DIR=${openjpeg.dev}/include/openjpeg-2.3" ] 16 + cmakeFlags = [ "-DOPENJPEG_INCLUDE_DIR=${openjpeg.dev}/include/openjpeg-${lib.versions.majorMinor openjpeg.version}" ] 17 17 ++ lib.optionals stdenv.isDarwin [ "-DLIBNOVA_LIBRARY=${libnova}/lib/libnova.dylib" ]; 18 18 19 - postInstall = if stdenv.isDarwin then '' 20 - mkdir -p "$out/Applications" "$out/XyGrib/XyGrib.app/Contents/Resources" 21 - cp "../data/img/xyGrib.icns" "$out/XyGrib/XyGrib.app/Contents/Resources/xyGrib.icns" 22 - mv $out/XyGrib/XyGrib.app $out/Applications 23 - wrapQtApp "$out/Applications/XyGrib.app/Contents/MacOS/XyGrib" 24 - '' else '' 25 - wrapQtApp $out/XyGrib/XyGrib 26 - mkdir -p $out/bin 27 - ln -s $out/XyGrib/XyGrib $out/bin/xygrib 28 - ''; 19 + postInstall = 20 + if stdenv.isDarwin then '' 21 + mkdir -p "$out/Applications" "$out/XyGrib/XyGrib.app/Contents/Resources" 22 + cp "../data/img/xyGrib.icns" "$out/XyGrib/XyGrib.app/Contents/Resources/xyGrib.icns" 23 + mv $out/XyGrib/XyGrib.app $out/Applications 24 + wrapQtApp "$out/Applications/XyGrib.app/Contents/MacOS/XyGrib" 25 + '' else '' 26 + wrapQtApp $out/XyGrib/XyGrib 27 + mkdir -p $out/bin 28 + ln -s $out/XyGrib/XyGrib $out/bin/xygrib 29 + ''; 29 30 30 31 meta = with lib; { 31 32 homepage = "https://opengribs.org"; 32 33 description = "Weather Forecast Visualization"; 33 - longDescription = ''XyGrib is a leading opensource weather visualization package. 34 - It interacts with OpenGribs's Grib server providing a choice 35 - of global and large area atmospheric and wave models.''; 34 + longDescription = '' 35 + XyGrib is a leading opensource weather visualization package. 36 + It interacts with OpenGribs's Grib server providing a choice 37 + of global and large area atmospheric and wave models. 38 + ''; 36 39 license = licenses.gpl3; 37 40 platforms = platforms.all; 38 41 maintainers = with maintainers; [ j03 SuperSandro2000 ];
+2
pkgs/applications/networking/dnscontrol/default.nix
··· 15 15 16 16 subPackages = [ "." ]; 17 17 18 + buildFlagsArray = [ "-ldflags=-s -w" ]; 19 + 18 20 meta = with lib; { 19 21 description = "Synchronize your DNS to multiple providers from a simple DSL"; 20 22 homepage = "https://stackexchange.github.io/dnscontrol/";
+1 -1
pkgs/development/python-modules/codespell/default.nix
··· 17 17 export ASPELL_CONF="dict-dir ${aspellDicts.en}/lib/aspell" 18 18 ''; 19 19 20 - # tries to run not rully installed script 20 + # tries to run not fully installed script 21 21 disabledTests = [ "test_command" ]; 22 22 23 23 pythonImportsCheck = [ "codespell_lib" ];
+3 -2
pkgs/development/python-modules/google-i18n-address/default.nix
··· 1 - { buildPythonPackage, fetchPypi, lib, requests, pytestCheckHook, mock }: 1 + { buildPythonPackage, fetchPypi, pythonAtLeast, lib, requests, pytestCheckHook, mock }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "google-i18n-address"; 5 5 version = "2.4.0"; 6 + disabled = pythonAtLeast "3.9"; 6 7 7 8 src = fetchPypi { 8 9 inherit pname version; ··· 15 16 16 17 meta = with lib; { 17 18 description = "Google's i18n address data packaged for Python"; 18 - homepage = "https://pypi.org/project/google-i18n-address/"; 19 + homepage = "https://github.com/mirumee/google-i18n-address"; 19 20 maintainers = with maintainers; [ SuperSandro2000 ]; 20 21 license = licenses.bsd3; 21 22 };
+3 -3
pkgs/development/python-modules/hstspreload/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "hstspreload"; 9 - version = "2020.12.22"; 9 + version = "2021.2.1"; 10 10 disabled = isPy27; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "sethmlarson"; 14 14 repo = pname; 15 15 rev = version; 16 - sha256 = "1jzcw4clmpbyw67pzskms5rq5b7285iwh42jzc4ly6jz9amggdzc"; 16 + sha256 = "sha256-R6tqGxGd6JymFgQX+deDPOtlKlwUjL7uf+zGdNxUW/s="; 17 17 }; 18 18 19 19 # tests require network connection ··· 25 25 description = "Chromium HSTS Preload list as a Python package and updated daily"; 26 26 homepage = "https://github.com/sethmlarson/hstspreload"; 27 27 license = licenses.bsd3; 28 - maintainers = [ maintainers.costrouc ]; 28 + maintainers = with maintainers; [ costrouc SuperSandro2000 ]; 29 29 }; 30 30 }
+1
pkgs/development/python-modules/imbalanced-learn/default.nix
··· 36 36 "_generator" 37 37 "show_versions" 38 38 "test_make_imbalanced_iris" 39 + "test_rusboost[SAMME.R]" 39 40 ]; 40 41 41 42 meta = with lib; {
+6 -3
pkgs/development/python-modules/intake/default.nix
··· 64 64 PATH=$out/bin:$PATH 65 65 ''; 66 66 67 - # disable tests which touch network 68 - disabledTests = '' 67 + disabledTests = [ 68 + # disable tests which touch network 69 69 "test_discover" 70 70 "test_filtered_compressed_cache" 71 71 "test_get_dir" 72 72 "test_remote_cat" 73 73 "http" 74 - ''; 74 + 75 + # broken test 76 + "test_read_pattern_with" 77 + ]; 75 78 76 79 meta = with lib; { 77 80 description = "Data load and catalog system";
+2
pkgs/development/python-modules/mlxtend/default.nix
··· 45 45 license= licenses.bsd3; 46 46 maintainers = with maintainers; [ evax ]; 47 47 platforms = platforms.unix; 48 + # incompatible with nixpkgs scikitlearn version 49 + broken = true; 48 50 }; 49 51 }
+1 -2
pkgs/development/python-modules/pandas/default.nix
··· 20 20 # Test Inputs 21 21 , glibcLocales 22 22 , hypothesis 23 - , moto 24 23 , pytestCheckHook 25 24 # Darwin inputs 26 25 , runtimeShell ··· 54 53 xlwt 55 54 ]; 56 55 57 - checkInputs = [ pytestCheckHook glibcLocales moto hypothesis ]; 56 + checkInputs = [ pytestCheckHook glibcLocales hypothesis ]; 58 57 59 58 # doesn't work with -Werror,-Wunused-command-line-argument 60 59 # https://github.com/NixOS/nixpkgs/issues/39687
+2
pkgs/development/python-modules/skorch/default.nix
··· 41 41 changelog = "https://github.com/skorch-dev/skorch/blob/master/CHANGES.md"; 42 42 license = licenses.bsd3; 43 43 maintainers = with maintainers; [ bcdarwin ]; 44 + # TypeError: __init__() got an unexpected keyword argument 'iid' 45 + broken = true; 44 46 }; 45 47 }
+2 -1
pkgs/development/python-modules/tiledb/default.nix
··· 81 81 homepage = "https://github.com/TileDB-Inc/TileDB-Py"; 82 82 license = licenses.mit; 83 83 maintainers = with maintainers; [ fridh ]; 84 + # tiledb/core.cc:556:30: error: ‘struct std::array<long unsigned int, 2>’ has no member named ‘second’ 85 + broken = true; 84 86 }; 85 - 86 87 }
+1 -1
pkgs/development/python-modules/torchvision/default.nix
··· 45 45 description = "PyTorch vision library"; 46 46 homepage = "https://pytorch.org/"; 47 47 license = licenses.bsd3; 48 - maintainers = with maintainers; [ ericsagnes SuperSandro2000 ]; 48 + maintainers = with maintainers; [ ericsagnes ]; 49 49 }; 50 50 }
+7 -4
pkgs/development/python-modules/uproot3/default.nix
··· 1 1 { lib, fetchFromGitHub, buildPythonPackage, isPy27 2 2 , awkward0, backports_lzma, cachetools, lz4, pandas 3 - , pytestCheckHook, pytestrunner, pkgconfig, mock 3 + , pytestCheckHook, pkgconfig, mock 4 4 , numpy, requests, uproot3-methods, xxhash, zstandard 5 5 }: 6 6 7 7 buildPythonPackage rec { 8 8 pname = "uproot3"; 9 - version = "3.14.2"; 9 + version = "3.14.4"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "scikit-hep"; 13 13 repo = "uproot3"; 14 14 rev = version; 15 - sha256 = "sha256-6/e+qMgwyFUo8MRRTAaGp9WLPxE2fqMEK4paq26Epzc="; 15 + sha256 = "sha256-hVJpKdYvyoCPyqgZzKYp30SvkYm+HWSNBdd9bYCYACE="; 16 16 }; 17 17 18 - nativeBuildInputs = [ pytestrunner ]; 18 + postPatch = '' 19 + substituteInPlace setup.py \ 20 + --replace '"pytest-runner"' "" 21 + ''; 19 22 20 23 propagatedBuildInputs = [ 21 24 awkward0
-2
pkgs/misc/vim-plugins/overrides.nix
··· 7 7 , ruby 8 8 , which 9 9 , fetchFromGitHub 10 - , fetchgit 11 10 , fetchurl 12 - , fetchzip 13 11 , fetchpatch 14 12 , llvmPackages 15 13 , rustPlatform
+2
pkgs/tools/misc/expect/default.nix
··· 33 33 done 34 34 ''; 35 35 36 + outputs = [ "out" "dev" ]; 37 + 36 38 meta = with lib; { 37 39 description = "A tool for automating interactive applications"; 38 40 homepage = "http://expect.sourceforge.net/";
+1 -1
pkgs/tools/misc/parallel/default.nix
··· 16 16 substituteInPlace src/parallel --subst-var-by coreutils ${coreutils} 17 17 ''; 18 18 19 - outputs = [ "out" "man" ]; 19 + outputs = [ "out" "man" "doc" ]; 20 20 21 21 nativeBuildInputs = [ makeWrapper ]; 22 22 buildInputs = [ perl procps ];
+2
pkgs/tools/text/source-highlight/default.nix
··· 23 23 24 24 enableParallelBuilding = false; 25 25 26 + outputs = [ "out" "doc" "dev" ]; 27 + 26 28 meta = with lib; { 27 29 description = "Source code renderer with syntax highlighting"; 28 30 longDescription = ''