Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
77 lines
1.4 KiB
Nix
77 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
wrapGAppsHook4,
|
|
blueprint-compiler,
|
|
desktop-file-utils,
|
|
python3Packages,
|
|
glib,
|
|
gtk4,
|
|
libadwaita,
|
|
gobject-introspection,
|
|
gst_all_1,
|
|
nix-update-script,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "blanket";
|
|
version = "0.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rafaelmardojai";
|
|
repo = "blanket";
|
|
tag = version;
|
|
hash = "sha256-LnHL/1DJXiKx9U+JkT4Wjx1vtTmKLpzZ8q6uLT5a2MY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
blueprint-compiler
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
desktop-file-utils
|
|
gobject-introspection
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk4
|
|
libadwaita
|
|
gst_all_1.gstreamer
|
|
gst_all_1.gst-plugins-base
|
|
gst_all_1.gst-plugins-good
|
|
gst_all_1.gst-plugins-bad
|
|
];
|
|
|
|
propagatedBuildInputs = with python3Packages; [ pygobject3 ];
|
|
|
|
pyproject = false;
|
|
|
|
dontWrapGApps = true;
|
|
|
|
preFixup = ''
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
description = "Listen to different sounds";
|
|
changelog = "https://github.com/rafaelmardojai/blanket/releases/tag/${version}";
|
|
homepage = "https://github.com/rafaelmardojai/blanket";
|
|
license = lib.licenses.gpl3Plus;
|
|
mainProgram = "blanket";
|
|
maintainers = with lib.maintainers; [
|
|
onny
|
|
];
|
|
teams = [ lib.teams.gnome-circle ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|