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