dynamic-wallpaper: init at 0.1.0
This commit is contained in:
parent
3d7cd4fd4a
commit
bfaf545a33
65
pkgs/tools/graphics/dynamic-wallpaper/default.nix
Normal file
65
pkgs/tools/graphics/dynamic-wallpaper/default.nix
Normal file
@ -0,0 +1,65 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, blueprint-compiler
|
||||
, wrapGAppsHook4
|
||||
, appstream-glib
|
||||
, desktop-file-utils
|
||||
, glib
|
||||
, gtk4
|
||||
, libadwaita
|
||||
, librsvg
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "dynamic-wallpaper";
|
||||
version = "0.1.0";
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dusansimic";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-DAdx34EYO8ysQzbWrAIPoghhibwFtoqCi8oyDVyO5lk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
blueprint-compiler
|
||||
wrapGAppsHook4
|
||||
appstream-glib
|
||||
desktop-file-utils
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
gtk4
|
||||
libadwaita
|
||||
librsvg
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
pygobject3
|
||||
];
|
||||
|
||||
# Prevent double wrapping
|
||||
dontWrapGApps = true;
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dynamic wallpaper maker for Gnome";
|
||||
homepage = "https://github.com/dusansimic/dynamic-wallpaper";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "me.dusansimic.DynamicWallpaper";
|
||||
maintainers = with maintainers; [ zendo ];
|
||||
};
|
||||
}
|
@ -3892,6 +3892,8 @@ with pkgs;
|
||||
|
||||
dynamic-colors = callPackage ../tools/misc/dynamic-colors { };
|
||||
|
||||
dynamic-wallpaper = callPackage ../tools/graphics/dynamic-wallpaper { };
|
||||
|
||||
dyncall = callPackage ../development/libraries/dyncall { };
|
||||
|
||||
dyndnsc = callPackage ../applications/networking/dyndns/dyndnsc { };
|
||||
|
Loading…
Reference in New Issue
Block a user