about summary refs log tree commit diff
path: root/nixpkgs/pkgs/shells/fish/plugins/pure.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-09-01 11:51:02 +0000
committerAlyssa Ross <hi@alyssa.is>2023-09-01 11:51:02 +0000
commitaa4353b499e6950b7333578f936455a628145c31 (patch)
treec6332cedece2327a18d08794755b3fc0f9f1905b /nixpkgs/pkgs/shells/fish/plugins/pure.nix
parentac456d475f4e50818499b804359355c0f3b4bbf7 (diff)
parent52185f4d76c18d8348f963795dfed1de018e8dfe (diff)
downloadnixlib-aa4353b499e6950b7333578f936455a628145c31.tar
nixlib-aa4353b499e6950b7333578f936455a628145c31.tar.gz
nixlib-aa4353b499e6950b7333578f936455a628145c31.tar.bz2
nixlib-aa4353b499e6950b7333578f936455a628145c31.tar.lz
nixlib-aa4353b499e6950b7333578f936455a628145c31.tar.xz
nixlib-aa4353b499e6950b7333578f936455a628145c31.tar.zst
nixlib-aa4353b499e6950b7333578f936455a628145c31.zip
Merge https://github.com/NixOS/nixpkgs
Diffstat (limited to 'nixpkgs/pkgs/shells/fish/plugins/pure.nix')
-rw-r--r--nixpkgs/pkgs/shells/fish/plugins/pure.nix20
1 files changed, 6 insertions, 14 deletions
diff --git a/nixpkgs/pkgs/shells/fish/plugins/pure.nix b/nixpkgs/pkgs/shells/fish/plugins/pure.nix
index dae5cf783010..04334f14fa99 100644
--- a/nixpkgs/pkgs/shells/fish/plugins/pure.nix
+++ b/nixpkgs/pkgs/shells/fish/plugins/pure.nix
@@ -1,29 +1,21 @@
-{ lib, buildFishPlugin, fetchFromGitHub, git, fishtape }:
+{ lib, buildFishPlugin, fetchFromGitHub, git, fishtape_3 }:
 
 buildFishPlugin rec {
   pname = "pure";
-  version = "4.1.1";
+  version = "4.8.0";
 
   src = fetchFromGitHub {
     owner = "pure-fish";
     repo = "pure";
     rev = "v${version}";
-    sha256 = "1x1h65l8582p7h7w5986sc9vfd7b88a7hsi68dbikm090gz8nlxx";
+    hash = "sha256-O8rC2uCuM3xUQPRap7XqyyAvO77hP+sqNM4mEQ7pZkw=";
   };
 
-  # The tests aren't passing either on the project's CI.
-  # The release notes of the program for v3.5.0 say:
-  # > Tests are going crazy at the moment, should be fixed once fishtape 3.0
-  # > is released, and we do the switch.
-  # This is tracked in https://github.com/pure-fish/pure/issues/272
-  # and https://github.com/pure-fish/pure/pull/275.
-  doCheck = false;
-
   nativeCheckInputs = [ git ];
-  checkPlugins = [ fishtape ];
+  checkPlugins = [ fishtape_3 ];
   checkPhase = ''
-    # https://github.com/rafaelrinaldi/pure/issues/264
-    rm tests/_pure_string_width.test.fish
+    rm tests/pure_tools_installer.test.fish
+    rm tests/_pure_uninstall.test.fish
 
     fishtape tests/*.test.fish
   '';