Merge pull request #328651 from scientiac/master

haylxon: init at 1.0.0
This commit is contained in:
Florian 2024-07-22 11:48:14 +02:00 committed by GitHub
commit 1e05360e43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 36 additions and 0 deletions

View File

@ -18164,6 +18164,12 @@
githubId = 4983935;
keys = [ { fingerprint = "30BB FF3F AB0B BB3E 0435 F83C 8E8F F66E 2AE8 D970"; } ];
};
scientiac = {
email = "iac@scientiac.space";
name = "Spandan Guragain";
github = "scientiac";
githubId = 58177655;
};
scm2342 = {
name = "Sven Mattsen";
email = "nix@sven.cc";

View File

@ -0,0 +1,30 @@
{
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";
};
}