nixpkgs/pkgs/development/tools/htmlq/default.nix

27 lines
662 B
Nix
Raw Normal View History

2021-09-08 06:38:22 +02:00
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "htmlq";
2021-09-16 12:56:04 +02:00
version = "0.3.0";
2021-09-08 06:38:22 +02:00
src = fetchFromGitHub {
owner = "mgdm";
repo = "htmlq";
rev = "v${version}";
2021-09-16 12:56:04 +02:00
sha256 = "sha256-pTw+dsbbFwrPIxCimMsYfyAF2zVeudebxVtMQV1cJnE=";
2021-09-08 06:38:22 +02:00
};
2021-09-16 12:56:04 +02:00
cargoSha256 = "sha256-jeoSA7w2bk0R3L+/FDn/b+ddTCqY8zFr/2GCxI7OCzM=";
2021-09-08 06:38:22 +02:00
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;
2021-09-08 10:02:58 +02:00
maintainers = with maintainers; [ siraben nerdypepper ];
2021-09-08 06:38:22 +02:00
};
}