nixpkgs-suyu/pkgs/applications/graphics/fondo/default.nix

75 lines
1.2 KiB
Nix
Raw Normal View History

2019-07-04 10:48:25 +02:00
{ stdenv
, fetchFromGitHub
, nix-update-script
2019-07-04 10:48:25 +02:00
, pantheon
, vala
2019-07-04 10:48:25 +02:00
, pkgconfig
, meson
, ninja
, python3
, glib
, gsettings-desktop-schemas
, gtk3
, libgee
, json-glib
, glib-networking
, libsoup
, libunity
, 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";
2020-05-24 21:54:23 +02:00
version = "1.3.9";
2019-02-05 21:25:46 +01:00
src = fetchFromGitHub {
owner = "calo001";
repo = pname;
rev = version;
2020-05-24 21:54:23 +02:00
sha256 = "1gyi80j2c38j62miv8a8nsx1pad169sa4fx0b85m2yv0x7fz492w";
2019-02-05 21:25:46 +01:00
};
nativeBuildInputs = [
desktop-file-utils
2019-02-05 21:25:46 +01:00
meson
ninja
pkgconfig
python3
vala
2019-02-05 21:25:46 +01: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-23 00:19:30 +01:00
passthru = {
updateScript = nix-update-script {
2019-12-23 00:19:30 +01:00
attrPath = pname;
};
};
2019-02-05 21:25:46 +01:00
meta = with stdenv.lib; {
description = "Find the most beautiful wallpapers for your desktop";
homepage = "https://github.com/calo001/fondo";
2019-02-05 21:25:46 +01:00
license = licenses.agpl3Plus;
maintainers = with maintainers; [ worldofpeace ];
platforms = platforms.linux;
};
}