mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
84 lines
1.4 KiB
Nix
84 lines
1.4 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, desktop-file-utils
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, vala
|
|
, wrapGAppsHook4
|
|
, evolution-data-server-gtk4
|
|
, glib
|
|
, glib-networking
|
|
, gst_all_1
|
|
, gtk4
|
|
, gtksourceview5
|
|
, gxml
|
|
, json-glib
|
|
, libadwaita
|
|
, libgee
|
|
, libical
|
|
, libportal-gtk4
|
|
, libsecret
|
|
, libsoup_3
|
|
, pantheon
|
|
, sqlite
|
|
, webkitgtk_6_0
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "planify";
|
|
version = "4.11.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alainm23";
|
|
repo = "planify";
|
|
rev = version;
|
|
hash = "sha256-ADNMSXvfeAT53coAtCu3CVCU5XUFhLbvAH3WPFoKJVE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
evolution-data-server-gtk4
|
|
glib
|
|
glib-networking
|
|
# Needed for GtkMediaStream creation with success.ogg, see #311295.
|
|
gst_all_1.gst-plugins-base
|
|
gst_all_1.gst-plugins-good
|
|
gtk4
|
|
gtksourceview5
|
|
gxml
|
|
json-glib
|
|
libadwaita
|
|
libgee
|
|
libical
|
|
libportal-gtk4
|
|
libsecret
|
|
libsoup_3
|
|
pantheon.granite7
|
|
sqlite
|
|
webkitgtk_6_0
|
|
];
|
|
|
|
mesonFlags = [
|
|
"-Dprofile=default"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Task manager with Todoist support designed for GNU/Linux";
|
|
homepage = "https://github.com/alainm23/planify";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ ] ++ teams.pantheon.members;
|
|
platforms = platforms.linux;
|
|
mainProgram = "io.github.alainm23.planify";
|
|
};
|
|
}
|