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