forked from mirrors/nixpkgs
htmlq: init at 0.2.0
This commit is contained in:
parent
e3549ba06d
commit
29d262cf7f
26
pkgs/development/tools/htmlq/default.nix
Normal file
26
pkgs/development/tools/htmlq/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5973,6 +5973,10 @@ with pkgs;
|
||||||
|
|
||||||
html-proofer = callPackage ../tools/misc/html-proofer { };
|
html-proofer = callPackage ../tools/misc/html-proofer { };
|
||||||
|
|
||||||
|
htmlq = callPackage ../development/tools/htmlq {
|
||||||
|
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
htpdate = callPackage ../tools/networking/htpdate { };
|
htpdate = callPackage ../tools/networking/htpdate { };
|
||||||
|
|
||||||
http-prompt = callPackage ../tools/networking/http-prompt { };
|
http-prompt = callPackage ../tools/networking/http-prompt { };
|
||||||
|
|
Loading…
Reference in a new issue