Loading pkgs/by-name/co/cosmic-ext-applet-weather/package.nix 0 → 100644 +55 −0 Original line number Diff line number Diff line { lib, stdenv, rustPlatform, fetchFromGitHub, libcosmicAppHook, just, nix-update-script, }: rustPlatform.buildRustPackage { pname = "cosmic-ext-applet-weather"; version = "0-unstable-2025-08-23"; src = fetchFromGitHub { owner = "cosmic-utils"; repo = "cosmic-ext-applet-weather"; rev = "f613c9dd156e84290765c34ca98ff8ede3b530fa"; hash = "sha256-VHCgMw4nWTKAbanEnMS/xCUzEW3NeWGmVkBqU2bJP/c="; }; cargoHash = "sha256-CS4P1DHzTmkZdANw6UQsB0kjKTeaf3cAQ/2EiPHSg7g="; nativeBuildInputs = [ libcosmicAppHook just ]; dontUseJustBuild = true; dontUseJustCheck = true; justFlags = [ "--set" "prefix" (placeholder "out") "--set" "cargo-target-dir" "target/${stdenv.hostPlatform.rust.cargoShortTarget}" ]; passthru.updateScript = nix-update-script { extraArgs = [ "--version" "branch=HEAD" ]; }; meta = { description = "Simple weather info applet for COSMIC"; homepage = "https://github.com/cosmic-utils/cosmic-ext-applet-weather"; license = lib.licenses.gpl3Only; mainProgram = "cosmic-ext-applet-weather"; maintainers = with lib.maintainers; [ HeitorAugustoLN ]; platforms = lib.platforms.linux; }; } Loading
pkgs/by-name/co/cosmic-ext-applet-weather/package.nix 0 → 100644 +55 −0 Original line number Diff line number Diff line { lib, stdenv, rustPlatform, fetchFromGitHub, libcosmicAppHook, just, nix-update-script, }: rustPlatform.buildRustPackage { pname = "cosmic-ext-applet-weather"; version = "0-unstable-2025-08-23"; src = fetchFromGitHub { owner = "cosmic-utils"; repo = "cosmic-ext-applet-weather"; rev = "f613c9dd156e84290765c34ca98ff8ede3b530fa"; hash = "sha256-VHCgMw4nWTKAbanEnMS/xCUzEW3NeWGmVkBqU2bJP/c="; }; cargoHash = "sha256-CS4P1DHzTmkZdANw6UQsB0kjKTeaf3cAQ/2EiPHSg7g="; nativeBuildInputs = [ libcosmicAppHook just ]; dontUseJustBuild = true; dontUseJustCheck = true; justFlags = [ "--set" "prefix" (placeholder "out") "--set" "cargo-target-dir" "target/${stdenv.hostPlatform.rust.cargoShortTarget}" ]; passthru.updateScript = nix-update-script { extraArgs = [ "--version" "branch=HEAD" ]; }; meta = { description = "Simple weather info applet for COSMIC"; homepage = "https://github.com/cosmic-utils/cosmic-ext-applet-weather"; license = lib.licenses.gpl3Only; mainProgram = "cosmic-ext-applet-weather"; maintainers = with lib.maintainers; [ HeitorAugustoLN ]; platforms = lib.platforms.linux; }; }