nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 69 lines 1.3 kB view raw
1{ 2 lib, 3 python3Packages, 4 fetchFromGitHub, 5 meson, 6 ninja, 7 blueprint-compiler, 8 desktop-file-utils, 9 pkg-config, 10 wrapGAppsHook4, 11 libsoup_3, 12 glib-networking, 13 libadwaita, 14 nix-update-script, 15}: 16 17python3Packages.buildPythonApplication rec { 18 pname = "aurea"; 19 version = "1.6.1"; 20 pyproject = false; # uses meson 21 22 src = fetchFromGitHub { 23 owner = "CleoMenezesJr"; 24 repo = "Aurea"; 25 tag = version; 26 hash = "sha256-XoLqtuh4ZIeKo8xb1ccaK+9K3uGuQfZt9Fb6NeUDCjE="; 27 }; 28 29 nativeBuildInputs = [ 30 meson 31 ninja 32 blueprint-compiler 33 pkg-config 34 wrapGAppsHook4 35 desktop-file-utils 36 ]; 37 38 buildInputs = [ 39 libadwaita 40 libsoup_3 41 glib-networking 42 ]; 43 44 dependencies = with python3Packages; [ 45 pygobject3 46 pillow 47 ]; 48 49 strictDeps = true; 50 51 dontWrapGApps = true; 52 53 makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" ]; 54 55 postInstallCheck = '' 56 mesonCheckPhase 57 ''; 58 59 passthru.updateScript = nix-update-script { }; 60 61 meta = { 62 description = "Flatpak metainfo banner previewer"; 63 homepage = "https://github.com/CleoMenezesJr/Aurea"; 64 mainProgram = "aurea"; 65 platforms = lib.platforms.linux; 66 license = with lib.licenses; [ gpl3Plus ]; 67 maintainers = with lib.maintainers; [ ]; 68 }; 69}