nucleus: init at 1
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitea,
|
||||
ninja,
|
||||
meson,
|
||||
pkg-config,
|
||||
wrapGAppsHook4,
|
||||
glib,
|
||||
desktop-file-utils,
|
||||
appstream-glib,
|
||||
blueprint-compiler,
|
||||
libadwaita,
|
||||
nix-update-script,
|
||||
}:
|
||||
let
|
||||
version = "1";
|
||||
in
|
||||
python3Packages.buildPythonApplication {
|
||||
pname = "nucleus";
|
||||
inherit version;
|
||||
pyproject = false;
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "lo-vely";
|
||||
repo = "nucleus";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-8y3sbtfq4hZuEwReduIkud91SOj9XrURrZRUs2M74mQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
wrapGAppsHook4
|
||||
glib
|
||||
desktop-file-utils
|
||||
appstream-glib
|
||||
blueprint-compiler
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
pygobject3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libadwaita
|
||||
];
|
||||
|
||||
dontWrapGApps = true;
|
||||
makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Unofficial GNOME Periodic Table";
|
||||
homepage = "https://codeberg.org/lo-vely/nucleus";
|
||||
changelog = "https://codeberg.org/lo-vely/nucleus/releases/tag/v${version}";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
mainProgram = "nucleus";
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.awwpotato ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user