nucleus: init at 1

awwpotato eaa197d9 47230ff9

+65
+65
pkgs/by-name/nu/nucleus/package.nix
··· 1 + { 2 + lib, 3 + python3Packages, 4 + fetchFromGitea, 5 + ninja, 6 + meson, 7 + pkg-config, 8 + wrapGAppsHook4, 9 + glib, 10 + desktop-file-utils, 11 + appstream-glib, 12 + blueprint-compiler, 13 + libadwaita, 14 + nix-update-script, 15 + }: 16 + let 17 + version = "1"; 18 + in 19 + python3Packages.buildPythonApplication { 20 + pname = "nucleus"; 21 + inherit version; 22 + pyproject = false; 23 + 24 + src = fetchFromGitea { 25 + domain = "codeberg.org"; 26 + owner = "lo-vely"; 27 + repo = "nucleus"; 28 + tag = "v${version}"; 29 + hash = "sha256-8y3sbtfq4hZuEwReduIkud91SOj9XrURrZRUs2M74mQ="; 30 + }; 31 + 32 + nativeBuildInputs = [ 33 + meson 34 + ninja 35 + pkg-config 36 + wrapGAppsHook4 37 + glib 38 + desktop-file-utils 39 + appstream-glib 40 + blueprint-compiler 41 + ]; 42 + 43 + dependencies = with python3Packages; [ 44 + pygobject3 45 + ]; 46 + 47 + buildInputs = [ 48 + libadwaita 49 + ]; 50 + 51 + dontWrapGApps = true; 52 + makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" ]; 53 + 54 + passthru.updateScript = nix-update-script { }; 55 + 56 + meta = { 57 + description = "Unofficial GNOME Periodic Table"; 58 + homepage = "https://codeberg.org/lo-vely/nucleus"; 59 + changelog = "https://codeberg.org/lo-vely/nucleus/releases/tag/v${version}"; 60 + license = lib.licenses.gpl3Plus; 61 + mainProgram = "nucleus"; 62 + platforms = lib.platforms.linux; 63 + maintainers = [ lib.maintainers.awwpotato ]; 64 + }; 65 + }