blob: 7e55740d03ba8f1952237b55a1000beaf3c79f09 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "htmlq";
version = "0.4.0";
src = fetchFromGitHub {
owner = "mgdm";
repo = "htmlq";
rev = "v${version}";
sha256 = "sha256-kZtK2QuefzfxxuE1NjXphR7otr+RYfMif/RSpR6TxY0=";
};
cargoHash = "sha256-r9EnQQPGpPIcNYb1eqGrMnRdh0snIa5iVsTYTI+YErY=";
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 nerdypepper ];
mainProgram = "htmlq";
};
}
|