diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-05-02 00:13:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 00:13:10 +0000 |
commit | 2918b2c876b74d0ba5e333676ee86228f51c24e8 (patch) | |
tree | 3aa9efd04a7b013474abd0e659f2978ef07bddfa /pkgs/tools/misc | |
parent | a48f3268c7b745ffe9a057b3c5e5a2b97ef68c7a (diff) | |
parent | e32981ab32c921f0506a3a560512e3a34726eafe (diff) |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/diffoscope/default.nix | 8 | ||||
-rw-r--r-- | pkgs/tools/misc/edir/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/misc/fzf/default.nix | 91 | ||||
-rw-r--r-- | pkgs/tools/misc/moserial/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/misc/mutagen-compose/default.nix | 6 | ||||
-rw-r--r-- | pkgs/tools/misc/pokemonsay/default.nix | 14 | ||||
-rw-r--r-- | pkgs/tools/misc/remind/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/misc/remote-exec/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/misc/rmate-sh/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/misc/scdl/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/misc/snapper/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/misc/wv/default.nix | 15 |
12 files changed, 32 insertions, 126 deletions
diff --git a/pkgs/tools/misc/diffoscope/default.nix b/pkgs/tools/misc/diffoscope/default.nix index 6d97581af26f6..c5ca89f54841d 100644 --- a/pkgs/tools/misc/diffoscope/default.nix +++ b/pkgs/tools/misc/diffoscope/default.nix @@ -282,13 +282,7 @@ python.pkgs.buildPythonApplication rec { "test_libmix_differences" ]; - disabledTestPaths = [ - # fails due to https://github.com/NixOS/nixpkgs/issues/256896 - # should be removed once that issue is resolved in coreboot or diffoscope - "tests/comparators/test_cbfs.py" - ] - # Flaky tests on Darwin - ++ lib.optionals stdenv.isDarwin [ + disabledTestPaths = lib.optionals stdenv.isDarwin [ "tests/comparators/test_git.py" "tests/comparators/test_java.py" "tests/comparators/test_uimage.py" diff --git a/pkgs/tools/misc/edir/default.nix b/pkgs/tools/misc/edir/default.nix index 3ca072e8a245a..13cd4ed1c737a 100644 --- a/pkgs/tools/misc/edir/default.nix +++ b/pkgs/tools/misc/edir/default.nix @@ -2,12 +2,12 @@ python3Packages.buildPythonApplication rec { pname = "edir"; - version = "2.28"; + version = "2.29"; format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "sha256-tQomMXmqOFHxxWjs1fOzh61JIs7TI6MIXK3Y6Cs/MZA="; + sha256 = "sha256-5b86/M8xqzwWMCRtsH1qwmooyfOhORgXgctRjzQEmlU="; }; nativeBuildInputs = with python3Packages; [ diff --git a/pkgs/tools/misc/fzf/default.nix b/pkgs/tools/misc/fzf/default.nix deleted file mode 100644 index 916b939b93ccd..0000000000000 --- a/pkgs/tools/misc/fzf/default.nix +++ /dev/null @@ -1,91 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, runtimeShell -, installShellFiles -, bc -, ncurses -, testers -, fzf -}: - -buildGoModule rec { - pname = "fzf"; - version = "0.50.0"; - - src = fetchFromGitHub { - owner = "junegunn"; - repo = pname; - rev = version; - hash = "sha256-b8B05aj0+c620K6ftCXx1EGUt8mdqQYTE0D9aPU+/wA="; - }; - - vendorHash = "sha256-Ho2jVD/U/2BFt3BF5w+KHp5nSVmukx0o2l3ISDGDSt0="; - - CGO_ENABLED = 0; - - outputs = [ "out" "man" ]; - - nativeBuildInputs = [ installShellFiles ]; - - buildInputs = [ ncurses ]; - - ldflags = [ - "-s" "-w" "-X main.version=${version} -X main.revision=${src.rev}" - ]; - - # The vim plugin expects a relative path to the binary; patch it to abspath. - postPatch = '' - sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/fzf.vim - - if ! grep -q $out plugin/fzf.vim; then - echo "Failed to replace vim base_dir path with $out" - exit 1 - fi - - # fzf-tmux depends on bc - substituteInPlace bin/fzf-tmux \ - --replace "bc" "${bc}/bin/bc" - ''; - - postInstall = '' - install bin/fzf-tmux $out/bin - - installManPage man/man1/fzf.1 man/man1/fzf-tmux.1 - - install -D plugin/* -t $out/share/vim-plugins/${pname}/plugin - mkdir -p $out/share/nvim - ln -s $out/share/vim-plugins/${pname} $out/share/nvim/site - - # Install shell integrations - install -D shell/* -t $out/share/fzf/ - install -D shell/key-bindings.fish $out/share/fish/vendor_functions.d/fzf_key_bindings.fish - mkdir -p $out/share/fish/vendor_conf.d - cat << EOF > $out/share/fish/vendor_conf.d/load-fzf-key-bindings.fish - status is-interactive; or exit 0 - fzf_key_bindings - EOF - - cat <<SCRIPT > $out/bin/fzf-share - #!${runtimeShell} - # Run this script to find the fzf shared folder where all the shell - # integration scripts are living. - echo $out/share/fzf - SCRIPT - chmod +x $out/bin/fzf-share - ''; - - passthru.tests.version = testers.testVersion { - package = fzf; - }; - - meta = with lib; { - homepage = "https://github.com/junegunn/fzf"; - description = "A command-line fuzzy finder written in Go"; - license = licenses.mit; - maintainers = with maintainers; [ Br1ght0ne ma27 zowoq ]; - platforms = platforms.unix; - changelog = "https://github.com/junegunn/fzf/blob/${version}/CHANGELOG.md"; - mainProgram = "fzf"; - }; -} diff --git a/pkgs/tools/misc/moserial/default.nix b/pkgs/tools/misc/moserial/default.nix index 8ac7091e003c2..0a708681b4095 100644 --- a/pkgs/tools/misc/moserial/default.nix +++ b/pkgs/tools/misc/moserial/default.nix @@ -48,7 +48,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Clean, friendly gtk-based serial terminal for the gnome desktop"; - homepage = "https://wiki.gnome.org/moserial"; + homepage = "https://gitlab.gnome.org/GNOME/moserial"; license = licenses.gpl3Plus; maintainers = with maintainers; [ linsui ]; platforms = platforms.linux; diff --git a/pkgs/tools/misc/mutagen-compose/default.nix b/pkgs/tools/misc/mutagen-compose/default.nix index fe8f2b06505d6..33358017f24a0 100644 --- a/pkgs/tools/misc/mutagen-compose/default.nix +++ b/pkgs/tools/misc/mutagen-compose/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "mutagen-compose"; - version = "0.17.5"; + version = "0.17.6"; src = fetchFromGitHub { owner = "mutagen-io"; repo = pname; rev = "v${version}"; - hash = "sha256-EkUaxk+zCm1ta1/vjClZHki/MghLvUkCeiW7hST7WEc="; + hash = "sha256-ZcfwpEfdoSMCGtw5Icj1hXbk5CRYS4LBtdaiX62E4I0="; }; - vendorHash = "sha256-siLS53YVQfCwqyuvXXvHFtlpr3RQy2GP2/ZV+Tv/Lqc="; + vendorHash = "sha256-XyWi06siSHOKZca0w4WLIFGM63wnF//2rRP4aH5rFAo="; doCheck = false; diff --git a/pkgs/tools/misc/pokemonsay/default.nix b/pkgs/tools/misc/pokemonsay/default.nix index 7053e4ba80733..669fa6a494134 100644 --- a/pkgs/tools/misc/pokemonsay/default.nix +++ b/pkgs/tools/misc/pokemonsay/default.nix @@ -28,27 +28,27 @@ stdenvNoCC.mkDerivation rec { postPatch = '' substituteInPlace pokemonsay.sh \ - --replace \ + --replace-fail \ 'INSTALL_PATH=''${HOME}/.bin/pokemonsay' \ "" \ - --replace \ + --replace-fail \ 'POKEMON_PATH=''${INSTALL_PATH}/pokemons' \ 'POKEMON_PATH=${placeholder "out"}/share/pokemonsay' \ - --replace \ + --replace-fail \ '$(find ' \ '$(${findutils}/bin/find ' \ - --replace \ + --replace-fail \ '$(basename ' \ '$(${coreutils}/bin/basename ' \ - --replace \ + --replace-fail \ 'cowsay -f ' \ '${cowsay}/bin/cowsay -f ' \ - --replace \ + --replace-fail \ 'cowthink -f ' \ '${cowsay}/bin/cowthink -f ' substituteInPlace pokemonthink.sh \ - --replace \ + --replace-fail \ './pokemonsay.sh' \ "${placeholder "out"}/bin/pokemonsay" ''; diff --git a/pkgs/tools/misc/remind/default.nix b/pkgs/tools/misc/remind/default.nix index 00daec1e49132..31b7dad24003b 100644 --- a/pkgs/tools/misc/remind/default.nix +++ b/pkgs/tools/misc/remind/default.nix @@ -15,11 +15,11 @@ let in tcl.mkTclDerivation rec { pname = "remind"; - version = "04.03.04"; + version = "04.03.07"; src = fetchurl { url = "https://dianne.skoll.ca/projects/remind/download/remind-${version}.tar.gz"; - sha256 = "sha256-XkF/silBwDlQt9T2wmUMPh7MiE9yB+vXrSQmEnBEpC8="; + sha256 = "sha256-s/jEsNXUBigNHPTCi3e4V2pGUNhK2s5/n+sU1ow7UU0="; }; propagatedBuildInputs = tclLibraries; diff --git a/pkgs/tools/misc/remote-exec/default.nix b/pkgs/tools/misc/remote-exec/default.nix index 979f0f53bae0d..84b8026c0a073 100644 --- a/pkgs/tools/misc/remote-exec/default.nix +++ b/pkgs/tools/misc/remote-exec/default.nix @@ -34,10 +34,10 @@ buildPythonApplication rec { # remove legacy endpoints, we use --multi now postPatch = '' substituteInPlace setup.py \ - --replace '"mremote' '#"mremote' + --replace-fail '"mremote' '#"mremote' ''; - propagatedBuildInputs = [ + dependencies = [ click pydantic toml diff --git a/pkgs/tools/misc/rmate-sh/default.nix b/pkgs/tools/misc/rmate-sh/default.nix index bc93c6e437fe2..81189a1cd6c7c 100644 --- a/pkgs/tools/misc/rmate-sh/default.nix +++ b/pkgs/tools/misc/rmate-sh/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { runHook preBuild substituteInPlace rmate \ - --replace \ + --replace-fail \ 'echo "hostname"' \ 'echo "${hostname}/bin/hostname"' patsh -f rmate -s ${builtins.storeDir} diff --git a/pkgs/tools/misc/scdl/default.nix b/pkgs/tools/misc/scdl/default.nix index 5d30d7aec5051..2637c892e03ea 100644 --- a/pkgs/tools/misc/scdl/default.nix +++ b/pkgs/tools/misc/scdl/default.nix @@ -2,12 +2,12 @@ python3Packages.buildPythonApplication rec { pname = "scdl"; - version = "2.7.5"; + version = "2.7.7"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-YoQaIbOfwLtkSZJGZd9CL7TZGgqjfohJfrnQ3t5uLU0="; + sha256 = "sha256-/QQb8xbi0rv5dU3WFr/hm2BuM/iDZ2OhrGjuqsQMqdk="; }; propagatedBuildInputs = with python3Packages; [ diff --git a/pkgs/tools/misc/snapper/default.nix b/pkgs/tools/misc/snapper/default.nix index dd50b9a040892..0ad98046cf711 100644 --- a/pkgs/tools/misc/snapper/default.nix +++ b/pkgs/tools/misc/snapper/default.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "snapper"; - version = "0.10.7"; + version = "0.11.0"; src = fetchFromGitHub { owner = "openSUSE"; repo = "snapper"; rev = "v${version}"; - sha256 = "sha256-ELhWVimZWKaHL/PK7HtALKCTmzjcZN2ScDS0yOX3lVs="; + sha256 = "sha256-7FwjVk3kkC/suJ13BIEEfIswsPBYhdQI1IuPvNcXi4A="; }; strictDeps = true; diff --git a/pkgs/tools/misc/wv/default.nix b/pkgs/tools/misc/wv/default.nix index ed1b39b38df48..e1824c1d37090 100644 --- a/pkgs/tools/misc/wv/default.nix +++ b/pkgs/tools/misc/wv/default.nix @@ -1,16 +1,18 @@ -{ lib, stdenv, fetchurl, zlib, imagemagick, libpng, glib, pkg-config, libgsf +{ lib, stdenv, fetchFromGitHub, zlib, imagemagick, libpng, glib, pkg-config, libgsf , libxml2, bzip2 , autoreconfHook , buildPackages }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "wv"; version = "1.2.9"; - src = fetchurl { - url = "http://www.abisource.com/downloads/${pname}/${version}/${pname}-${version}.tar.gz"; - sha256 = "17f16lkdv1c3amaz2hagiicih59ynpp4786k1m2qa1sw68xhswsc"; + src = fetchFromGitHub { + owner = "AbiWord"; + repo = "wv"; + rev = "wv-${builtins.replaceStrings ["."] ["-"] finalAttrs.version}"; + hash = "sha256-xcC+/M1EzFqQFeF5Dw9qd8VIy7r8JdKMp2X/GHkFiPA="; }; nativeBuildInputs = [ pkg-config autoreconfHook ]; @@ -30,8 +32,9 @@ stdenv.mkDerivation rec { ''; meta = { + homepage = "https://github.com/AbiWord/wv"; description = "Converter from Microsoft Word formats to human-editable ones"; platforms = lib.platforms.unix; license = lib.licenses.gpl2; }; -} +}) |