mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
5e164bd354
haylxon: remove overuse of `with lib;`
31 lines
692 B
Nix
31 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";
|
|
};
|
|
}
|