Merge pull request #137064 from siraben/htmlq-init

This commit is contained in:
Ben Siraphob 2021-09-08 00:42:09 -05:00 committed by GitHub
commit 2d6b693907
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "htmlq";
version = "0.2.0";
src = fetchFromGitHub {
owner = "mgdm";
repo = "htmlq";
rev = "v${version}";
sha256 = "sha256-Q2zjrHKFWowx2yB1cdGxPnNnc8yQJz65HaX0yIqbHks=";
};
cargoSha256 = "sha256-pPtKPVSdEtEPmQPpNRJ4uyguDRAW0YvKgdUw5OAtbjA=";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
doCheck = false;
meta = with lib; {
description = "Like jq, but for HTML";
homepage = "https://github.com/mgdm/htmlq";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
};
}

View file

@ -5978,6 +5978,10 @@ with pkgs;
html-proofer = callPackage ../tools/misc/html-proofer { };
htmlq = callPackage ../development/tools/htmlq {
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
};
htpdate = callPackage ../tools/networking/htpdate { };
http-prompt = callPackage ../tools/networking/http-prompt { };