monolith: init at 2.2.2

This commit is contained in:
Oleksii Filonenko 2020-04-08 15:40:42 +03:00
parent 926a875def
commit 457900c7c8
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
}:
rustPlatform.buildRustPackage rec {
pname = "monolith";
version = "2.2.2";
src = fetchFromGitHub {
owner = "Y2Z";
repo = pname;
rev = "v${version}";
sha256 = "08xbpn6kdfiyvz5pwx9hkzbgb40z6dicmiry7frclw0aibal9avi";
};
cargoSha256 = "10zwyg54f05m6ldpnchqzxjkb6rlpcl80crdnk8s6wkf18qny4i3";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
checkPhase = "cargo test -- --skip tests::cli";
meta = with stdenv.lib; {
description = "Bundle any web page into a single HTML file";
homepage = "https://github.com/Y2Z/monolith";
license = licenses.unlicense;
maintainers = with maintainers; [ filalex77 ];
};
}

View File

@ -5186,6 +5186,8 @@ in
monit = callPackage ../tools/system/monit { };
monolith = callPackage ../tools/backup/monolith { };
moreutils = callPackage ../tools/misc/moreutils {
docbook-xsl = docbook_xsl;
};