depot/pkgs/by-name/iw/iwqr/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

38 lines
812 B
Nix

{
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";
};
}