aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/text/mdcat/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/text/mdcat/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/text/mdcat/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/tools/text/mdcat/default.nix b/nixpkgs/pkgs/tools/text/mdcat/default.nix
index 626963bc601..6b19251acf8 100644
--- a/nixpkgs/pkgs/tools/text/mdcat/default.nix
+++ b/nixpkgs/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; {