nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 fetchFromGitea,
3 lib,
4 nix-update-script,
5 rustPlatform,
6}:
7
8rustPlatform.buildRustPackage (finalAttrs: {
9 pname = "improv-setup";
10 version = "1.1.0";
11
12 src = fetchFromGitea {
13 domain = "git.clerie.de";
14 owner = "clerie";
15 repo = "improv-setup";
16 tag = "v${finalAttrs.version}";
17 hash = "sha256-N/HMvyZfWuxzNg0IDvyNVJiNBh7gb+v38mjVYmt2vw4=";
18 };
19
20 cargoHash = "sha256-vv7i+RsOjYaVWLmyBcvYNdiKsPOP4GyKyWAYB718Liw=";
21
22 passthru.updateScript = nix-update-script { };
23
24 meta = {
25 description = "Configure Wifi credentials on IOT devices using Improv serial protocol";
26 homepage = "https://git.clerie.de/clerie/improv-setup/";
27 license = lib.licenses.gpl3Only;
28 maintainers = with lib.maintainers; [ fooker ];
29 };
30})