2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja, glib, gsignond, check
|
2018-08-17 13:41:08 +01:00
|
|
|
, json-glib, libsoup, gnutls, gtk-doc, docbook_xml_dtd_43, docbook_xml_dtd_45
|
2018-12-02 11:41:15 +00:00
|
|
|
, docbook_xsl, glibcLocales, gobject-introspection }:
|
2018-08-17 13:41:08 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gsignond-plugin-oauth";
|
2018-08-17 13:41:08 +01:00
|
|
|
version = "2018-10-15";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "accounts-sso";
|
|
|
|
repo = "gsignond-plugin-oa";
|
|
|
|
rev = "d471cebfd7c50567b1244277a9559f18f8d58691";
|
|
|
|
sha256 = "00axl8wwp2arc6h4bpr4m3ik2hy8an0lbm48q2a9r94krmq56hnx";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
check
|
|
|
|
docbook_xml_dtd_43
|
|
|
|
docbook_xml_dtd_45
|
|
|
|
docbook_xsl
|
|
|
|
glibcLocales
|
2018-12-02 11:41:15 +00:00
|
|
|
gobject-introspection
|
2018-08-17 13:41:08 +01:00
|
|
|
gtk-doc
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2018-08-17 13:41:08 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gnutls
|
|
|
|
gsignond
|
|
|
|
json-glib
|
|
|
|
libsoup
|
|
|
|
];
|
|
|
|
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
|
|
|
|
PKG_CONFIG_GSIGNOND_GPLUGINSDIR = "${placeholder "out"}/lib/gsignond/gplugins";
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-11-30 03:05:41 +00:00
|
|
|
description = "Plugin for the Accounts-SSO gSignOn daemon that handles the OAuth 1.0 and 2.0 authentication protocols";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://gitlab.com/accounts-sso/gsignond-plugin-oa";
|
2018-08-17 13:41:08 +01:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ worldofpeace ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|