rewaita: init at 1.0.1 (#430435)

authored by

Seth Flynn and committed by
GitHub
f9ee4029 7f494c2b

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