mdcat: 0.14.0 -> 0.15.0
This commit is contained in:
parent
05a965896d
commit
cfc2ead8b3
@ -2,26 +2,28 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "mdcat";
|
pname = "mdcat";
|
||||||
version = "0.14.0";
|
version = "0.15.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lunaryorn";
|
owner = "lunaryorn";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "mdcat-${version}";
|
rev = "mdcat-${version}";
|
||||||
sha256 = "1q8h6pc1i89j1zl4s234inl9v95vsdrry1fzlis89sl2mnbv8ywy";
|
sha256 = "1x9c3cj3y8wvwr74kbz6nrdh61rinr98gcp3hnjpi6c3vg3xx4wh";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
|
buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
cargoSha256 = "1hxsfls6fpllc9yg5ib3qz6pa62j1y1va8a6356j6812csk4ifnn";
|
cargoSha256 = "1kc434pa72n9xll2r4ddmd9xdwv3ls36cwsmdry392j41zmics51";
|
||||||
|
|
||||||
checkInputs = [ ansi2html ];
|
checkInputs = [ ansi2html ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
# Skip tests that use the network and that include files.
|
# 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_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; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user