1 { lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-kZtK2QuefzfxxuE1NjXphR7otr+RYfMif/RSpR6TxY0=";
14 cargoSha256 = "sha256-r9EnQQPGpPIcNYb1eqGrMnRdh0snIa5iVsTYTI+YErY=";
16 buildInputs = lib.optionals stdenv.isDarwin [ Security ];
21 description = "Like jq, but for HTML";
22 homepage = "https://github.com/mgdm/htmlq";
23 license = licenses.mit;
24 maintainers = with maintainers; [ siraben nerdypepper ];
25 mainProgram = "htmlq";