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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

74 lines
1.3 KiB
Nix
Raw Normal View History

2021-05-12 12:11:46 +00:00
{ lib
, stdenv
2019-07-04 08:48:25 +00:00
, fetchFromGitHub
, nix-update-script
2019-07-04 08:48:25 +00:00
, pantheon
, vala
, pkg-config
2019-07-04 08:48:25 +00:00
, meson
, ninja
, python3
, glib
, gsettings-desktop-schemas
, gtk3
, libgee
2021-09-06 14:39:47 +00:00
, libhandy
, libsoup
2019-07-04 08:48:25 +00:00
, json-glib
, glib-networking
, desktop-file-utils
2019-07-04 08:48:25 +00:00
, wrapGAppsHook
}:
2019-02-05 20:25:46 +00:00
stdenv.mkDerivation rec {
pname = "fondo";
2021-09-06 14:39:47 +00:00
version = "1.6.1";
2019-02-05 20:25:46 +00:00
src = fetchFromGitHub {
owner = "calo001";
repo = pname;
rev = version;
2021-09-06 14:39:47 +00:00
sha256 = "sha256-JiDbkVs+EZRWRohSiuh8xFFgEhbnMYZfnZtz5Z4Wdb0=";
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
2021-09-06 14:39:47 +00:00
libhandy
2019-02-05 20:25:46 +00:00
libsoup
pantheon.granite
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
passthru.updateScript = nix-update-script {
attrPath = pname;
};
meta = with lib; {
homepage = "https://github.com/calo001/fondo";
2021-05-12 12:11:46 +00:00
description = "Find the most beautiful wallpapers for your desktop";
2019-02-05 20:25:46 +00:00
license = licenses.agpl3Plus;
2021-08-02 00:46:24 +00:00
maintainers = with maintainers; [ AndersonTorres ] ++ teams.pantheon.members;
2019-02-05 20:25:46 +00:00
platforms = platforms.linux;
mainProgram = "com.github.calo001.fondo";
2021-05-12 12:11:46 +00:00
};
2019-02-05 20:25:46 +00:00
}