depot/third_party/nixpkgs/pkgs/by-name/ha/haylxon/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

30 lines
692 B
Nix

{
lib,
rustPlatform,
fetchCrate,
stdenv,
darwin,
}:
rustPlatform.buildRustPackage rec {
pname = "haylxon";
version = "1.0.0";
src = fetchCrate {
inherit version;
pname = "hxn";
hash = "sha256-zAqYaPtbXqC1YFzCL8EwE1HhuSqVl5lAfnAftwBvnoE=";
};
cargoHash = "sha256-6vVsm4gdcFCxKvvmOi3wlHkFoZp8CG+u50NfxIZqCl8=";
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
meta = {
description = "Save screenshots of urls and webpages from terminal";
homepage = "https://github.com/pwnwriter/haylxon";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ scientiac ];
mainProgram = "hxn";
};
}