Merge pull request #84715 from filalex77/monolith-2.2.2

monolith: init at 2.2.2
This commit is contained in:
Maximilian Bosch 2020-04-09 00:53:59 +02:00 committed by GitHub
commit 20b2b79b4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

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