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

74 lines
1.2 KiB
Nix
Raw Normal View History

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