Merge pull request #259788 from SuperSandro2000/mdcat

mdcat: 2.0.3 -> 2.0.4

authored by Weijia Wang and committed by GitHub 2d0f4622 f0dec0b9

+6 -5
+5 -4
pkgs/tools/text/mdcat/default.nix
··· 6 , asciidoctor 7 , openssl 8 , Security 9 , ansi2html 10 , installShellFiles 11 }: 12 13 rustPlatform.buildRustPackage rec { 14 pname = "mdcat"; 15 - version = "2.0.3"; 16 17 src = fetchFromGitHub { 18 owner = "swsnr"; 19 repo = "mdcat"; 20 rev = "mdcat-${version}"; 21 - sha256 = "sha256-S47xJmwOCDrJJSYP9WiUKFWR9UZDNgY3mc/fTHaKsvA="; 22 }; 23 24 nativeBuildInputs = [ pkg-config asciidoctor installShellFiles ]; 25 buildInputs = [ openssl ] 26 - ++ lib.optional stdenv.isDarwin Security; 27 28 - cargoSha256 = "sha256-g/Il3Sff9NtEfGTXBOGyRw6/GXje9kVwco0URyhv4TI="; 29 30 nativeCheckInputs = [ ansi2html ]; 31 # Skip tests that use the network and that include files.
··· 6 , asciidoctor 7 , openssl 8 , Security 9 + , SystemConfiguration 10 , ansi2html 11 , installShellFiles 12 }: 13 14 rustPlatform.buildRustPackage rec { 15 pname = "mdcat"; 16 + version = "2.0.4"; 17 18 src = fetchFromGitHub { 19 owner = "swsnr"; 20 repo = "mdcat"; 21 rev = "mdcat-${version}"; 22 + hash = "sha256-QGGZv+wk0w01eL6vAsRRUw+CuTdI949sGOM8ot4dGIc="; 23 }; 24 25 nativeBuildInputs = [ pkg-config asciidoctor installShellFiles ]; 26 buildInputs = [ openssl ] 27 + ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]; 28 29 + cargoHash = "sha256-VH9MmASMiD62rxDZSKmrW7N+qp0Fpm7Pcyhxpkpl/oM="; 30 31 nativeCheckInputs = [ ansi2html ]; 32 # Skip tests that use the network and that include files.
+1 -1
pkgs/top-level/all-packages.nix
··· 10138 }; 10139 10140 mdcat = callPackage ../tools/text/mdcat { 10141 - inherit (darwin.apple_sdk.frameworks) Security; 10142 inherit (python3Packages) ansi2html; 10143 }; 10144
··· 10138 }; 10139 10140 mdcat = callPackage ../tools/text/mdcat { 10141 + inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; 10142 inherit (python3Packages) ansi2html; 10143 }; 10144