cosmic-ext-applet-caffeine: init at 2025-09-29 (#418845)

authored by colemickens.tngl.sh and committed by GitHub 1dfebf18 79306bc3

Changed files
+55
pkgs
by-name
co
cosmic-ext-applet-caffeine
+55
pkgs/by-name/co/cosmic-ext-applet-caffeine/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + rustPlatform, 6 + libcosmicAppHook, 7 + just, 8 + nix-update-script, 9 + }: 10 + rustPlatform.buildRustPackage { 11 + pname = "cosmic-ext-applet-caffeine"; 12 + version = "2025-09-29"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "tropicbliss"; 16 + repo = "cosmic-ext-applet-caffeine"; 17 + rev = "a43db670e03894ff402fa19eec3d60f7c7bf663c"; 18 + hash = "sha256-0hIc62FdjIGU028z8/WCx2q317e+PCA25CSibBVi/p0="; 19 + }; 20 + 21 + cargoHash = "sha256-nl/giMIQ5xNSOgjv67OMWkfuAVtdIcqZDbXC1mYwXBM="; 22 + 23 + nativeBuildInputs = [ 24 + libcosmicAppHook 25 + just 26 + ]; 27 + 28 + dontUseJustBuild = true; 29 + dontUseJustCheck = true; 30 + 31 + justFlags = [ 32 + "--set" 33 + "prefix" 34 + (placeholder "out") 35 + "--set" 36 + "bin-src" 37 + "target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-ext-applet-caffeine" 38 + ]; 39 + 40 + passthru.updateScript = nix-update-script { 41 + extraArgs = [ 42 + "--version" 43 + "branch=HEAD" 44 + ]; 45 + }; 46 + 47 + meta = { 48 + description = "Caffeine Applet for the COSMIC desktop"; 49 + homepage = "https://github.com/tropicbliss/cosmic-ext-applet-caffeine"; 50 + license = lib.licenses.mit; 51 + mainProgram = "cosmic-ext-applet-caffeine"; 52 + maintainers = [ lib.maintainers.HeitorAugustoLN ]; 53 + platforms = lib.platforms.linux; 54 + }; 55 + }