mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #289576 from chewblacka/init-apx-gui
apx-gui: init at 0.1.1
This commit is contained in:
commit
6826d17e1c
59
pkgs/by-name/ap/apx-gui/package.nix
Normal file
59
pkgs/by-name/ap/apx-gui/package.nix
Normal file
@ -0,0 +1,59 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, appstream-glib
|
||||
, desktop-file-utils
|
||||
, gobject-introspection
|
||||
, libadwaita
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, python3
|
||||
, wrapGAppsHook4
|
||||
, apx
|
||||
, gnome-console
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "apx-gui";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Vanilla-OS";
|
||||
repo = "apx-gui";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-orP5kAsoXX0zyDskeIPKKHNt5c757eUm9un4Ws6uFYA=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
appstream-glib
|
||||
desktop-file-utils
|
||||
gobject-introspection
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
(python3.withPackages (ps: [ ps.pygobject3 ]))
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libadwaita
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix PATH : "${lib.makeBinPath [ apx gnome-console ]}"
|
||||
)
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A GUI frontend for Apx in GTK 4 and Libadwaita";
|
||||
homepage = "https://github.com/Vanilla-OS/apx-gui";
|
||||
license = lib.licenses.gpl3Only;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ chewblacka ];
|
||||
mainProgram = "apx-gui";
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user