mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03:00
aurea: init at 1.6.1
This commit is contained in:
parent
a1fc88bb0b
commit
858d5255ee
1 changed files with 69 additions and 0 deletions
69
pkgs/by-name/au/aurea/package.nix
Normal file
69
pkgs/by-name/au/aurea/package.nix
Normal file
|
@ -0,0 +1,69 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
python3Packages,
|
||||||
|
fetchFromGitHub,
|
||||||
|
meson,
|
||||||
|
ninja,
|
||||||
|
blueprint-compiler,
|
||||||
|
desktop-file-utils,
|
||||||
|
pkg-config,
|
||||||
|
wrapGAppsHook4,
|
||||||
|
libsoup_3,
|
||||||
|
glib-networking,
|
||||||
|
libadwaita,
|
||||||
|
nix-update-script,
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3Packages.buildPythonApplication rec {
|
||||||
|
pname = "aurea";
|
||||||
|
version = "1.6.1";
|
||||||
|
pyproject = false; # uses meson
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "CleoMenezesJr";
|
||||||
|
repo = "Aurea";
|
||||||
|
tag = version;
|
||||||
|
hash = "sha256-XoLqtuh4ZIeKo8xb1ccaK+9K3uGuQfZt9Fb6NeUDCjE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
blueprint-compiler
|
||||||
|
pkg-config
|
||||||
|
wrapGAppsHook4
|
||||||
|
desktop-file-utils
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libadwaita
|
||||||
|
libsoup_3
|
||||||
|
glib-networking
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = with python3Packages; [
|
||||||
|
pygobject3
|
||||||
|
pillow
|
||||||
|
];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
dontWrapGApps = true;
|
||||||
|
|
||||||
|
makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" ];
|
||||||
|
|
||||||
|
postInstallCheck = ''
|
||||||
|
mesonCheckPhase
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Flatpak metainfo banner previewer";
|
||||||
|
homepage = "https://github.com/CleoMenezesJr/Aurea";
|
||||||
|
mainProgram = "aurea";
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
license = with lib.licenses; [ gpl3Plus ];
|
||||||
|
maintainers = with lib.maintainers; [ emaryn ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue