3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/htmlq/default.nix
2021-09-16 10:56:04 +00:00

27 lines
662 B
Nix

{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "htmlq";
version = "0.3.0";
src = fetchFromGitHub {
owner = "mgdm";
repo = "htmlq";
rev = "v${version}";
sha256 = "sha256-pTw+dsbbFwrPIxCimMsYfyAF2zVeudebxVtMQV1cJnE=";
};
cargoSha256 = "sha256-jeoSA7w2bk0R3L+/FDn/b+ddTCqY8zFr/2GCxI7OCzM=";
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 ];
};
}