gsignondPlugins.oauth: init at 2018-10-04
This commit is contained in:
parent
3522d66f5a
commit
0bcd20e3d8
48
pkgs/development/libraries/gsignond/plugins/oauth.nix
Normal file
48
pkgs/development/libraries/gsignond/plugins/oauth.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ stdenv, fetchFromGitLab, fetchpatch, pkgconfig, meson, ninja, glib, gsignond, check
|
||||
, json-glib, libsoup, gnutls, gtk-doc, docbook_xml_dtd_43, docbook_xml_dtd_45
|
||||
, docbook_xsl, glibcLocales, gobjectIntrospection }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gsignond-plugin-oauth-${version}";
|
||||
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
|
||||
gobjectIntrospection
|
||||
gtk-doc
|
||||
meson
|
||||
ninja
|
||||
pkgconfig
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
gnutls
|
||||
gsignond
|
||||
json-glib
|
||||
libsoup
|
||||
];
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
PKG_CONFIG_GSIGNOND_GPLUGINSDIR = "${placeholder "out"}/lib/gsignond/gplugins";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Plugin for the Accounts-SSO gSignOn daemon that handles the OAuth 1.0 and 2.0 authentication protocols.";
|
||||
homepage = https://gitlab.com/accounts-sso/gsignond-plugin-oa;
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ worldofpeace ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -12772,6 +12772,7 @@ with pkgs;
|
||||
|
||||
gsignondPlugins = {
|
||||
sasl = callPackage ../development/libraries/gsignond/plugins/sasl.nix { };
|
||||
oauth = callPackage ../development/libraries/gsignond/plugins/oauth.nix { };
|
||||
};
|
||||
|
||||
### DEVELOPMENT / LIBRARIES / AGDA
|
||||
|
Loading…
Reference in New Issue
Block a user