summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2020-01-14 11:12:48 +0000
committerMatthieu Coudron <mattator@gmail.com>2020-01-14 16:42:15 +0100
commitcfc2ead8b3c2a5b60f0859e07a4646794bff52a0 (patch)
tree76dd3bea4fc9f31561c2a53e5b1be56595686915 /pkgs/tools/text
parent05a965896d4f309b45275a0d72a1979d3474ee0f (diff)
downloadnixpkgs-cfc2ead8b3c2a5b60f0859e07a4646794bff52a0.tar
nixpkgs-cfc2ead8b3c2a5b60f0859e07a4646794bff52a0.tar.gz
nixpkgs-cfc2ead8b3c2a5b60f0859e07a4646794bff52a0.tar.bz2
nixpkgs-cfc2ead8b3c2a5b60f0859e07a4646794bff52a0.tar.lz
nixpkgs-cfc2ead8b3c2a5b60f0859e07a4646794bff52a0.tar.xz
nixpkgs-cfc2ead8b3c2a5b60f0859e07a4646794bff52a0.tar.zst
nixpkgs-cfc2ead8b3c2a5b60f0859e07a4646794bff52a0.zip
mdcat: 0.14.0 -> 0.15.0
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/mdcat/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/tools/text/mdcat/default.nix b/pkgs/tools/text/mdcat/default.nix
index 626963bc601..6b19251acf8 100644
--- a/pkgs/tools/text/mdcat/default.nix
+++ b/pkgs/tools/text/mdcat/default.nix
@@ -2,26 +2,28 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "mdcat";
-  version = "0.14.0";
+  version = "0.15.0";
 
   src = fetchFromGitHub {
     owner = "lunaryorn";
     repo = pname;
     rev = "mdcat-${version}";
-    sha256 = "1q8h6pc1i89j1zl4s234inl9v95vsdrry1fzlis89sl2mnbv8ywy";
+    sha256 = "1x9c3cj3y8wvwr74kbz6nrdh61rinr98gcp3hnjpi6c3vg3xx4wh";
   };
 
   nativeBuildInputs = [ pkgconfig ];
   buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
 
-  cargoSha256 = "1hxsfls6fpllc9yg5ib3qz6pa62j1y1va8a6356j6812csk4ifnn";
+  cargoSha256 = "1kc434pa72n9xll2r4ddmd9xdwv3ls36cwsmdry392j41zmics51";
 
   checkInputs = [ ansi2html ];
   checkPhase = ''
     # Skip tests that use the network and that include files.
-    cargo test -- --skip terminal::iterm2 --skip terminal::resources::tests::remote \
+    cargo test -- --skip terminal::iterm2 \
       --skip magic::tests::detect_mimetype_of_svg_image \
-      --skip magic::tests::detect_mimetype_of_png_image
+      --skip magic::tests::detect_mimetype_of_png_image \
+      --skip resources::tests::read_url_with_http_url_fails_when_status_404 \
+      --skip resources::tests::read_url_with_http_url_returns_content_when_status_200
   '';
 
   meta = with stdenv.lib; {