2021-05-12 14:11:46 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2019-07-04 10:48:25 +02:00
|
|
|
, fetchFromGitHub
|
2020-07-29 18:33:39 +02:00
|
|
|
, nix-update-script
|
2019-07-04 10:48:25 +02:00
|
|
|
, pantheon
|
2019-10-10 04:47:37 +02:00
|
|
|
, vala
|
2021-01-19 07:50:56 +01:00
|
|
|
, pkg-config
|
2019-07-04 10:48:25 +02:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, python3
|
|
|
|
, glib
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, gtk3
|
|
|
|
, libgee
|
2021-09-06 16:39:47 +02:00
|
|
|
, libhandy
|
|
|
|
, libsoup
|
2019-07-04 10:48:25 +02:00
|
|
|
, json-glib
|
|
|
|
, glib-networking
|
2020-01-31 02:58:24 +01:00
|
|
|
, desktop-file-utils
|
2019-07-04 10:48:25 +02:00
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2019-02-05 21:25:46 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fondo";
|
2021-09-06 16:39:47 +02:00
|
|
|
version = "1.6.1";
|
2019-02-05 21:25:46 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "calo001";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-09-06 16:39:47 +02:00
|
|
|
sha256 = "sha256-JiDbkVs+EZRWRohSiuh8xFFgEhbnMYZfnZtz5Z4Wdb0=";
|
2019-02-05 21:25:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-01-31 02:58:24 +01:00
|
|
|
desktop-file-utils
|
2019-02-05 21:25:46 +01:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 07:50:56 +01:00
|
|
|
pkg-config
|
2019-02-05 21:25:46 +01:00
|
|
|
python3
|
2020-01-31 02:58:24 +01:00
|
|
|
vala
|
2019-02-05 21:25:46 +01:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
glib-networking
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
gtk3
|
|
|
|
json-glib
|
|
|
|
libgee
|
2021-09-06 16:39:47 +02:00
|
|
|
libhandy
|
2019-02-05 21:25:46 +01:00
|
|
|
libsoup
|
|
|
|
pantheon.granite
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
2021-11-03 11:27:38 +01:00
|
|
|
passthru.updateScript = nix-update-script {
|
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/calo001/fondo";
|
2021-05-12 14:11:46 +02:00
|
|
|
description = "Find the most beautiful wallpapers for your desktop";
|
2019-02-05 21:25:46 +01:00
|
|
|
license = licenses.agpl3Plus;
|
2021-08-02 02:46:24 +02:00
|
|
|
maintainers = with maintainers; [ AndersonTorres ] ++ teams.pantheon.members;
|
2019-02-05 21:25:46 +01:00
|
|
|
platforms = platforms.linux;
|
2021-11-03 11:27:38 +01:00
|
|
|
mainProgram = "com.github.calo001.fondo";
|
2021-05-12 14:11:46 +02:00
|
|
|
};
|
2019-02-05 21:25:46 +01:00
|
|
|
}
|