3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/htmlq/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
662 B
Nix
Raw Normal View History

2021-09-08 05:38:22 +01:00
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "htmlq";
2022-01-11 09:22:17 +00:00
version = "0.4.0";
2021-09-08 05:38:22 +01:00
src = fetchFromGitHub {
owner = "mgdm";
repo = "htmlq";
rev = "v${version}";
2022-01-11 09:22:17 +00:00
sha256 = "sha256-kZtK2QuefzfxxuE1NjXphR7otr+RYfMif/RSpR6TxY0=";
2021-09-08 05:38:22 +01:00
};
2022-01-11 09:22:17 +00:00
cargoSha256 = "sha256-r9EnQQPGpPIcNYb1eqGrMnRdh0snIa5iVsTYTI+YErY=";
2021-09-08 05:38:22 +01: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 09:02:58 +01:00
maintainers = with maintainers; [ siraben nerdypepper ];
2021-09-08 05:38:22 +01:00
};
}