14 rustPlatform.buildRustPackage rec {
18 src = fetchFromGitHub {
22 hash = "sha256-t4FdTFXbKs7Xfw8dKoME7WDn+Fpe/uHPXyr5Wj+AXSA=";
25 cargoHash = "sha256-lBGcS1+CBYeVIG546aHSBVJ9y96rB3IDDVJPqCFUDZQ=";
27 OPENSSL_NO_VENDOR = true;
29 nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
31 lib.optionals stdenv.hostPlatform.isLinux [ openssl ]
32 ++ lib.optionals stdenv.hostPlatform.isDarwin [
38 checkFlags = [ "--skip=tests::cli" ];
40 passthru.updateScript = nix-update-script { };
43 description = "Bundle any web page into a single HTML file";
44 mainProgram = "monolith";
45 homepage = "https://github.com/Y2Z/monolith";
46 license = licenses.cc0;
47 platforms = lib.platforms.unix;
48 broken = stdenv.isDarwin;
49 maintainers = with maintainers; [ Br1ght0ne ];