Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub e86ff5c2 c455b1a6

+330 -157
+28 -1
doc/languages-frameworks/vim.section.md
··· 120 120 121 121 If one of your favourite plugins isn't packaged, you can package it yourself: 122 122 123 - ``` 123 + ```nix 124 124 { config, pkgs, ... }: 125 125 126 126 let ··· 153 153 ]; 154 154 } 155 155 ``` 156 + 157 + ### Specificities for some plugins 158 + #### Tree sitter 159 + 160 + By default `nvim-treesitter` encourages you to download, compile and install 161 + the required tree-sitter grammars at run time with `:TSInstall`. This works 162 + poorly on NixOS. Instead, to install the `nvim-treesitter` plugins with a set 163 + of precompiled grammars, you can use `nvim-treesitter.withPlugins` function: 164 + 165 + ```nix 166 + (pkgs.neovim.override { 167 + configure = { 168 + packages.myPlugins = with pkgs.vimPlugins; { 169 + start = [ 170 + (nvim-treesitter.withPlugins ( 171 + plugins: with plugins; [ 172 + tree-sitter-nix 173 + tree-sitter-python 174 + ] 175 + )) 176 + ]; 177 + }; 178 + }; 179 + }) 180 + ``` 181 + 182 + To enable all grammars packaged in nixpkgs, use `(pkgs.vimPlugins.nvim-treesitter.withPlugins (plugins: pkgs.tree-sitter.allGrammars))`. 156 183 157 184 ## Managing plugins with vim-plug {#managing-plugins-with-vim-plug} 158 185
+63 -11
nixos/modules/services/misc/klipper.nix
··· 2 2 with lib; 3 3 let 4 4 cfg = config.services.klipper; 5 - package = pkgs.klipper; 6 5 format = pkgs.formats.ini { mkKeyValue = generators.mkKeyValueDefault {} ":"; }; 7 6 in 8 7 { ··· 11 10 services.klipper = { 12 11 enable = mkEnableOption "Klipper, the 3D printer firmware"; 13 12 13 + package = mkOption { 14 + type = types.package; 15 + default = pkgs.klipper; 16 + description = "The Klipper package."; 17 + }; 18 + 19 + inputTTY = mkOption { 20 + type = types.path; 21 + default = "/run/klipper/tty"; 22 + description = "Path of the virtual printer symlink to create."; 23 + }; 24 + 25 + apiSocket = mkOption { 26 + type = types.nullOr types.path; 27 + default = null; 28 + example = "/run/klipper/api"; 29 + description = "Path of the API socket to create."; 30 + }; 31 + 14 32 octoprintIntegration = mkOption { 15 33 type = types.bool; 16 34 default = false; 17 35 description = "Allows Octoprint to control Klipper."; 18 36 }; 19 37 38 + user = mkOption { 39 + type = types.nullOr types.str; 40 + default = null; 41 + description = '' 42 + User account under which Klipper runs. 43 + 44 + If null is specified (default), a temporary user will be created by systemd. 45 + ''; 46 + }; 47 + 48 + group = mkOption { 49 + type = types.nullOr types.str; 50 + default = null; 51 + description = '' 52 + Group account under which Klipper runs. 53 + 54 + If null is specified (default), a temporary user will be created by systemd. 55 + ''; 56 + }; 57 + 20 58 settings = mkOption { 21 59 type = format.type; 22 60 default = { }; ··· 30 68 31 69 ##### implementation 32 70 config = mkIf cfg.enable { 33 - assertions = [{ 34 - assertion = cfg.octoprintIntegration -> config.services.octoprint.enable; 35 - message = "Option klipper.octoprintIntegration requires Octoprint to be enabled on this system. Please enable services.octoprint to use it."; 36 - }]; 71 + assertions = [ 72 + { 73 + assertion = cfg.octoprintIntegration -> config.services.octoprint.enable; 74 + message = "Option klipper.octoprintIntegration requires Octoprint to be enabled on this system. Please enable services.octoprint to use it."; 75 + } 76 + { 77 + assertion = cfg.user != null -> cfg.group != null; 78 + message = "Option klipper.group is not set when a user is specified."; 79 + } 80 + ]; 37 81 38 82 environment.etc."klipper.cfg".source = format.generate "klipper.cfg" cfg.settings; 39 83 40 - systemd.services.klipper = { 84 + services.klipper = mkIf cfg.octoprintIntegration { 85 + user = config.services.octoprint.user; 86 + group = config.services.octoprint.group; 87 + }; 88 + 89 + systemd.services.klipper = let 90 + klippyArgs = "--input-tty=${cfg.inputTTY}" 91 + + optionalString (cfg.apiSocket != null) " --api-server=${cfg.apiSocket}"; 92 + in { 41 93 description = "Klipper 3D Printer Firmware"; 42 94 wantedBy = [ "multi-user.target" ]; 43 95 after = [ "network.target" ]; 44 96 45 97 serviceConfig = { 46 - ExecStart = "${package}/lib/klipper/klippy.py --input-tty=/run/klipper/tty /etc/klipper.cfg"; 98 + ExecStart = "${cfg.package}/lib/klipper/klippy.py ${klippyArgs} /etc/klipper.cfg"; 47 99 RuntimeDirectory = "klipper"; 48 100 SupplementaryGroups = [ "dialout" ]; 49 - WorkingDirectory = "${package}/lib"; 50 - } // (if cfg.octoprintIntegration then { 51 - Group = config.services.octoprint.group; 52 - User = config.services.octoprint.user; 101 + WorkingDirectory = "${cfg.package}/lib"; 102 + } // (if cfg.user != null then { 103 + Group = cfg.group; 104 + User = cfg.user; 53 105 } else { 54 106 DynamicUser = true; 55 107 User = "klipper";
+9 -1
nixos/modules/services/ttys/getty.nix
··· 6 6 cfg = config.services.getty; 7 7 8 8 baseArgs = [ 9 - "--login-program" "${pkgs.shadow}/bin/login" 9 + "--login-program" "${cfg.loginProgram}" 10 10 ] ++ optionals (cfg.autologinUser != null) [ 11 11 "--autologin" cfg.autologinUser 12 12 ] ++ optionals (cfg.loginOptions != null) [ ··· 36 36 description = '' 37 37 Username of the account that will be automatically logged in at the console. 38 38 If unspecified, a login prompt is shown as usual. 39 + ''; 40 + }; 41 + 42 + loginProgram = mkOption { 43 + type = types.path; 44 + default = "${pkgs.shadow}/bin/login"; 45 + description = '' 46 + Path to the login binary executed by agetty. 39 47 ''; 40 48 }; 41 49
+2 -2
pkgs/applications/blockchains/dogecoin.nix
··· 7 7 with lib; 8 8 stdenv.mkDerivation rec { 9 9 name = "dogecoin" + (toString (optional (!withGui) "d")) + "-" + version; 10 - version = "1.14.2"; 10 + version = "1.14.3"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "dogecoin"; 14 14 repo = "dogecoin"; 15 15 rev = "v${version}"; 16 - sha256 = "1gw46q63mjzwvb17ck6p1bap2xpdrap08szw2kjhasa3yvd5swyy"; 16 + sha256 = "sha256-kozUnIislQDtgjeesYHKu4sB1j9juqaWvyax+Lb/0pc="; 17 17 }; 18 18 19 19 nativeBuildInputs = [ pkg-config autoreconfHook ];
+3 -3
pkgs/applications/misc/joplin-desktop/default.nix
··· 2 2 3 3 let 4 4 pname = "joplin-desktop"; 5 - version = "1.8.5"; 5 + version = "2.1.9"; 6 6 name = "${pname}-${version}"; 7 7 8 8 inherit (stdenv.hostPlatform) system; ··· 16 16 src = fetchurl { 17 17 url = "https://github.com/laurent22/joplin/releases/download/v${version}/Joplin-${version}.${suffix}"; 18 18 sha256 = { 19 - x86_64-linux = "11csbr72i5kac2bk7wpa877lay2z1n58s0yildkfnjy552ihdxny"; 20 - x86_64-darwin = "1n0ni3ixml99ag83bcn5wg6f0kldjhwkkddd9km37ykr8vxxl952"; 19 + x86_64-linux = "1s7zydi90yzafii42m3aaf3niqlmdy2m494j2b3yrz2j26njj4q9"; 20 + x86_64-darwin = "1pvl08yhcrnrvdybfmkigaidhfrrg42bb6rzv96zyq9w4k0l0lm8"; 21 21 }.${system} or throwSystem; 22 22 }; 23 23
+4 -12
pkgs/applications/science/logic/boolector/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch, lib, python3 1 + { stdenv, fetchFromGitHub, lib, python3 2 2 , cmake, lingeling, btor2tools, gtest, gmp 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "boolector"; 7 - version = "3.2.1"; 7 + version = "3.2.2"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "boolector"; 11 11 repo = "boolector"; 12 - rev = "refs/tags/${version}"; 13 - sha256 = "0jkmaw678njqgkflzj9g374yk1mci8yqvsxkrqzlifn6bwhwb7ci"; 12 + rev = version; 13 + sha256 = "1smcy6yp8wvnw2brgnv5bf40v87k4v4fbdbrhi7987vja632k50z"; 14 14 }; 15 - 16 - # excludes development artifacts from install, will be included in next release 17 - patches = [ 18 - (fetchpatch { 19 - url = "https://github.com/Boolector/boolector/commit/4d240436e34e65096671099766344dd9126145b1.patch"; 20 - sha256 = "1girsbvlhkkl1hldl2gsjynwc3m92jskn798qhx0ydg6whrfgcgw"; 21 - }) 22 - ]; 23 15 24 16 postPatch = '' 25 17 sed s@REPLACEME@file://${gtest.src}@ ${./cmake-gtest.patch} | patch -p1
+2 -2
pkgs/development/python-modules/apache-airflow/default.nix
··· 65 65 }: 66 66 let 67 67 68 - version = "2.1.1rc1"; 68 + version = "2.1.2"; 69 69 70 70 airflow-src = fetchFromGitHub rec { 71 71 owner = "apache"; 72 72 repo = "airflow"; 73 73 rev = version; 74 - sha256 = "1vzzmcfgqni9rkf7ggh8mswnm3ffwaishcz1ysrwx0a96ilhm9q2"; 74 + sha256 = "sha256-Q0l2c1tuxcoE65zgdxnv/j1TIoQzaNoEFCYHvqN+Bzk="; 75 75 }; 76 76 77 77 # airflow bundles a web interface, which is built using webpack by an undocumented shell script in airflow's source tree.
+3 -3
pkgs/development/python-modules/rtoml/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "rtoml"; 12 - version = "0.6.1"; 12 + version = "0.7"; 13 13 disabled = pythonOlder "3.7"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "samuelcolvin"; 17 17 repo = pname; 18 18 rev = "v${version}"; 19 - sha256 = "07bf30if1wmbqjp5n4ib43n6frx8ybyxc9fndxncq7aylkrhd7hy"; 19 + sha256 = "sha256-h4vY63pDkrMHt2X244FssLxHsphsfjNd6gnVFUeZZTY="; 20 20 }; 21 21 22 22 cargoDeps = rustPlatform.fetchCargoTarball { 23 23 inherit src; 24 24 name = "${pname}-${version}"; 25 - sha256 = "1q082sdac5vm4l3b45rfjp4vppp9y9qhagdjqqfdz8gdhm1k8yyy"; 25 + sha256 = "05fwcs6w023ihw3gyihzbnfwjaqy40d6h0z2yas4kqkkvz9x4f8j"; 26 26 }; 27 27 28 28 nativeBuildInputs = with rustPlatform; [
+36
pkgs/development/python-modules/tomli/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , flit-core 5 + , pytestCheckHook 6 + , python-dateutil 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "tomli"; 11 + version = "1.0.4"; 12 + format = "pyproject"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "hukkin"; 16 + repo = pname; 17 + rev = version; 18 + sha256 = "sha256-ld0PsYnxVH3RbLG/NpvLDj9UhAe+QgwCQVXgGgqh8kE="; 19 + }; 20 + 21 + nativeBuildInputs = [ flit-core ]; 22 + 23 + checkInputs = [ 24 + pytestCheckHook 25 + python-dateutil 26 + ]; 27 + 28 + pythonImportsCheck = [ "tomli" ]; 29 + 30 + meta = with lib; { 31 + description = "A Python library for parsing TOML, fully compatible with TOML v1.0.0"; 32 + homepage = "https://github.com/hukkin/tomli"; 33 + license = licenses.mit; 34 + maintainers = with maintainers; [ veehaitch ]; 35 + }; 36 + }
+2 -2
pkgs/development/python-modules/uncertainties/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "uncertainties"; 7 - version = "3.1.5"; 7 + version = "3.1.6"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "00z9xl40czmqk0vmxjvmjvwb41r893l4dad7nj1nh6blw3kw28li"; 11 + sha256 = "0b9y0v73ih142bygi66dxqx17j2x4dfvl7xnhmafj9yjmymbakbw"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [ future ];
+2 -2
pkgs/development/tools/bazelisk/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "bazelisk"; 5 - version = "1.10.0"; 5 + version = "1.10.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "bazelbuild"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-G2cHKhgsv1fj7eKbADER3R2uXp9DnKevboE7vnO5pDE="; 11 + sha256 = "sha256-MpAYJSDAbyh4aGW+hRrny5+bXZ96cNcUhqJkgY8bdD8="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-5qpeAD4VFsR8iJlRiNTncOdq39lq3MU6gSLu3G/BcPU=";
+10 -10
pkgs/games/openrct2/default.nix
··· 5 5 }: 6 6 7 7 let 8 - version = "0.3.3"; 8 + version = "0.3.4"; 9 9 10 10 openrct2-src = fetchFromGitHub { 11 11 owner = "OpenRCT2"; 12 12 repo = "OpenRCT2"; 13 13 rev = "v${version}"; 14 - sha256 = "01nanpbz5ycdhkyd46fjfvj18sw729l4vk7xg12600f9rjngjk76"; 14 + sha256 = "051dm7bw3l8qnppk5b7xvavl29xfadqn8aa18q49qdy5mjy6qgk4"; 15 15 }; 16 16 17 17 objects-src = fetchFromGitHub { ··· 29 29 }; 30 30 in 31 31 stdenv.mkDerivation { 32 - inherit version; 33 32 pname = "openrct2"; 33 + inherit version; 34 34 35 35 src = openrct2-src; 36 36 ··· 58 58 zlib 59 59 ]; 60 60 61 - postUnpack = '' 62 - cp -r ${objects-src} $sourceRoot/data/object 63 - cp -r ${title-sequences-src} $sourceRoot/data/sequence 64 - ''; 65 - 66 61 cmakeFlags = [ 67 62 "-DDOWNLOAD_OBJECTS=OFF" 68 63 "-DDOWNLOAD_TITLE_SEQUENCES=OFF" 69 64 ]; 70 65 66 + postUnpack = '' 67 + cp -r ${objects-src} $sourceRoot/data/object 68 + cp -r ${title-sequences-src} $sourceRoot/data/sequence 69 + ''; 70 + 71 71 preFixup = "ln -s $out/share/openrct2 $out/bin/data"; 72 72 73 73 meta = with lib; { 74 - description = "An open source re-implementation of RollerCoaster Tycoon 2 (original game required)"; 74 + description = "Open source re-implementation of RollerCoaster Tycoon 2 (original game required)"; 75 75 homepage = "https://openrct2.io/"; 76 - license = licenses.gpl3; 76 + license = licenses.gpl3Only; 77 77 platforms = platforms.linux; 78 78 maintainers = with maintainers; [ oxzi ]; 79 79 };
+81 -69
pkgs/misc/vim-plugins/generated.nix
··· 101 101 102 102 aniseed = buildVimPluginFrom2Nix { 103 103 pname = "aniseed"; 104 - version = "2021-05-31"; 104 + version = "2021-07-19"; 105 105 src = fetchFromGitHub { 106 106 owner = "Olical"; 107 107 repo = "aniseed"; 108 - rev = "4ca3d418eebc0da452b7defc18970c83f7de5070"; 109 - sha256 = "0ax3hfwppbkm7haxvsllac6r4zk2ys9rrj7sj4p3ayl1w8v3n8nq"; 108 + rev = "c15c4e49d6ecb7ad7252902bb1b4310ba161617a"; 109 + sha256 = "13pnlx4rqjc51vrq9d8kyjjxb2apw3y6j2xh68ii746klinjpjy5"; 110 110 }; 111 111 meta.homepage = "https://github.com/Olical/aniseed/"; 112 112 }; ··· 425 425 426 426 chadtree = buildVimPluginFrom2Nix { 427 427 pname = "chadtree"; 428 - version = "2021-07-18"; 428 + version = "2021-07-19"; 429 429 src = fetchFromGitHub { 430 430 owner = "ms-jpq"; 431 431 repo = "chadtree"; 432 - rev = "384925e0cfa87a27387357cab144fbf392e21f61"; 433 - sha256 = "01bg8h7276nidrgdgz6asvksi3m0g6jf8aw9bp0d4ng6s0gdfps2"; 432 + rev = "7ae9ada3866e05a25be1899dfb68fa2dc17f5466"; 433 + sha256 = "0plydss60in6zsgjrgrsvxgkz59bmn89ngm015prqp1w8izlwc82"; 434 434 }; 435 435 meta.homepage = "https://github.com/ms-jpq/chadtree/"; 436 436 }; ··· 786 786 787 787 conjure = buildVimPluginFrom2Nix { 788 788 pname = "conjure"; 789 - version = "2021-06-13"; 789 + version = "2021-07-19"; 790 790 src = fetchFromGitHub { 791 791 owner = "Olical"; 792 792 repo = "conjure"; 793 - rev = "b55e4906a10db0f6917058aec6616075c4d06994"; 794 - sha256 = "0agmfahppcaxxn3kwfg9wx9ncdz51qixqh52xw6rddhpda5h7gfm"; 793 + rev = "c651b5af9e30b9d88290ca30b0374b064e1a278d"; 794 + sha256 = "1qycvbkr6axl5vcwwf5m6svag511p97h2xzcbh68arqa1kqx208l"; 795 795 }; 796 796 meta.homepage = "https://github.com/Olical/conjure/"; 797 797 }; ··· 822 822 823 823 Coqtail = buildVimPluginFrom2Nix { 824 824 pname = "Coqtail"; 825 - version = "2021-06-30"; 825 + version = "2021-07-19"; 826 826 src = fetchFromGitHub { 827 827 owner = "whonore"; 828 828 repo = "Coqtail"; 829 - rev = "7df02d1bf18324d81cbc32b98c05f5aa936afc17"; 830 - sha256 = "1vf2386xagiyh23kflcnckw5niy4xygns4pi3apq7kza05ca6861"; 829 + rev = "9c1aa175762884812b9f3c3436ef6e26639b9589"; 830 + sha256 = "1xhbnad098a6h3vf05rkha7qpj4nb4jaxjcnll91wzvf4lngq4p0"; 831 831 }; 832 832 meta.homepage = "https://github.com/whonore/Coqtail/"; 833 833 }; ··· 1316 1316 1317 1317 diffview-nvim = buildVimPluginFrom2Nix { 1318 1318 pname = "diffview-nvim"; 1319 - version = "2021-07-04"; 1319 + version = "2021-07-19"; 1320 1320 src = fetchFromGitHub { 1321 1321 owner = "sindrets"; 1322 1322 repo = "diffview.nvim"; 1323 - rev = "1936824f5986c986befad5995e7bf87ba124d109"; 1324 - sha256 = "16h82yn7g9jq2chdb4wjjvz6akb0r06wjjvqpj9xkp82rx55m4ix"; 1323 + rev = "63d7052686732a910b7355761193fdb55a521cd3"; 1324 + sha256 = "13r743m9x2mbi0qvfgv8vqfjgxnrmvic09ps484m39bxsbdywzvv"; 1325 1325 }; 1326 1326 meta.homepage = "https://github.com/sindrets/diffview.nvim/"; 1327 1327 }; ··· 1388 1388 1389 1389 edge = buildVimPluginFrom2Nix { 1390 1390 pname = "edge"; 1391 - version = "2021-07-12"; 1391 + version = "2021-07-19"; 1392 1392 src = fetchFromGitHub { 1393 1393 owner = "sainnhe"; 1394 1394 repo = "edge"; 1395 - rev = "0aad4037902271c8c85d00d02e77f79ec2141267"; 1396 - sha256 = "0knxkcf8ndj6ggcj8jsfgcmm98pmshl1n05qrixkhgh4ilrisqr4"; 1395 + rev = "8785d0c2737b6354c847a2ac2cd327a16e2087f2"; 1396 + sha256 = "0nhf9vnsba7gm1yxnbj8lqd9d1ihdgpqrlyihlc815ayqzzs3h9b"; 1397 1397 }; 1398 1398 meta.homepage = "https://github.com/sainnhe/edge/"; 1399 1399 }; ··· 1859 1859 1860 1860 gitsigns-nvim = buildVimPluginFrom2Nix { 1861 1861 pname = "gitsigns-nvim"; 1862 - version = "2021-07-16"; 1862 + version = "2021-07-19"; 1863 1863 src = fetchFromGitHub { 1864 1864 owner = "lewis6991"; 1865 1865 repo = "gitsigns.nvim"; 1866 - rev = "f29e8a461e05881c69953b41784a1aeb4b70a422"; 1867 - sha256 = "1nda02nd9v17yv6fawidg8c3haijysb9zc04sjy0v708h2nw8qhj"; 1866 + rev = "66638c929c61f950246f3d292b6157a9596241de"; 1867 + sha256 = "1wqspsx83sy2qmmg0idi7j66swm23hnhxx630j114vh6a70vai00"; 1868 1868 }; 1869 1869 meta.homepage = "https://github.com/lewis6991/gitsigns.nvim/"; 1870 1870 }; ··· 2195 2195 2196 2196 indent-blankline-nvim = buildVimPluginFrom2Nix { 2197 2197 pname = "indent-blankline-nvim"; 2198 - version = "2021-07-03"; 2198 + version = "2021-07-19"; 2199 2199 src = fetchFromGitHub { 2200 2200 owner = "lukas-reineke"; 2201 2201 repo = "indent-blankline.nvim"; 2202 - rev = "17a83ea765831cb0cc64f768b8c3f43479b90bbe"; 2203 - sha256 = "155da638i4ff1wsy5600jgrqicykb27lxq9liag174nga6xazbn6"; 2202 + rev = "0257caac96b28ec9efd80a00c13d31c469357f5b"; 2203 + sha256 = "0r5c99xzsizqpk4h35lp3ip8lqang2vvg01vrv0bad3wqnjqq1d7"; 2204 2204 }; 2205 2205 meta.homepage = "https://github.com/lukas-reineke/indent-blankline.nvim/"; 2206 2206 }; ··· 2676 2676 2677 2677 lsp_signature-nvim = buildVimPluginFrom2Nix { 2678 2678 pname = "lsp_signature-nvim"; 2679 - version = "2021-07-17"; 2679 + version = "2021-07-19"; 2680 2680 src = fetchFromGitHub { 2681 2681 owner = "ray-x"; 2682 2682 repo = "lsp_signature.nvim"; 2683 - rev = "29e685953d362c723c55417eea2b795b5bcc2ef5"; 2684 - sha256 = "183511fy34sazpkaxcpr250id4zyxhs5mqws49b516sh0d875fjj"; 2683 + rev = "78af1399d0e7a85152d4f75b9ce0c20286735d6e"; 2684 + sha256 = "156wdb57vabz0syx84zlnn5v6wy7g02flq4r5caz9xwccdszwz33"; 2685 2685 }; 2686 2686 meta.homepage = "https://github.com/ray-x/lsp_signature.nvim/"; 2687 2687 }; ··· 3492 3492 3493 3493 nvim-autopairs = buildVimPluginFrom2Nix { 3494 3494 pname = "nvim-autopairs"; 3495 - version = "2021-07-14"; 3495 + version = "2021-07-19"; 3496 3496 src = fetchFromGitHub { 3497 3497 owner = "windwp"; 3498 3498 repo = "nvim-autopairs"; 3499 - rev = "e599e15f9400e6b587e3160d2dff83764cb4ab7d"; 3500 - sha256 = "08mn2z6q94x8fwic9r0vhzw0y93sm9ww6z458bd9hsxibfjsklgc"; 3499 + rev = "b0bbe8d9089cbb045fd15d217ac5a5ec0f4f5066"; 3500 + sha256 = "173nkjfkqklg8zk4vs69c0avrw0v6hngj0szxj7xs3yh2wfnhqnh"; 3501 3501 }; 3502 3502 meta.homepage = "https://github.com/windwp/nvim-autopairs/"; 3503 3503 }; ··· 3708 3708 3709 3709 nvim-lspconfig = buildVimPluginFrom2Nix { 3710 3710 pname = "nvim-lspconfig"; 3711 - version = "2021-07-17"; 3711 + version = "2021-07-18"; 3712 3712 src = fetchFromGitHub { 3713 3713 owner = "neovim"; 3714 3714 repo = "nvim-lspconfig"; 3715 - rev = "1729b502fa00df2fdcbfa118b404b8b8a8a2d6a3"; 3716 - sha256 = "1r4ajaxvf9kpfq42b81c08ixfqakiq8fibn89qar7sd4a7634dsg"; 3715 + rev = "38e0003d0c40d506e9e46ff55978b78220a76b71"; 3716 + sha256 = "0r3zicx8gkj5jd0kxs1i5inxpi9jmg3nwb0km4xcj55fb3x2vbky"; 3717 3717 }; 3718 3718 meta.homepage = "https://github.com/neovim/nvim-lspconfig/"; 3719 3719 }; ··· 3804 3804 3805 3805 nvim-treesitter = buildVimPluginFrom2Nix { 3806 3806 pname = "nvim-treesitter"; 3807 - version = "2021-07-18"; 3807 + version = "2021-07-19"; 3808 3808 src = fetchFromGitHub { 3809 3809 owner = "nvim-treesitter"; 3810 3810 repo = "nvim-treesitter"; 3811 - rev = "9144ea1107ed5aaf250bffafc1f0f32fb97cce47"; 3812 - sha256 = "05apxyy0xg6llskigirglb4a73ay8cdaw2rckl2g3d6j8ry9dkc4"; 3811 + rev = "17cf76de8a16c1e459fbe916491f258371837a8d"; 3812 + sha256 = "1fzm655q6xw3qqpvzx36wj5v9js1jiwb8295cccdc65irg8r6zfw"; 3813 3813 }; 3814 3814 meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter/"; 3815 3815 }; ··· 3864 3864 3865 3865 nvim-ts-rainbow = buildVimPluginFrom2Nix { 3866 3866 pname = "nvim-ts-rainbow"; 3867 - version = "2021-07-16"; 3867 + version = "2021-07-19"; 3868 3868 src = fetchFromGitHub { 3869 3869 owner = "p00f"; 3870 3870 repo = "nvim-ts-rainbow"; 3871 - rev = "4887eb7526004e069bd8898041a714c7eaad72e7"; 3872 - sha256 = "1abdjkiyyzgaw3lskjfb0lcilkp8qqlaqj8kyfmzf4w4mz9ijh4d"; 3871 + rev = "038cda43f4b7e8819c230de2bbe943972ed2f37c"; 3872 + sha256 = "0kdzfi5dm1lm1bzagf60c8dd1a3zz0x4qp28nns6nhiv7kljj3zy"; 3873 3873 }; 3874 3874 meta.homepage = "https://github.com/p00f/nvim-ts-rainbow/"; 3875 3875 }; ··· 4694 4694 4695 4695 sonokai = buildVimPluginFrom2Nix { 4696 4696 pname = "sonokai"; 4697 - version = "2021-07-12"; 4697 + version = "2021-07-19"; 4698 4698 src = fetchFromGitHub { 4699 4699 owner = "sainnhe"; 4700 4700 repo = "sonokai"; 4701 - rev = "ef631befe2bea01c23f4f0d9685025ac15d51ace"; 4702 - sha256 = "1hk1f1mbk37gcqhrwvn352q83qsf5nrgyrgghvkj8m91jgf4m31y"; 4701 + rev = "9d8c57c2b0bf57082093bf1b162ac492206d35dd"; 4702 + sha256 = "0ymgbcy8v7ang4ghlkr52wq86ydr4pma1vwvp78y5yhi4xmn82mn"; 4703 4703 }; 4704 4704 meta.homepage = "https://github.com/sainnhe/sonokai/"; 4705 4705 }; ··· 4827 4827 4828 4828 srcery-vim = buildVimPluginFrom2Nix { 4829 4829 pname = "srcery-vim"; 4830 - version = "2021-06-01"; 4830 + version = "2021-07-19"; 4831 4831 src = fetchFromGitHub { 4832 4832 owner = "srcery-colors"; 4833 4833 repo = "srcery-vim"; 4834 - rev = "93711180123b9ba6958bfc682d305ef0a1056fa5"; 4835 - sha256 = "1i3hhihlvh5mkn1vl9f1baiz712h8lwp1hfi5arsb36picsmgbfd"; 4834 + rev = "b2780ad5078c24519ba1e6ae3a1b3bd2218870cc"; 4835 + sha256 = "1r0v4l9rvb3w42fnj1fmcfvy04gyp0lv3mis7jl716r8kvbaqwpj"; 4836 4836 }; 4837 4837 meta.homepage = "https://github.com/srcery-colors/srcery-vim/"; 4838 4838 }; ··· 4923 4923 4924 4924 syntastic = buildVimPluginFrom2Nix { 4925 4925 pname = "syntastic"; 4926 - version = "2021-07-01"; 4926 + version = "2021-07-19"; 4927 4927 src = fetchFromGitHub { 4928 4928 owner = "vim-syntastic"; 4929 4929 repo = "syntastic"; 4930 - rev = "c89741ef310fd0a380ffb80b80e10f197afd6224"; 4931 - sha256 = "0n691w9mcq0ks7wvj9mpmwhqnkcd11lhzf4fz6pkki8g5i7zhqrh"; 4930 + rev = "7414f30365a342e1d89072d474a35913643b6eec"; 4931 + sha256 = "19c9dv8dc72nnb1dx7wdraihpzf5b42wwq3c9vn0na8k1xy26h8y"; 4932 4932 }; 4933 4933 meta.homepage = "https://github.com/vim-syntastic/syntastic/"; 4934 4934 }; ··· 4958 4958 meta.homepage = "https://github.com/codota/tabnine-vim/"; 4959 4959 }; 4960 4960 4961 + taboo-vim = buildVimPluginFrom2Nix { 4962 + pname = "taboo-vim"; 4963 + version = "2019-08-27"; 4964 + src = fetchFromGitHub { 4965 + owner = "gcmt"; 4966 + repo = "taboo.vim"; 4967 + rev = "caf948187694d3f1374913d36f947b3f9fa1c22f"; 4968 + sha256 = "06pizdnb3gr4pf5hrm3yfzkz99y9bi2vwqm85xknzgdvl1lisj99"; 4969 + }; 4970 + meta.homepage = "https://github.com/gcmt/taboo.vim/"; 4971 + }; 4972 + 4961 4973 tabpagebuffer-vim = buildVimPluginFrom2Nix { 4962 4974 pname = "tabpagebuffer-vim"; 4963 4975 version = "2014-09-30"; ··· 5117 5129 5118 5130 telescope-z-nvim = buildVimPluginFrom2Nix { 5119 5131 pname = "telescope-z-nvim"; 5120 - version = "2021-07-17"; 5132 + version = "2021-07-19"; 5121 5133 src = fetchFromGitHub { 5122 5134 owner = "nvim-telescope"; 5123 5135 repo = "telescope-z.nvim"; 5124 - rev = "27694fa19bc00cc24b436d671951f516a4a966a1"; 5125 - sha256 = "0g12nfmv2hllw0ylsy362mp1gyaf4ldyiza3jg74c66xwi2jj8i9"; 5136 + rev = "f5776dbd0c687af0862b2e4ee83c62c5f4a7271d"; 5137 + sha256 = "08lcszv53d9mqhgdwkdygbnk5w0pyh0q6djxzqhnjb6qphibf3m6"; 5126 5138 }; 5127 5139 meta.homepage = "https://github.com/nvim-telescope/telescope-z.nvim/"; 5128 5140 }; 5129 5141 5130 5142 telescope-nvim = buildVimPluginFrom2Nix { 5131 5143 pname = "telescope-nvim"; 5132 - version = "2021-07-18"; 5144 + version = "2021-07-19"; 5133 5145 src = fetchFromGitHub { 5134 5146 owner = "nvim-telescope"; 5135 5147 repo = "telescope.nvim"; 5136 - rev = "8c3f2b630be0241fe10709e61ee9dab473518f32"; 5137 - sha256 = "1yd1kkdp8baxrhkfsg0j0dpkprxvwi0r4xljjcdln7rpr2r0lm82"; 5148 + rev = "46e03a935f1d080a9bd856d5a8acfcc093cd1461"; 5149 + sha256 = "14ra8p9alnmvzry3iw3ghyk7nx44dh0qm82lvg6wfg5bhw1hpnnj"; 5138 5150 }; 5139 5151 meta.homepage = "https://github.com/nvim-telescope/telescope.nvim/"; 5140 5152 }; ··· 6006 6018 6007 6019 vim-clap = buildVimPluginFrom2Nix { 6008 6020 pname = "vim-clap"; 6009 - version = "2021-07-16"; 6021 + version = "2021-07-19"; 6010 6022 src = fetchFromGitHub { 6011 6023 owner = "liuchengxu"; 6012 6024 repo = "vim-clap"; 6013 - rev = "ee390feaa3bc40de2afa32910ab09de287181146"; 6014 - sha256 = "0q2bnmi6yz7i7lx8i59gzk39fqzjc3y325qjhhyyahwb2xsazzcz"; 6025 + rev = "3aa42d211ebae7471e8f9926aaeef5a1df475f2f"; 6026 + sha256 = "0f1adjn9x5jv541yzgqf67v9613xvkxzgc5bmkgqrfxn2l5j3vjn"; 6015 6027 }; 6016 6028 meta.homepage = "https://github.com/liuchengxu/vim-clap/"; 6017 6029 }; ··· 7351 7363 7352 7364 vim-jinja = buildVimPluginFrom2Nix { 7353 7365 pname = "vim-jinja"; 7354 - version = "2016-11-16"; 7366 + version = "2021-07-19"; 7355 7367 src = fetchFromGitHub { 7356 7368 owner = "lepture"; 7357 7369 repo = "vim-jinja"; 7358 - rev = "8d330a7aaf0763d080dc82204b4aaba6ac0605c6"; 7359 - sha256 = "1n62ga02rcj7jjgzvwr46pckj59dc1zqahjgampjcwdd8vf4mg3q"; 7370 + rev = "2f0eeefe583ea477cb7605f972d57d7d5e55e13f"; 7371 + sha256 = "0r8508h9s2bikmv3wvw4iaq3j8i5n564k7s06aqx9j79i16asn22"; 7360 7372 }; 7361 7373 meta.homepage = "https://github.com/lepture/vim-jinja/"; 7362 7374 }; ··· 7713 7725 7714 7726 vim-matchup = buildVimPluginFrom2Nix { 7715 7727 pname = "vim-matchup"; 7716 - version = "2021-07-05"; 7728 + version = "2021-07-19"; 7717 7729 src = fetchFromGitHub { 7718 7730 owner = "andymass"; 7719 7731 repo = "vim-matchup"; 7720 - rev = "05f4962c64c5dcd720b8cf5f7af777de33f2fa43"; 7721 - sha256 = "10nfiban4ihsix2zf4qp38mcdmlz3zb6n01n5wkgz9yga28y9jxm"; 7732 + rev = "61802ad25f303dc37f575cbed9b902605353db49"; 7733 + sha256 = "15c8y5rfsnmx4dm01advvax8flkibkg60lbs8x0xgyzfcqjzhl14"; 7722 7734 }; 7723 7735 meta.homepage = "https://github.com/andymass/vim-matchup/"; 7724 7736 }; ··· 9490 9502 9491 9503 vim-xtabline = buildVimPluginFrom2Nix { 9492 9504 pname = "vim-xtabline"; 9493 - version = "2021-06-10"; 9505 + version = "2021-07-19"; 9494 9506 src = fetchFromGitHub { 9495 9507 owner = "mg979"; 9496 9508 repo = "vim-xtabline"; 9497 - rev = "1dbf84a3095eff9bd0d1e49824dddac56c378ed9"; 9498 - sha256 = "16qwp8kk3c2lzfnmzkzi71ilrcssga17kjiphskph5kl35igr16v"; 9509 + rev = "e1be98dc050b8c5196e324cb4236e8c4b44483e6"; 9510 + sha256 = "12gr0v2r91q75v1wfrskp330zlyibshngs11if9nlxpnhgz8f6dn"; 9499 9511 }; 9500 9512 meta.homepage = "https://github.com/mg979/vim-xtabline/"; 9501 9513 }; ··· 9695 9707 9696 9708 vimtex = buildVimPluginFrom2Nix { 9697 9709 pname = "vimtex"; 9698 - version = "2021-07-15"; 9710 + version = "2021-07-18"; 9699 9711 src = fetchFromGitHub { 9700 9712 owner = "lervag"; 9701 9713 repo = "vimtex"; 9702 - rev = "13fac7d1d820ee4d72196841800705f149af9868"; 9703 - sha256 = "0k9325pdh5fscj8nhqwj36vdz6lvcgf14r7mmimc7g6i7bxxfpmb"; 9714 + rev = "830659752b8914f6b4567a00448901246e4d1841"; 9715 + sha256 = "1zdi1kblk03gwifpg1nanq4ppn9xw6af92l3li86ziw89bv3bad9"; 9704 9716 }; 9705 9717 meta.homepage = "https://github.com/lervag/vimtex/"; 9706 9718 };
+1
pkgs/misc/vim-plugins/vim-plugin-names
··· 161 161 fsharp/vim-fsharp 162 162 fszymanski/deoplete-emoji 163 163 garbas/vim-snipmate 164 + gcmt/taboo.vim 164 165 gcmt/wildfire.vim 165 166 gennaro-tedesco/nvim-peekup 166 167 gentoo/gentoo-syntax
+5 -5
pkgs/servers/klipper/default.nix
··· 5 5 , unstableGitUpdater 6 6 }: 7 7 stdenv.mkDerivation rec { 8 - name = "klipper"; 9 - version = "unstable-2021-01-31"; 8 + pname = "klipper"; 9 + version = "unstable-2021-07-15"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "KevinOConnor"; 13 13 repo = "klipper"; 14 - rev = "ef4d9c3abd30ae8a485020fd9ff2fb4529a143b3"; 15 - sha256 = "sha256-puAkSGL0DD0JUWejPdzr7zKIW2UP2soBBtgm2msUKzA="; 14 + rev = "dafb74e3aba707db364ed773bb2135084ac0fffa"; 15 + sha256 = "sha256-wF5I8Mo89ohhysBRDMtkCDbCW9SKWrdYdbifmxCPJBc="; 16 16 }; 17 17 18 18 # We have no LTO on i686 since commit 22284b0 ··· 51 51 meta = with lib; { 52 52 description = "The Klipper 3D printer firmware"; 53 53 homepage = "https://github.com/KevinOConnor/klipper"; 54 - maintainers = with maintainers; [ lovesegfault ]; 54 + maintainers = with maintainers; [ lovesegfault zhaofengli ]; 55 55 platforms = platforms.linux; 56 56 license = licenses.gpl3Only; 57 57 };
+2 -2
pkgs/tools/admin/azure-cli/default.nix
··· 1 1 { stdenv, lib, python3, fetchFromGitHub, installShellFiles }: 2 2 3 3 let 4 - version = "2.26.0"; 4 + version = "2.26.1"; 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-O5EL51RRxrp6D82p0Qbo59y/GAkBDhIkIdTxnagKgkY="; 12 + sha256 = "sha256-AwchP0o3I2T37dLPNw51wldwYUmcRuWptyzrhOocEaQ="; 13 13 }; 14 14 15 15 # put packages that needs to be overriden in the py package scope
+27 -6
pkgs/tools/backup/duplicity/default.nix
··· 1 1 { lib, stdenv 2 - , fetchurl 2 + , fetchFromGitLab 3 + , fetchpatch 3 4 , python38 4 5 , librsync 5 6 , ncftp ··· 18 19 in 19 20 pythonPackages.buildPythonApplication rec { 20 21 pname = "duplicity"; 21 - version = "0.8.17"; 22 + version = "0.8.20"; 22 23 23 - src = fetchurl { 24 - url = "https://code.launchpad.net/duplicity/${majorMinor version}-series/${majorMinorPatch version}/+download/duplicity-${version}.tar.gz"; 25 - sha256 = "114rwkf9b3h4fcagrx013sb7krc4hafbwl9gawjph2wd9pkv2wx2"; 24 + src = fetchFromGitLab { 25 + owner = "duplicity"; 26 + repo = "duplicity"; 27 + rev = "rel.${version}"; 28 + sha256 = "13ghra0myq6h6yx8qli55bh8dg91nf1hpd8l7d7xamgrw6b188sm"; 26 29 }; 27 30 28 31 patches = [ ··· 32 35 # Our Python infrastructure runs test in installCheckPhase so we need 33 36 # to make the testing code stop assuming it is run from the source directory. 34 37 ./use-installed-scripts-in-test.patch 38 + 39 + # https://gitlab.com/duplicity/duplicity/-/merge_requests/64 40 + # remove on next release 41 + (fetchpatch { 42 + url = "https://gitlab.com/duplicity/duplicity/-/commit/5c229a9b42f67257c747fbc0022c698fec405bbc.patch"; 43 + sha256 = "05v931rnawfv11cyxj8gykmal8rj5vq2ksdysyr2mb4sl81mi7v0"; 44 + }) 35 45 ] ++ lib.optionals stdenv.isLinux [ 36 46 # Broken on Linux in Nix' build environment 37 47 ./linux-disable-timezone-test.patch ··· 39 49 40 50 SETUPTOOLS_SCM_PRETEND_VERSION = version; 41 51 52 + preConfigure = '' 53 + # fix version displayed by duplicity --version 54 + # see SourceCopy in setup.py 55 + ls 56 + for i in bin/*.1 duplicity/__init__.py; do 57 + substituteInPlace "$i" --replace '$version' "${version}" 58 + done 59 + ''; 60 + 42 61 nativeBuildInputs = [ 43 62 makeWrapper 44 63 gettext ··· 51 70 52 71 pythonPath = with pythonPackages; [ 53 72 b2sdk 54 - boto 55 73 boto3 56 74 cffi 57 75 cryptography ··· 103 121 104 122 # Don't run developer-only checks (pep8, etc.). 105 123 export RUN_CODE_TESTS=0 124 + 125 + # check version string 126 + duplicity --version | grep ${version} 106 127 '' + lib.optionalString stdenv.isDarwin '' 107 128 # Work around the following error when running tests: 108 129 # > Max open files of 256 is too low, should be >= 1024.
+6 -4
pkgs/tools/backup/duplicity/gnutar-in-test.patch
··· 1 + diff --git a/testing/functional/test_restart.py b/testing/functional/test_restart.py 2 + index 6d972c82..e8435fd5 100644 1 3 --- a/testing/functional/test_restart.py 2 4 +++ b/testing/functional/test_restart.py 3 - @@ -323,14 +323,7 @@ class RestartTestWithoutEncryption(RestartTest): 5 + @@ -350,14 +350,7 @@ class RestartTestWithoutEncryption(RestartTest): 4 6 https://launchpad.net/bugs/929067 5 7 """ 6 - 8 + 7 9 - if platform.system().startswith(u'Linux'): 8 10 - tarcmd = u"tar" 9 11 - elif platform.system().startswith(u'Darwin'): ··· 13 15 - else: 14 16 - raise Exception(u"Platform %s not supported by tar/gtar." % platform.platform()) 15 17 + tarcmd = u"tar" 16 - 18 + 17 19 # Intial normal backup 18 - self.backup("full", "testfiles/blocktartest") 20 + self.backup(u"full", u"{0}/testfiles/blocktartest".format(_runtest_dir))
+10 -4
pkgs/tools/backup/duplicity/linux-disable-timezone-test.patch
··· 1 + commit f0142706c377b7c133753db57b5c4c90baa2de30 2 + Author: Guillaume Girol <symphorien+git@xlumurb.eu> 3 + Date: Sun Jul 11 17:48:15 2021 +0200 4 + 5 + diff --git a/testing/unit/test_statistics.py b/testing/unit/test_statistics.py 6 + index 4be5000c..80545853 100644 1 7 --- a/testing/unit/test_statistics.py 2 8 +++ b/testing/unit/test_statistics.py 3 - @@ -59,6 +59,7 @@ class StatsObjTest(UnitTestCase): 9 + @@ -63,6 +63,7 @@ class StatsObjTest(UnitTestCase): 4 10 s1 = StatsDeltaProcess() 5 - assert s1.get_stat('SourceFiles') == 0 6 - 11 + assert s1.get_stat(u'SourceFiles') == 0 12 + 7 13 + @unittest.skip("Broken on Linux in Nix' build environment") 8 14 def test_get_stats_string(self): 9 - """Test conversion of stat object into string""" 15 + u"""Test conversion of stat object into string""" 10 16 s = StatsObj()
+29 -15
pkgs/tools/backup/duplicity/use-installed-scripts-in-test.patch
··· 1 + commit ccd4dd92cd37acce1da20966ad9e4e0c7bcf1709 2 + Author: Guillaume Girol <symphorien+git@xlumurb.eu> 3 + Date: Sun Jul 11 12:00:00 2021 +0000 4 + 5 + use installed duplicity when running tests 6 + 7 + diff --git a/setup.py b/setup.py 8 + index fa474f20..604a242a 100755 1 9 --- a/setup.py 2 10 +++ b/setup.py 3 - @@ -92,10 +92,6 @@ class TestCommand(test): 11 + @@ -205,10 +205,6 @@ class TestCommand(test): 4 12 except Exception: 5 13 pass 6 - 14 + 7 15 - os.environ[u'PATH'] = u"%s:%s" % ( 8 16 - os.path.abspath(build_scripts_cmd.build_dir), 9 17 - os.environ.get(u'PATH')) 10 18 - 11 19 test.run(self) 12 - 13 - def run_tests(self): 20 + 21 + 22 + diff --git a/testing/functional/__init__.py b/testing/functional/__init__.py 23 + index 4221576d..3cf44945 100644 14 24 --- a/testing/functional/__init__.py 15 25 +++ b/testing/functional/__init__.py 16 - @@ -107,7 +107,7 @@ class FunctionalTestCase(DuplicityTestCase): 17 - if basepython is not None: 18 - cmd_list.extend([basepython]) 26 + @@ -111,7 +111,7 @@ class FunctionalTestCase(DuplicityTestCase): 27 + run_coverage = os.environ.get(u'RUN_COVERAGE', None) 28 + if run_coverage is not None: 19 29 cmd_list.extend([u"-m", u"coverage", u"run", u"--source=duplicity", u"-p"]) 20 - - cmd_list.extend([u"../bin/duplicity"]) 30 + - cmd_list.extend([u"{0}/bin/duplicity".format(_top_dir)]) 21 31 + cmd_list.extend([u"duplicity"]) 22 32 cmd_list.extend(options) 23 33 cmd_list.extend([u"-v0"]) 24 34 cmd_list.extend([u"--no-print-statistics"]) 35 + diff --git a/testing/functional/test_log.py b/testing/functional/test_log.py 36 + index 9dfc86a6..b9cb55db 100644 25 37 --- a/testing/functional/test_log.py 26 38 +++ b/testing/functional/test_log.py 27 - @@ -47,9 +47,9 @@ class LogTest(FunctionalTestCase): 39 + @@ -49,9 +49,9 @@ class LogTest(FunctionalTestCase): 28 40 # Run actual duplicity command (will fail, because no arguments passed) 29 41 basepython = os.environ.get(u'TOXPYTHON', None) 30 42 if basepython is not None: 31 - - os.system(u"{} ../bin/duplicity --log-file={} >/dev/null 2>&1".format(basepython, self.logfile)) 32 - + os.system(u"{} duplicity --log-file={} >/dev/null 2>&1".format(basepython, self.logfile)) 43 + - os.system(u"{0} {1}/bin/duplicity --log-file={2} >/dev/null 2>&1".format(basepython, _top_dir, self.logfile)) 44 + + os.system(u"{0} duplicity --log-file={1} >/dev/null 2>&1".format(basepython, self.logfile)) 33 45 else: 34 - - os.system(u"../bin/duplicity --log-file={} >/dev/null 2>&1".format(self.logfile)) 35 - + os.system(u"duplicity --log-file={} >/dev/null 2>&1".format(self.logfile)) 46 + - os.system(u"{0}/bin/duplicity --log-file={1} >/dev/null 2>&1".format(_top_dir, self.logfile)) 47 + + os.system(u"duplicity --log-file={0} >/dev/null 2>&1".format(self.logfile)) 36 48 37 49 # The format of the file should be: 38 50 # """ERROR 2 51 + diff --git a/testing/functional/test_rdiffdir.py b/testing/functional/test_rdiffdir.py 52 + index 0cbfdb33..47acd029 100644 39 53 --- a/testing/functional/test_rdiffdir.py 40 54 +++ b/testing/functional/test_rdiffdir.py 41 - @@ -42,7 +42,7 @@ class RdiffdirTest(FunctionalTestCase): 55 + @@ -44,7 +44,7 @@ class RdiffdirTest(FunctionalTestCase): 42 56 basepython = os.environ.get(u'TOXPYTHON', None) 43 57 if basepython is not None: 44 58 cmd_list.extend([basepython]) 45 - - cmd_list.extend([u"../bin/rdiffdir"]) 59 + - cmd_list.extend([u"{0}/bin/rdiffdir".format(_top_dir)]) 46 60 + cmd_list.extend([u"rdiffdir"]) 47 61 cmd_list.extend(argstring.split()) 48 62 cmdline = u" ".join([u'"%s"' % x for x in cmd_list])
+3 -3
pkgs/tools/system/bottom/default.nix
··· 11 11 12 12 rustPlatform.buildRustPackage rec { 13 13 pname = "bottom"; 14 - version = "0.6.2"; 14 + version = "0.6.3"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "ClementTsang"; 18 18 repo = pname; 19 19 rev = version; 20 - sha256 = "sha256-QCi6Oi5xk88ev2B4rlXwgR55qKZSUbIY/96t/jhJQ0Q="; 20 + sha256 = "sha256-hXEaQL4jTd/MfEUVKUTs7oTRAffau1YA/IUUtD+V9KI="; 21 21 }; 22 22 23 23 prePatch = '' ··· 33 33 libiconv 34 34 ]; 35 35 36 - cargoSha256 = "sha256-RJ7xIp9EBiBLSMAchr7XYhrTITNJy+Yfok//vZr3Z38="; 36 + cargoSha256 = "sha256-aeR6fcIWkY4AWZy8tVotUAVRVSiO/0S0DU/A9/ATrF4="; 37 37 38 38 doCheck = false; 39 39
+2
pkgs/top-level/python-packages.nix
··· 8691 8691 8692 8692 toml = callPackage ../development/python-modules/toml { }; 8693 8693 8694 + tomli = callPackage ../development/python-modules/tomli { }; 8695 + 8694 8696 tomlkit = callPackage ../development/python-modules/tomlkit { }; 8695 8697 8696 8698 toolz = callPackage ../development/python-modules/toolz { };