mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
55 lines
1.3 KiB
Nix
55 lines
1.3 KiB
Nix
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig
|
|
, wrapGAppsHook, itstool, desktop-file-utils
|
|
, glib, gtk3, evolution-data-server
|
|
, libuuid, webkitgtk, zeitgeist
|
|
, gnome3, libxml2 }:
|
|
|
|
let
|
|
version = "3.28.3";
|
|
in stdenv.mkDerivation rec {
|
|
name = "bijiben-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/bijiben/${gnome3.versionBranch version}/${name}.tar.xz";
|
|
sha256 = "0lg92fl6dmrybkxs3gqhyr8rq945y64k51l6s72yiads7pqabli2";
|
|
};
|
|
|
|
doCheck = true;
|
|
|
|
postPatch = ''
|
|
chmod +x build-aux/meson_post_install.py
|
|
patchShebangs build-aux/meson_post_install.py
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
meson ninja pkgconfig gettext itstool libxml2 desktop-file-utils wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
glib gtk3 libuuid webkitgtk gnome3.tracker
|
|
gnome3.gnome-online-accounts zeitgeist
|
|
gnome3.gsettings-desktop-schemas
|
|
evolution-data-server
|
|
gnome3.defaultIconTheme
|
|
];
|
|
|
|
mesonFlags = [
|
|
"-Dzeitgeist=true"
|
|
"-Dupdate_mimedb=false"
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = "bijiben";
|
|
attrPath = "gnome3.bijiben";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Note editor designed to remain simple to use";
|
|
homepage = https://wiki.gnome.org/Apps/Bijiben;
|
|
license = licenses.gpl3;
|
|
maintainers = gnome3.maintainers;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|