3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics/fondo/default.nix

73 lines
1.2 KiB
Nix
Raw Normal View History

2021-05-12 13:11:46 +01:00
{ lib
, stdenv
2019-07-04 09:48:25 +01:00
, fetchFromGitHub
, nix-update-script
2019-07-04 09:48:25 +01:00
, pantheon
, vala
, 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
, 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-03-15 12:19:08 +00:00
version = "1.5.2";
2019-02-05 20:25:46 +00:00
src = fetchFromGitHub {
owner = "calo001";
repo = pname;
rev = version;
2021-03-15 12:19:08 +00:00
sha256 = "sha256-EATZRmYSGUzWYaPqFT4mLTGGvwUp+Mn93yMF2JsPaYo=";
2019-02-05 20:25:46 +00:00
};
nativeBuildInputs = [
desktop-file-utils
2019-02-05 20:25:46 +00:00
meson
ninja
pkg-config
2019-02-05 20:25:46 +00:00
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
'';
meta = with lib; {
homepage = "https://github.com/calo001/fondo";
2021-05-12 13:11:46 +01:00
description = "Find the most beautiful wallpapers for your desktop";
2019-02-05 20:25:46 +00:00
license = licenses.agpl3Plus;
2021-05-12 13:11:46 +01:00
maintainers = with maintainers; [ AndersonTorres ];
2019-02-05 20:25:46 +00:00
platforms = platforms.linux;
};
2021-05-12 13:11:46 +01:00
passthru.updateScript = nix-update-script {
attrPath = pname;
};
2019-02-05 20:25:46 +00:00
}