nixpkgs-suyu/pkgs/development/libraries/libaccounts-glib/default.nix
worldofpeace 913a6510ed libaccounts-glib: 1.23 -> 1.24
- Switched to the Meson Build System
2018-11-07 17:05:19 -05:00

52 lines
1.2 KiB
Nix

{ stdenv, fetchFromGitLab, meson, ninja, glib, check, python3, vala, gtk-doc, glibcLocales
, libxml2, libxslt, pkgconfig, sqlite, docbook_xsl, docbook_xml_dtd_43, gobjectIntrospection }:
stdenv.mkDerivation rec {
name = "libaccounts-glib-${version}";
version = "1.24";
outputs = [ "out" "dev" "devdoc" "py" ];
src = fetchFromGitLab {
owner = "accounts-sso";
repo = "libaccounts-glib";
rev = version;
sha256 = "0y8smg1rd279lrr9ad8b499i8pbkajmwd4xn41rdh9h93hs9apn7";
};
# See: https://gitlab.com/accounts-sso/libaccounts-glib/merge_requests/22
patches = [ ./py-override.patch ];
nativeBuildInputs = [
check
docbook_xml_dtd_43
docbook_xsl
glibcLocales
gobjectIntrospection
gtk-doc
meson
ninja
pkgconfig
vala
];
buildInputs = [
glib
libxml2
libxslt
python3.pkgs.pygobject3
sqlite
];
LC_ALL = "en_US.UTF-8";
mesonFlags = [
"-Dpy-overrides-dir=${placeholder ''py''}/${python3.sitePackages}/gi/overrides"
];
meta = with stdenv.lib; {
description = "Library for managing accounts which can be used from GLib applications";
platforms = platforms.linux;
license = licenses.lgpl21;
};
}