lol

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
8d9549f3 f242b07b

+282 -198
+135
pkgs/applications/editors/neovim/tests.nix
··· 1 + { vimUtils, vim_configurable, writeText, neovim, vimPlugins 2 + , lib, fetchFromGitHub, neovimUtils, wrapNeovimUnstable 3 + , neovim-unwrapped 4 + , fetchFromGitLab 5 + , pkgs 6 + }: 7 + let 8 + inherit (vimUtils) buildVimPluginFrom2Nix; 9 + inherit (neovimUtils) makeNeovimConfig; 10 + 11 + packages.myVimPackage.start = with vimPlugins; [ vim-nix ]; 12 + 13 + plugins = with vimPlugins; [ 14 + { 15 + plugin = vim-obsession; 16 + config = '' 17 + map <Leader>$ <Cmd>Obsession<CR> 18 + ''; 19 + } 20 + ]; 21 + 22 + nvimConfNix = makeNeovimConfig { 23 + inherit plugins; 24 + customRC = '' 25 + " just a comment 26 + ''; 27 + }; 28 + 29 + nvimAutoDisableWrap = makeNeovimConfig { }; 30 + 31 + nvimConfDontWrap = makeNeovimConfig { 32 + inherit plugins; 33 + customRC = '' 34 + " just a comment 35 + ''; 36 + }; 37 + 38 + wrapNeovim2 = suffix: config: 39 + wrapNeovimUnstable neovim-unwrapped (config // { 40 + extraName = suffix; 41 + }); 42 + 43 + nmt = fetchFromGitLab { 44 + owner = "rycee"; 45 + repo = "nmt"; 46 + rev = "d2cc8c1042b1c2511f68f40e2790a8c0e29eeb42"; 47 + sha256 = "1ykcvyx82nhdq167kbnpgwkgjib8ii7c92y3427v986n2s5lsskc"; 48 + }; 49 + 50 + runTest = neovim-drv: buildCommand: 51 + pkgs.runCommandLocal "test-${neovim-drv.name}" ({ 52 + nativeBuildInputs = [ ]; 53 + meta.platforms = neovim-drv.meta.platforms; 54 + }) ('' 55 + source ${nmt}/bash-lib/assertions.sh 56 + vimrc="${writeText "init.vim" neovim-drv.initRc}" 57 + vimrcGeneric="$out/patched.vim" 58 + mkdir $out 59 + ${pkgs.perl}/bin/perl -pe "s|\Q$NIX_STORE\E/[a-z0-9]{32}-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" < "$vimrc" > "$vimrcGeneric" 60 + '' + buildCommand); 61 + 62 + in 63 + pkgs.recurseIntoAttrs ( 64 + rec { 65 + vim_empty_config = vimUtils.vimrcFile { beforePlugins = ""; customRC = ""; }; 66 + 67 + ### neovim tests 68 + ################## 69 + nvim_with_plugins = wrapNeovim2 "-with-plugins" nvimConfNix; 70 + 71 + nvim_via_override = neovim.override { 72 + extraName = "-via-override"; 73 + configure = { 74 + packages.foo.start = [ vimPlugins.ale ]; 75 + customRC = '' 76 + :help ale 77 + ''; 78 + }; 79 + }; 80 + 81 + nvim_with_aliases = neovim.override { 82 + extraName = "-with-aliases"; 83 + vimAlias = true; 84 + viAlias = true; 85 + }; 86 + 87 + # nixpkgs should detect that no wrapping is necessary 88 + nvimShouldntWrap = wrapNeovim2 "-should-not-wrap" nvimAutoDisableWrap; 89 + 90 + # this will generate a neovimRc content but we disable wrapping 91 + nvimDontWrap = wrapNeovim2 "-forced-nowrap" (makeNeovimConfig { 92 + wrapRc = false; 93 + customRC = '' 94 + " this shouldn't trigger the creation of an init.vim 95 + ''; 96 + }); 97 + 98 + force-nowrap = runTest nvimDontWrap '' 99 + ! grep "-u" ${nvimDontWrap}/bin/nvim 100 + ''; 101 + 102 + nvim_via_override-test = runTest nvim_via_override '' 103 + assertFileContent \ 104 + "$vimrcGeneric" \ 105 + "${./neovim-override.vim}" 106 + ''; 107 + 108 + 109 + checkAliases = runTest nvim_with_aliases '' 110 + folder=${nvim_with_aliases}/bin 111 + assertFileExists "$folder/vi" 112 + assertFileExists "$folder/vim" 113 + ''; 114 + 115 + # having no RC generated should autodisable init.vim wrapping 116 + nvim_autowrap = runTest nvim_via_override '' 117 + ! grep "-u" ${nvimShouldntWrap}/bin/nvim 118 + ''; 119 + 120 + 121 + # system remote plugin manifest should be generated, deoplete should be usable 122 + # without the user having to do `UpdateRemotePlugins`. To test, launch neovim 123 + # and do `:call deoplete#enable()`. It will print an error if the remote 124 + # plugin is not registered. 125 + test_nvim_with_remote_plugin = neovim.override { 126 + extraName = "-pathogen-remote"; 127 + configure.pathogen.pluginNames = with vimPlugins; [ deoplete-nvim ]; 128 + }; 129 + 130 + # only neovim makes use of `requiredPlugins`, test this here 131 + test_nvim_with_vim_nix_using_pathogen = neovim.override { 132 + extraName = "-pathogen"; 133 + configure.pathogen.pluginNames = [ "vim-nix" ]; 134 + }; 135 + })
+4
pkgs/applications/editors/neovim/wrapper.nix
··· 4 4 , nodejs 5 5 , nodePackages 6 6 , python3Packages 7 + , callPackage 7 8 }: 8 9 with lib; 9 10 ··· 120 121 passthru = { 121 122 unwrapped = neovim; 122 123 initRc = neovimRcContent; 124 + 125 + tests = callPackage ./tests.nix { 126 + }; 123 127 }; 124 128 125 129 meta = neovim.meta // {
+1 -1
pkgs/development/compilers/llvm/update-git.py
··· 64 64 with fileinput.FileInput(default_nix, inplace=True) as f: 65 65 for line in f: 66 66 result = re.sub(r'^ release_version = ".+";', f' release_version = "{release_version}";', line) 67 - result = re.sub(r'^ version = ".+";', f' version = "{version}";', line) 67 + result = re.sub(r'^ version = ".+";', f' version = "{version}";', result) 68 68 result = re.sub(r'^ rev = ".*";', f' rev = "{commit["sha"]}";', result) 69 69 result = re.sub(r'^ sha256 = ".+";', f' sha256 = "{hash}";', result) 70 70 print(result, end='')
+2 -2
pkgs/development/libraries/dbus/default.nix
··· 67 67 libICE 68 68 libSM 69 69 ] ++ lib.optional enableSystemd systemd 70 - ++ lib.optionals (!stdenv.isDarwin) [ audit libapparmor ]; 70 + ++ lib.optionals stdenv.isLinux [ audit libapparmor ]; 71 71 # ToDo: optional selinux? 72 72 73 73 configureFlags = [ ··· 84 84 "--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system" 85 85 "--with-systemduserunitdir=${placeholder "out"}/etc/systemd/user" 86 86 ] ++ lib.optional (!x11Support) "--without-x" 87 - ++ lib.optionals (!stdenv.isDarwin) [ "--enable-apparmor" "--enable-libaudit" ]; 87 + ++ lib.optionals stdenv.isLinux [ "--enable-apparmor" "--enable-libaudit" ]; 88 88 89 89 # Enable X11 autolaunch support in libdbus. This doesn't actually depend on X11 90 90 # (it just execs dbus-launch in dbus.tools), contrary to what the configure script demands.
+15 -3
pkgs/development/libraries/libjpeg-turbo/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, nasm 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , nasm 2 6 , openjdk 3 7 , enableJava ? false # whether to build the java wrapper 8 + , enableJpeg7 ? false # whether to build libjpeg with v7 compatibility 9 + , enableJpeg8 ? false # whether to build libjpeg with v8 compatibility 4 10 , enableStatic ? stdenv.hostPlatform.isStatic 5 11 , enableShared ? !stdenv.hostPlatform.isStatic 6 12 }: 7 13 14 + assert !(enableJpeg7 && enableJpeg8); # pick only one or none, not both 15 + 8 16 stdenv.mkDerivation rec { 9 17 10 18 pname = "libjpeg-turbo"; ··· 20 28 # This is needed by freeimage 21 29 patches = [ ./0001-Compile-transupp.c-as-part-of-the-library.patch ] 22 30 ++ lib.optional (stdenv.hostPlatform.libc or null == "msvcrt") 23 - ./mingw-boolean.patch; 31 + ./mingw-boolean.patch; 24 32 25 33 outputs = [ "bin" "dev" "dev_private" "out" "man" "doc" ]; 26 34 ··· 40 48 "-DENABLE_SHARED=${if enableShared then "1" else "0"}" 41 49 ] ++ lib.optionals enableJava [ 42 50 "-DWITH_JAVA=1" 51 + ] ++ lib.optionals enableJpeg7 [ 52 + "-DWITH_JPEG7=1" 53 + ] ++ lib.optionals enableJpeg8 [ 54 + "-DWITH_JPEG8=1" 43 55 ] ++ lib.optionals stdenv.hostPlatform.isRiscV [ 44 56 # https://github.com/libjpeg-turbo/libjpeg-turbo/issues/428 45 57 # https://github.com/libjpeg-turbo/libjpeg-turbo/commit/88bf1d16786c74f76f2e4f6ec2873d092f577c75 ··· 53 65 homepage = "https://libjpeg-turbo.org/"; 54 66 description = "A faster (using SIMD) libjpeg implementation"; 55 67 license = licenses.ijg; # and some parts under other BSD-style licenses 56 - maintainers = with maintainers; [ vcunat colemickens ]; 68 + maintainers = with maintainers; [ vcunat colemickens kamadorueda ]; 57 69 platforms = platforms.all; 58 70 }; 59 71 }
+6 -5
pkgs/development/libraries/lucene++/default.nix
··· 1 - { lib, stdenv, fetchurl, cmake, boost, gtest }: 1 + { lib, stdenv, fetchFromGitHub, cmake, boost, gtest }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "lucene++"; 5 5 version = "3.0.7"; 6 6 7 - src = fetchurl { 8 - url = "https://github.com/luceneplusplus/LucenePlusPlus/" 9 - + "archive/rel_${version}.tar.gz"; 10 - sha256 = "032yb35b381ifm7wb8cy2m3yndklnxyi5cgprjh48jqy641z46bc"; 7 + src = fetchFromGitHub { 8 + owner = "luceneplusplus"; 9 + repo = "LucenePlusPlus"; 10 + rev = "rel_${version}"; 11 + sha256 = "06b37fly6l27zc6kbm93f6khfsv61w792j8xihfagpcm9cfz2zi1"; 11 12 }; 12 13 13 14 postPatch = ''
+2 -2
pkgs/development/python-modules/ansible/base.nix
··· 22 22 23 23 buildPythonPackage rec { 24 24 pname = "ansible-base"; 25 - version = "2.10.9"; 25 + version = "2.10.10"; 26 26 27 27 src = fetchPypi { 28 28 inherit pname version; 29 - sha256 = "0l91bwbavjnaqsnb4c6f17xl7r0cvglz3rxqfs63aagw10z5sqq4"; 29 + sha256 = "046ynyk9ldw35jbyw6jp0dmms735cd5i1f046f2lis8xv27bci3p"; 30 30 }; 31 31 32 32 # ansible_connection is already wrapped, so don't pass it through
+2 -2
pkgs/development/python-modules/azure-core/default.nix
··· 14 14 }: 15 15 16 16 buildPythonPackage rec { 17 - version = "1.14.0"; 17 + version = "1.15.0"; 18 18 pname = "azure-core"; 19 19 disabled = isPy27; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 23 extension = "zip"; 24 - sha256 = "f32bb64aabe61f496255c16dd6c555a027da628109460bf27311cee0caf78f96"; 24 + sha256 = "197917b98fec661c35392e32abec4f690ac2117371a814e25e57c224ce23cf1f"; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "azure-mgmt-cognitiveservices"; 12 - version = "11.0.0"; 12 + version = "12.0.0"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 16 extension = "zip"; 17 - sha256 = "71414e3cd7445e44fc18f217f2d22df05c36877e1233328b2297d07ddf27e82a"; 17 + sha256 = "73054bd19866577e7e327518afc8f47e1639a11aea29a7466354b81804f4a676"; 18 18 }; 19 19 20 20 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/azure-mgmt-compute/default.nix
··· 6 6 }: 7 7 8 8 buildPythonPackage rec { 9 - version = "20.0.0"; 9 + version = "21.0.0"; 10 10 pname = "azure-mgmt-compute"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 14 extension = "zip"; 15 - sha256 = "7920bea2e11d78fa616992813aea470a8fb50eab2e646e032e138f93d53b70e8"; 15 + sha256 = "9227c3755a70bc377d70e35e1fc6f1fab109dd88974fd2c7129867ccaa10f813"; 16 16 }; 17 17 18 18 propagatedBuildInputs = [
+4 -3
pkgs/development/python-modules/azure-mgmt-containerregistry/default.nix
··· 1 1 { lib, buildPythonPackage, fetchPypi, isPy27 2 2 , azure-common 3 + , azure-mgmt-core 3 4 , msrest 4 5 , msrestazure 5 6 }: 6 7 7 8 buildPythonPackage rec { 8 - version = "2.8.0"; 9 + version = "8.0.0"; 9 10 pname = "azure-mgmt-containerregistry"; 10 11 disabled = isPy27; 11 12 12 13 src = fetchPypi { 13 14 inherit pname version; 14 - sha256 = "193k07a77z7bj61zn2gxvvfqi20cgxksvxp7if71bwsl1l2y2jxj"; 15 + sha256 = "480eb5d1bb910da4e87a5d7047e2f3e426083b14911ac64c48badd0218e9e756"; 15 16 extension = "zip"; 16 17 }; 17 18 18 - propagatedBuildInputs = [ azure-common msrest msrestazure ]; 19 + propagatedBuildInputs = [ azure-common azure-mgmt-core msrest msrestazure ]; 19 20 20 21 # no tests included 21 22 doCheck = false;
+2 -2
pkgs/development/python-modules/azure-mgmt-eventgrid/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "azure-mgmt-eventgrid"; 14 - version = "8.0.0"; 14 + version = "9.0.0"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 18 extension = "zip"; 19 - sha256 = "a8a6e1bb105a14f1d3545ecb07c190370f21a145f8ba51599ed169f1dc8d5dcc"; 19 + sha256 = "aecbb69ecb010126c03668ca7c9a2be8e965568f5b560f0e7b5bc152b157b510"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/azure-mgmt-eventhub/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "azure-mgmt-eventhub"; 14 - version = "8.0.0"; 14 + version = "9.0.0"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 18 extension = "zip"; 19 - sha256 = "ae02b1e3ccbb9ec45849de544dea4d8ef36ea767707207d055ae2b4f756c0d79"; 19 + sha256 = "181f72adf9287741ded8e386c8934a722d08399d781ce1c452f0482aac1f019b"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix
··· 6 6 }: 7 7 8 8 buildPythonPackage rec { 9 - version = "7.0.0"; 9 + version = "8.0.0"; 10 10 pname = "azure-mgmt-hdinsight"; 11 11 disabled = isPy27; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "d0070817ee2be611d45af91eabc5665dd53f024eaa7a55e490ace4f71a55c733"; 15 + sha256 = "2c43f1a62e5b83304392b0ad7cfdaeef2ef2f47cb3fdfa2577b703b6ea126000"; 16 16 extension = "zip"; 17 17 }; 18 18
+4 -2
pkgs/development/python-modules/azure-mgmt-managementgroups/default.nix
··· 4 4 , msrest 5 5 , msrestazure 6 6 , azure-common 7 + , azure-mgmt-core 7 8 , azure-mgmt-nspkg 8 9 , isPy3k 9 10 }: 10 11 11 12 buildPythonPackage rec { 12 13 pname = "azure-mgmt-managementgroups"; 13 - version = "0.2.0"; 14 + version = "1.0.0"; 14 15 15 16 src = fetchPypi { 16 17 inherit pname version; 17 18 extension = "zip"; 18 - sha256 = "3d5237947458dc94b4a392141174b1c1258d26611241ee104e9006d1d798f682"; 19 + sha256 = "bab9bd532a1c34557f5b0ab9950e431e3f00bb96e8a3ce66df0f6ce2ae19cd73"; 19 20 }; 20 21 21 22 propagatedBuildInputs = [ 22 23 msrest 23 24 msrestazure 24 25 azure-common 26 + azure-mgmt-core 25 27 ] ++ lib.optionals (!isPy3k) [ 26 28 azure-mgmt-nspkg 27 29 ];
+4 -2
pkgs/development/python-modules/azure-mgmt-managementpartner/default.nix
··· 3 3 , fetchPypi 4 4 , msrestazure 5 5 , azure-common 6 + , azure-mgmt-core 6 7 , azure-mgmt-nspkg 7 8 }: 8 9 9 10 buildPythonPackage rec { 10 11 pname = "azure-mgmt-managementpartner"; 11 - version = "0.1.1"; 12 + version = "1.0.0"; 12 13 13 14 src = fetchPypi { 14 15 inherit pname version; 15 16 extension = "zip"; 16 - sha256 = "1bvcmx7dkf2adi26z7c2ga63ggpzdfqj8q1gzcic1yn03v6nb8i7"; 17 + sha256 = "1cd591848454a115c216d216a3fb7802c1b5de04b105e2696e4237b0f8768f2f"; 17 18 }; 18 19 19 20 propagatedBuildInputs = [ 20 21 msrestazure 21 22 azure-common 23 + azure-mgmt-core 22 24 azure-mgmt-nspkg 23 25 ]; 24 26
+4 -2
pkgs/development/python-modules/azure-mgmt-media/default.nix
··· 4 4 , msrest 5 5 , msrestazure 6 6 , azure-common 7 + , azure-mgmt-core 7 8 , azure-mgmt-nspkg 8 9 , isPy3k 9 10 }: 10 11 11 12 buildPythonPackage rec { 12 13 pname = "azure-mgmt-media"; 13 - version = "3.1.0"; 14 + version = "7.0.0"; 14 15 15 16 src = fetchPypi { 16 17 inherit pname version; 17 18 extension = "zip"; 18 - sha256 = "c35316d3d63dc99feb97ad7f12a7b411046537f5c6d79ef14f6067bcc379292f"; 19 + sha256 = "b45e82a594ed91cd5aa7a5cd5d01f038b7ac3cf12233e7ba2beaaa3477900e8e"; 19 20 }; 20 21 21 22 propagatedBuildInputs = [ 22 23 msrest 23 24 msrestazure 24 25 azure-common 26 + azure-mgmt-core 25 27 ] ++ lib.optionals (!isPy3k) [ 26 28 azure-mgmt-nspkg 27 29 ];
+2 -2
pkgs/development/python-modules/azure-mgmt-netapp/default.nix
··· 6 6 }: 7 7 8 8 buildPythonPackage rec { 9 - version = "2.0.0"; 9 + version = "3.0.0"; 10 10 pname = "azure-mgmt-netapp"; 11 11 disabled = isPy27; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "ff3b663e36c961e86fc0cdbd6f9fb9fb863d3e7db9035fe713af7299e809ee5e"; 15 + sha256 = "5a293118c5089c4ec81f676b76aa95c60408a3443a46131d22978ffb81fe4605"; 16 16 extension = "zip"; 17 17 }; 18 18
+2 -2
pkgs/development/python-modules/azure-mgmt-rdbms/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "azure-mgmt-rdbms"; 14 - version = "8.0.0"; 14 + version = "8.1.0"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 18 extension = "zip"; 19 - sha256 = "8b018543048fc4fddb4155d9f22246ad0c4be2fb582a29dbb21ec4022724a119"; 19 + sha256 = "b30003a94c306533ebfb741b824dd1cc6c0a1810200926675e6b808bd0459d19"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+4 -2
pkgs/development/python-modules/azure-mgmt-recoveryservicesbackup/default.nix
··· 4 4 , msrest 5 5 , msrestazure 6 6 , azure-common 7 + , azure-mgmt-core 7 8 , azure-mgmt-nspkg 8 9 }: 9 10 10 11 buildPythonPackage rec { 11 12 pname = "azure-mgmt-recoveryservicesbackup"; 12 - version = "0.11.0"; 13 + version = "1.0.0"; 13 14 14 15 src = fetchPypi { 15 16 inherit pname version; 16 17 extension = "zip"; 17 - sha256 = "f2b85d1d7d7db2af106000910ea5f8b95639874176a5de2f7ab37a2caa67af6b"; 18 + sha256 = "fd915aa6a76ef9e0e963615d4c909400c8d5646e26273ae25fa1418ce61e28d2"; 18 19 }; 19 20 20 21 propagatedBuildInputs = [ 21 22 msrest 22 23 msrestazure 23 24 azure-common 25 + azure-mgmt-core 24 26 azure-mgmt-nspkg 25 27 ]; 26 28
+4 -2
pkgs/development/python-modules/azure-mgmt-servicefabric/default.nix
··· 6 6 , msrest 7 7 , msrestazure 8 8 , azure-common 9 + , azure-mgmt-core 9 10 , azure-mgmt-nspkg 10 11 }: 11 12 12 13 buildPythonPackage rec { 13 14 pname = "azure-mgmt-servicefabric"; 14 - version = "0.5.0"; 15 + version = "1.0.0"; 15 16 16 17 src = fetchPypi { 17 18 inherit pname version; 18 19 extension = "zip"; 19 - sha256 = "5771f24516c8d4a27f5569f23f3a606f6f106e4ad502eec7f38aedfcd3eadc74"; 20 + sha256 = "de35e117912832c1a9e93109a8d24cab94f55703a9087b2eb1c5b0655b3b1913"; 20 21 }; 21 22 22 23 propagatedBuildInputs = [ 23 24 msrest 24 25 msrestazure 25 26 azure-common 27 + azure-mgmt-core 26 28 azure-mgmt-nspkg 27 29 ]; 28 30
+2 -2
pkgs/development/python-modules/azure-mgmt-sql/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "azure-mgmt-sql"; 14 - version = "2.0.0"; 14 + version = "2.1.0"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 18 extension = "zip"; 19 - sha256 = "191accd6e5b47f93a10cebb94e2ca5086f0b6f4afd0290b8596206cd4acb0d5c"; 19 + sha256 = "5474387ec3417b0a277de2b42c6d1992256a6a9717ca1ada0e8dad01238b9919"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/azure-mgmt-web/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "azure-mgmt-web"; 14 - version = "2.0.0"; 14 + version = "3.0.0"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 18 extension = "zip"; 19 - sha256 = "0040e1c9c795f7bebe43647ff30b62cb0db7175175df5cbfa1e554a6a277b81e"; 19 + sha256 = "274239993a4705c9e1135842137d77a703f63d14ee5c1a5ee87fe1f8a471a061"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/knack/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "knack"; 18 - version = "0.8.0"; 18 + version = "0.8.2"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "16aa47240add6badd933a0b27576f3c090d7469177dc941e3ece05ca88123199"; 22 + sha256 = "4eaa50a1c5e79d1c5c8e5e1705b661721b0b83a089695e59e229cc26c64963b9"; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/tools/parsing/byacc/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "byacc"; 5 - version = "20200910"; 5 + version = "20210109"; 6 6 7 7 src = fetchurl { 8 8 urls = [ 9 9 "ftp://ftp.invisible-island.net/byacc/${pname}-${version}.tgz" 10 10 "https://invisible-mirror.net/archives/byacc/${pname}-${version}.tgz" 11 11 ]; 12 - sha256 = "0c6gbvlgzi6yflri22w7fa2w3k5m3jk0xb5a43f3vwpa783hcn8a"; 12 + sha256 = "sha256-nn13aFhxQed4RJJhXf78cKjgBBAEO2OQHv7cG1DBm5c="; 13 13 }; 14 14 15 15 configureFlags = [
+4
pkgs/os-specific/bsd/netbsd/default.nix
··· 67 67 HOST_SH = stdenv'.shell; 68 68 69 69 MACHINE_ARCH = { 70 + i486 = "i386"; 71 + i586 = "i386"; 70 72 i686 = "i386"; 71 73 }.${stdenv'.hostPlatform.parsed.cpu.name} 72 74 or stdenv'.hostPlatform.parsed.cpu.name; ··· 74 76 MACHINE = { 75 77 x86_64 = "amd64"; 76 78 aarch64 = "evbarm64"; 79 + i486 = "i386"; 80 + i586 = "i386"; 77 81 i686 = "i386"; 78 82 }.${stdenv'.hostPlatform.parsed.cpu.name} 79 83 or stdenv'.hostPlatform.parsed.cpu.name;
+5 -13
pkgs/os-specific/linux/busybox/default.nix
··· 1 - { stdenv, lib, buildPackages, fetchurl, fetchFromGitLab, fetchpatch 1 + { stdenv, lib, buildPackages, fetchurl, fetchFromGitLab 2 2 , enableStatic ? stdenv.hostPlatform.isStatic 3 3 , enableMinimal ? false 4 4 # Allow forcing musl without switching stdenv itself, e.g. for our bootstrapping: ··· 32 32 CONFIG_FEATURE_WTMP n 33 33 ''; 34 34 35 - # The debian version lacks behind the upstream version and also contains 35 + # The debian version lags behind the upstream version and also contains 36 36 # a debian-specific suffix. We only fetch the debian repository to get the 37 37 # default.script 38 38 debianVersion = "1.30.1-6"; ··· 49 49 50 50 stdenv.mkDerivation rec { 51 51 pname = "busybox"; 52 - # TODO: When bumping to next version, remove the patch 53 - # for CVE-2021-28831 (assuming the patch was included in 54 - # the next upstream release) 55 - version = "1.32.1"; 52 + version = "1.33.1"; 56 53 57 54 # Note to whoever is updating busybox: please verify that: 58 55 # nix-build pkgs/stdenv/linux/make-bootstrap-tools.nix -A test 59 56 # still builds after the update. 60 57 src = fetchurl { 61 58 url = "https://busybox.net/downloads/${pname}-${version}.tar.bz2"; 62 - sha256 = "1vhd59qmrdyrr1q7rvxmyl96z192mxl089hi87yl0hcp6fyw8mwx"; 59 + sha256 = "0a0dcvsh7nxnhxc5y73fky0z30i9p7r30qfidm2akn0n5fywdkhj"; 63 60 }; 64 61 65 62 hardeningDisable = [ "format" "pie" ] ··· 67 64 68 65 patches = [ 69 66 ./busybox-in-store.patch 70 - (fetchpatch { 71 - name = "CVE-2021-28831.patch"; 72 - url = "https://git.busybox.net/busybox/patch/?id=f25d254dfd4243698c31a4f3153d4ac72aa9e9bd"; 73 - sha256 = "0y79flfbk45krwn963nnbqc21a88bsz4k4asqwvcnfk2lkciadxm"; 74 - }) # TODO: Removing when bumping the version 75 67 ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) ./clang-cross.patch; 76 68 77 69 postPatch = "patchShebangs ."; ··· 142 134 meta = with lib; { 143 135 description = "Tiny versions of common UNIX utilities in a single small executable"; 144 136 homepage = "https://busybox.net/"; 145 - license = licenses.gpl2; 137 + license = licenses.gpl2Only; 146 138 maintainers = with maintainers; [ TethysSvensson ]; 147 139 platforms = platforms.linux; 148 140 priority = 10;
+1 -1
pkgs/servers/monitoring/grafana/default.nix
··· 48 48 49 49 meta = with lib; { 50 50 description = "Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB"; 51 - license = licenses.asl20; 51 + license = licenses.agpl3; 52 52 homepage = "https://grafana.com"; 53 53 maintainers = with maintainers; [ offline fpletz willibutz globin ma27 Frostman ]; 54 54 platforms = platforms.linux;
+3 -104
pkgs/test/vim/default.nix
··· 1 - { vimUtils, vim_configurable, writeText, neovim, vimPlugins 2 - , lib, fetchFromGitHub, neovimUtils, wrapNeovimUnstable 3 - , neovim-unwrapped 4 - , fetchFromGitLab 1 + { vimUtils, vim_configurable, writeText, vimPlugins 2 + , lib, fetchFromGitHub 5 3 , pkgs 6 4 }: 7 5 let 8 6 inherit (vimUtils) buildVimPluginFrom2Nix; 9 - inherit (neovimUtils) makeNeovimConfig; 10 7 11 8 packages.myVimPackage.start = with vimPlugins; [ vim-nix ]; 12 - 13 - plugins = with vimPlugins; [ 14 - { 15 - plugin = vim-obsession; 16 - config = '' 17 - map <Leader>$ <Cmd>Obsession<CR> 18 - ''; 19 - } 20 - ]; 21 - 22 - nvimConfNix = makeNeovimConfig { 23 - inherit plugins; 24 - customRC = '' 25 - " just a comment 26 - ''; 27 - }; 28 - 29 - nvimConfDontWrap = makeNeovimConfig { 30 - inherit plugins; 31 - customRC = '' 32 - " just a comment 33 - ''; 34 - }; 35 - 36 - wrapNeovim2 = suffix: config: 37 - wrapNeovimUnstable neovim-unwrapped (config // { 38 - extraName = suffix; 39 - }); 40 - 41 - nmt = fetchFromGitLab { 42 - owner = "rycee"; 43 - repo = "nmt"; 44 - rev = "d2cc8c1042b1c2511f68f40e2790a8c0e29eeb42"; 45 - sha256 = "1ykcvyx82nhdq167kbnpgwkgjib8ii7c92y3427v986n2s5lsskc"; 46 - }; 47 - 48 - runTest = neovim-drv: buildCommand: 49 - pkgs.runCommandLocal "test-${neovim-drv.name}" ({ 50 - nativeBuildInputs = [ ]; 51 - meta.platforms = neovim-drv.meta.platforms; 52 - }) ('' 53 - source ${nmt}/bash-lib/assertions.sh 54 - vimrc="${writeText "init.vim" neovim-drv.initRc}" 55 - vimrcGeneric="$out/patched.vim" 56 - mkdir $out 57 - ${pkgs.perl}/bin/perl -pe "s|\Q$NIX_STORE\E/[a-z0-9]{32}-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" < "$vimrc" > "$vimrcGeneric" 58 - '' + buildCommand); 59 9 60 10 in 61 - pkgs.recurseIntoAttrs ( 62 - rec { 11 + pkgs.recurseIntoAttrs (rec { 63 12 vim_empty_config = vimUtils.vimrcFile { beforePlugins = ""; customRC = ""; }; 64 13 65 - ### neovim tests 66 - ################## 67 - nvim_with_plugins = wrapNeovim2 "-with-plugins" nvimConfNix; 68 - 69 - nvim_via_override = neovim.override { 70 - extraName = "-via-override"; 71 - configure = { 72 - packages.foo.start = [ vimPlugins.ale ]; 73 - customRC = '' 74 - :help ale 75 - ''; 76 - }; 77 - }; 78 - 79 - 80 - # nixpkgs should detect that no wrapping is necessary 81 - nvimShouldntWrap = wrapNeovim2 "-should-not-wrap" nvimConfNix; 82 - 83 - 84 - # this will generate a neovimRc content but we disable wrapping 85 - nvimDontWrap = wrapNeovim2 "-dont-wrap" (makeNeovimConfig { 86 - wrapRc = false; 87 - customRC = '' 88 - " this shouldn't trigger the creation of an init.vim 89 - ''; 90 - }); 91 - 92 - nvim_dontwrap-test = runTest nvimDontWrap '' 93 - ! grep "-u" ${nvimDontWrap}/bin/nvim 94 - ''; 95 - 96 - nvim_via_override-test = runTest nvim_via_override '' 97 - assertFileContent \ 98 - "$vimrcGeneric" \ 99 - "${./neovim-override.vim}" 100 - ''; 101 - 102 14 ### vim tests 103 15 ################## 104 16 vim_with_vim2nix = vim_configurable.customize { ··· 126 38 vimrcConfig.packages.myVimPackage.start = with vimPlugins; [ vim-nix ]; 127 39 }; 128 40 129 - # only neovim makes use of `requiredPlugins`, test this here 130 - test_nvim_with_vim_nix_using_pathogen = neovim.override { 131 - configure.pathogen.pluginNames = [ "vim-nix" ]; 132 - }; 133 - 134 41 # regression test for https://github.com/NixOS/nixpkgs/issues/53112 135 42 # The user may have specified their own plugins which may not be formatted 136 43 # exactly as the generated ones. In particular, they may not have the `pname` ··· 152 59 }; 153 60 }); 154 61 vimrcConfig.vam.pluginDictionaries = [ { names = [ "vim-trailing-whitespace" ]; } ]; 155 - }; 156 - 157 - # system remote plugin manifest should be generated, deoplete should be usable 158 - # without the user having to do `UpdateRemotePlugins`. To test, launch neovim 159 - # and do `:call deoplete#enable()`. It will print an error if the remote 160 - # plugin is not registered. 161 - test_nvim_with_remote_plugin = neovim.override { 162 - configure.pathogen.pluginNames = with vimPlugins; [ deoplete-nvim ]; 163 62 }; 164 63 })
pkgs/test/vim/neovim-override.vim pkgs/applications/editors/neovim/neovim-override.vim
+9 -1
pkgs/tools/admin/acme.sh/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, makeWrapper, curl, openssl, socat, iproute2, unixtools, dnsutils }: 1 + { stdenv, lib, fetchFromGitHub, makeWrapper, curl, openssl, socat, iproute2, 2 + unixtools, dnsutils, coreutils, gnugrep, gnused }: 2 3 stdenv.mkDerivation rec { 3 4 pname = "acme.sh"; 4 5 version = "2.9.0"; ··· 13 14 nativeBuildInputs = [ makeWrapper ]; 14 15 15 16 installPhase = '' 17 + runHook preInstall 18 + 16 19 mkdir -p $out $out/bin $out/libexec 17 20 cp -R $src/* $_ 18 21 makeWrapper $out/libexec/acme.sh $out/bin/acme.sh \ 19 22 --prefix PATH : "${ 20 23 lib.makeBinPath [ 24 + coreutils 25 + gnugrep 26 + gnused 21 27 socat 22 28 openssl 23 29 curl ··· 25 31 (if stdenv.isLinux then iproute2 else unixtools.netstat) 26 32 ] 27 33 }" 34 + 35 + runHook postInstall 28 36 ''; 29 37 30 38 meta = with lib; {
+3 -2
pkgs/tools/admin/azure-cli/default.nix
··· 1 1 { stdenv, lib, python3, fetchFromGitHub, installShellFiles }: 2 2 3 3 let 4 - version = "2.23.0"; 4 + version = "2.24.2"; 5 5 srcName = "azure-cli-${version}-src"; 6 6 7 7 src = fetchFromGitHub { ··· 9 9 owner = "Azure"; 10 10 repo = "azure-cli"; 11 11 rev = "azure-cli-${version}"; 12 - sha256 = "sha256-uIM1U9hub1A1YT6CzwQHmefNBuU4tDapu7VC6EP5kuM="; 12 + sha256 = "sha256-4XmwM0/89hacA8ARs5Zq/ahzeqIc9wS18zT/ale+wQ4="; 13 13 }; 14 14 15 15 # put packages that needs to be overriden in the py package scope ··· 132 132 mock 133 133 paramiko 134 134 pydocumentdb 135 + PyGithub 135 136 pygments 136 137 pyopenssl 137 138 pytz
+33 -18
pkgs/tools/admin/azure-cli/python-packages.nix
··· 153 153 azure-mgmt-recoveryservicesbackup = overrideAzureMgmtPackage super.azure-mgmt-recoveryservicesbackup "0.11.0" "zip" 154 154 "f2b85d1d7d7db2af106000910ea5f8b95639874176a5de2f7ab37a2caa67af6b"; 155 155 156 - azure-mgmt-resource = overrideAzureMgmtPackage super.azure-mgmt-resource "12.1.0" "zip" 157 - "sha256-XPnO6OiwjTbfxz9Q3JkuCPnfTtmdU2cqP14w9ZVIcBE="; 156 + azure-mgmt-resource = overrideAzureMgmtPackage super.azure-mgmt-resource "18.0.0" "zip" 157 + "551036e592f409ef477d30937ea7cc4dda5126576965d9c816fdb8401bbd774c"; 158 158 159 159 azure-mgmt-appconfiguration = overrideAzureMgmtPackage super.azure-mgmt-appconfiguration "1.0.1" "zip" 160 160 "b58bbe82a7429ba589292024896b58d96fe9fa732c578569cac349928dc2ca5f"; ··· 171 171 azure-mgmt-containerinstance = overrideAzureMgmtPackage super.azure-mgmt-containerinstance "1.4.0" "zip" 172 172 "1qw6228bia5pimcijr755npli2l33jyfka1s2bzgl1w4h3prsji7"; 173 173 174 - azure-mgmt-containerservice = overrideAzureMgmtPackage super.azure-mgmt-containerservice "11.1.0" "zip" 175 - "sha256-7d9UlMudNd4hMcaNxJ+slL/tFyaI6BmBR6DlI3Blzq4="; 174 + azure-mgmt-containerservice = overrideAzureMgmtPackage super.azure-mgmt-containerservice "11.2.0" "zip" 175 + "sha256-x2YJt+fX0B+YMn7+yYi4t21K518DQQ3kBHn1nCrDSqo="; 176 176 177 177 azure-mgmt-core = overrideAzureMgmtPackage super.azure-mgmt-core "1.2.0" "zip" 178 178 "8fe3b59446438f27e34f7b24ea692a982034d9e734617ca1320eedeee1939998"; 179 179 180 - azure-mgmt-cosmosdb = overrideAzureMgmtPackage super.azure-mgmt-cosmosdb "6.2.0" "zip" 181 - "116b5bf9433ad89078c743b617c5b1c51f9ce1a1f128fb2e4bbafb5efb2d2c74"; 180 + azure-mgmt-cosmosdb = overrideAzureMgmtPackage super.azure-mgmt-cosmosdb "6.3.0" "zip" 181 + "4135104da5b0f3f0a7249abcd8da55936603e50aaaf2868e5f739a717cf20b3d"; 182 182 183 183 azure-mgmt-databoxedge = overrideAzureMgmtPackage super.azure-mgmt-databoxedge "0.2.0" "zip" 184 184 "sha256-g8BtUpIGOse8Jrws48gQ/o7sgymlgX0XIxl1ThHS3XA="; ··· 192 192 azure-mgmt-imagebuilder = overrideAzureMgmtPackage super.azure-mgmt-imagebuilder "0.4.0" "zip" 193 193 "0cqpjnkpid6a34ifd4vk4fn1h57pa1bg3r756wv082xl2szr34jc"; 194 194 195 - azure-mgmt-iothub = overrideAzureMgmtPackage super.azure-mgmt-iothub "0.12.0" "zip" 196 - "187z0w5by7d9a2zsz3kidmzjw591akpc6dwhps4jyb4skcmyw86s"; 195 + azure-mgmt-iothub = overrideAzureMgmtPackage super.azure-mgmt-iothub "2.0.0" "zip" 196 + "653a765f0beb6af0c9ecbd290b4101e1b5e0f6450405faf28ab8234c15d8b38b"; 197 197 198 198 azure-mgmt-iotcentral = overrideAzureMgmtPackage super.azure-mgmt-iotcentral "4.1.0" "zip" 199 199 "e6d4810f454c0d63a5e816eaa7e54a073a3f70b2256162ff1c234cfe91783ae6"; ··· 213 213 azure-mgmt-loganalytics = overrideAzureMgmtPackage super.azure-mgmt-loganalytics "8.0.0" "zip" 214 214 "3e7a93186594c328a6f34f0e0d9209a05021228baa85aa4c1c4ffdbf8005a45f"; 215 215 216 - azure-mgmt-network = overrideAzureMgmtPackage super.azure-mgmt-network "18.0.0" "zip" 217 - "85fdeb7a1a8d89be9b585396796b218b31b681590d57d82d3ea14cf1f2d20b4a"; 216 + azure-mgmt-network = overrideAzureMgmtPackage super.azure-mgmt-network "19.0.0" "zip" 217 + "5e39a26ae81fa58c13c02029700f8c7b22c3fd832a294c543e3156a91b9459e8"; 218 218 219 219 azure-mgmt-maps = overrideAzureMgmtPackage super.azure-mgmt-maps "0.1.0" "zip" 220 220 "sha256-wSDiELthdo2ineJNKLgvjUKuJOUjlutlabSZcJ4i8AY="; ··· 222 222 azure-mgmt-managedservices = overrideAzureMgmtPackage super.azure-mgmt-managedservices "1.0.0" "zip" 223 223 "sha256-/tg5n8Z3Oq2jfB0ElqRvWUENd8lJTQyllnxTHDN2rRk="; 224 224 225 + azure-mgmt-managementgroups = overrideAzureMgmtPackage super.azure-mgmt-managementgroups "0.1.0" "zip" 226 + "sha256-/2LZgu3aY0o2Fgyx0Vo2epVypay0GeXnrTcejIO9R8c="; 227 + 225 228 azure-mgmt-marketplaceordering = overrideAzureMgmtPackage super.azure-mgmt-marketplaceordering "1.1.0" "zip" 226 229 "68b381f52a4df4435dacad5a97e1c59ac4c981f667dcca8f9d04453417d60ad8"; 227 230 ··· 231 234 azure-mgmt-msi = overrideAzureMgmtPackage super.azure-mgmt-msi "0.2.0" "zip" 232 235 "0rvik03njz940x2hvqg6iiq8k0d88gyygsr86w8s0sa12sdbq8l6"; 233 236 234 - azure-mgmt-privatedns = overrideAzureMgmtPackage super.azure-mgmt-privatedns "0.1.0" "zip" 235 - "sha256-0pz9jOyAbgZnPZOC0/V2b8Zdmp3nW0JHBQlKNKfbjSM="; 237 + azure-mgmt-privatedns = overrideAzureMgmtPackage super.azure-mgmt-privatedns "1.0.0" "zip" 238 + "b60f16e43f7b291582c5f57bae1b083096d8303e9d9958e2c29227a55cc27c45"; 236 239 237 240 azure-mgmt-web = overrideAzureMgmtPackage super.azure-mgmt-web "2.0.0" "zip" 238 241 "0040e1c9c795f7bebe43647ff30b62cb0db7175175df5cbfa1e554a6a277b81e"; ··· 294 297 azure-mgmt-authorization = overrideAzureMgmtPackage super.azure-mgmt-authorization "0.61.0" "zip" 295 298 "0xfvx2dvfj3fbz4ngn860ipi4v6gxqajyjc8x92r8knhmniyxk7m"; 296 299 297 - azure-mgmt-storage = overrideAzureMgmtPackage super.azure-mgmt-storage "17.1.0" "zip" 298 - "01acb8e988c8082174fa952e1638d700146185644fbe4b126e65843e63d44600"; 300 + azure-mgmt-storage = overrideAzureMgmtPackage super.azure-mgmt-storage "18.0.0" "zip" 301 + "d17beb34273797fa89863632ff0e1eb9b6a55198abb8c7f05d84980762e5f71f"; 299 302 300 - azure-mgmt-servicebus = overrideAzureMgmtPackage super.azure-mgmt-servicebus "0.6.0" "zip" 301 - "1c88pj8diijciizw4c6g1g6liz54cp3xmlm4xnmz97hizfw202gj"; 303 + azure-mgmt-servicebus = overrideAzureMgmtPackage super.azure-mgmt-servicebus "6.0.0" "zip" 304 + "f6c64ed97d22d0c03c4ca5fc7594bd0f3d4147659c10110160009b93f541298e"; 302 305 303 306 azure-mgmt-servicefabric = overrideAzureMgmtPackage super.azure-mgmt-servicefabric "0.5.0" "zip" 304 307 "0x6wxb9zrvcayg3yw0nm99p10vvgc0x3zwk9amzs5m682r2z4wap"; ··· 463 466 doCheck = false; 464 467 }); 465 468 469 + PyGithub = super.PyGithub.overridePythonAttrs(oldAttrs: rec { 470 + version = "1.38"; 471 + 472 + src = super.fetchPypi { 473 + inherit (oldAttrs) pname; 474 + inherit version; 475 + sha256 = "sha256-HtCPd17FBnvIRStyveLbuVz05S/yvVDMMsackf+tknI="; 476 + }; 477 + 478 + doCheck = false; 479 + }); 480 + 466 481 knack = super.knack.overridePythonAttrs(oldAttrs: rec { 467 - version = "0.8.1"; 482 + version = "0.8.2"; 468 483 469 484 src = super.fetchPypi { 470 485 inherit (oldAttrs) pname; 471 486 inherit version; 472 - sha256 = "sha256-5h2a5OJxmaLXTCYfgen4L1NTpdHC4a0lYAp9UQkXTuA="; 487 + sha256 = "sha256-TqpQocXnnRxcjl4XBbZhchsLg6CJaV5Z4inMJsZJY7k="; 473 488 }; 474 489 }); 475 490
+3 -3
pkgs/tools/admin/lego/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "lego"; 5 - version = "4.3.1"; 5 + version = "4.4.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "go-acme"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "0mmr7fcqgbmr0b1fc49p6wjn7axxayyj420fxhhdvkd4nv8fxh1q"; 11 + sha256 = "sha256-+5uy6zVfC+utXfwBCEo597CRo4di73ff0eqHyDUxxII="; 12 12 }; 13 13 14 - vendorSha256 = "04d141kjzqcjiwv6sd0sbrgsr7a99dvblm19gwzczljkfgi60q8w"; 14 + vendorSha256 = "sha256-JgGDP5H7zKQ8sk36JtM/FCWXl7oTScHNboQ/mE5AisU="; 15 15 16 16 doCheck = false; 17 17
+5 -3
pkgs/tools/security/aws-iam-authenticator/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "aws-iam-authenticator"; 5 - version = "0.5.2"; 5 + version = "0.5.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "kubernetes-sigs"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "1xfc3a0dik4930va30sbl6687v6i5irv96fwis9lrqh5rjqnblqp"; 11 + sha256 = "0ga3vf5gn7533iqnxn7kchb6xg5wvk92livlqzkhi5qvqhl1sbw0"; 12 12 }; 13 13 14 - vendorSha256 = null; 14 + # Upstream has inconsistent vendoring, see https://github.com/kubernetes-sigs/aws-iam-authenticator/issues/377 15 + deleteVendor = true; 16 + vendorSha256 = "+Z8sENIMWXP29Piwb/W6i7UdNXVq6ZnO7AZbSaUYCME="; 15 17 16 18 buildFlagsArray = [ "-ldflags=-s -w -X main.version=v${version}" ]; 17 19
+3 -3
pkgs/tools/security/gpg-tui/default.nix
··· 9 9 10 10 rustPlatform.buildRustPackage rec { 11 11 pname = "gpg-tui"; 12 - version = "0.3.0"; 12 + version = "0.4.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "orhun"; 16 16 repo = "gpg-tui"; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-5vhFgJZY1yaYFPS2qvrYGX3xyT0PbRKW2jmR4gz12Co="; 18 + sha256 = "sha256-5noaBfOpUck8+FQQDohKfThN3jJ9ogvZ8iMdySlwENE="; 19 19 }; 20 20 21 - cargoSha256 = "sha256-g38L/FgqAsFh/ECZnNkJVCC/44z5VW3WK8mgIEEy7BQ="; 21 + cargoSha256 = "sha256-OMbyoAVKnnLbFSO7gqxjBXmIjJg4K2ioE0ClYu9UyW4="; 22 22 23 23 nativeBuildInputs = [ 24 24 gpgme # for gpgme-config