iwqr: init at 0.1.1

This commit is contained in:
h7x4 2024-09-22 23:40:58 +02:00
parent 9fec82b3e7
commit 3872fa9814
No known key found for this signature in database
GPG Key ID: 9F2F7D8250F35146

View File

@ -0,0 +1,38 @@
{
lib,
rustPlatform,
fetchFromGitea,
nix-update-script,
testers,
iwqr,
}:
rustPlatform.buildRustPackage rec {
pname = "iwqr";
version = "0.1.1";
src = fetchFromGitea {
domain = "git.kroner.dev";
owner = "kreny";
repo = "iwqr";
rev = "v${version}";
hash = "sha256-z9CjCJvi6MlZGghZKx13gGSKwUnECAf0cr9P2ABskh0=";
};
cargoHash = "sha256-EFen2x/+a5xLsDmodNCkuGBR7+Oy2fdXcxzANLcWWZs=";
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion {
package = iwqr;
};
};
meta = with lib; {
description = "Tool for generating qr codes for iwd networks";
homepage = "https://git.kroner.dev/kreny/iwqr";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ h7x4 ];
mainProgram = "iwqr";
};
}