summary refs log tree commit diff
path: root/pkgs/development/libraries/gsignond
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2018-08-17 10:52:40 -0400
committerworldofpeace <worldofpeace@users.noreply.github.com>2018-10-19 06:29:04 -0400
commit95210447eeaf489af115e94118f2815f9ea847f3 (patch)
tree586a4201493f2fe165d6c469c32f34d3af523bb4 /pkgs/development/libraries/gsignond
parent0bcd20e3d8d168661c09d36eb95998a20f789b77 (diff)
downloadnixpkgs-95210447eeaf489af115e94118f2815f9ea847f3.tar
nixpkgs-95210447eeaf489af115e94118f2815f9ea847f3.tar.gz
nixpkgs-95210447eeaf489af115e94118f2815f9ea847f3.tar.bz2
nixpkgs-95210447eeaf489af115e94118f2815f9ea847f3.tar.lz
nixpkgs-95210447eeaf489af115e94118f2815f9ea847f3.tar.xz
nixpkgs-95210447eeaf489af115e94118f2815f9ea847f3.tar.zst
nixpkgs-95210447eeaf489af115e94118f2815f9ea847f3.zip
gsignondPlugins.lastfm: init at 2018-05-07
Diffstat (limited to 'pkgs/development/libraries/gsignond')
-rw-r--r--pkgs/development/libraries/gsignond/plugins/lastfm.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gsignond/plugins/lastfm.nix b/pkgs/development/libraries/gsignond/plugins/lastfm.nix
new file mode 100644
index 00000000000..a23c1487881
--- /dev/null
+++ b/pkgs/development/libraries/gsignond/plugins/lastfm.nix
@@ -0,0 +1,38 @@
+{ stdenv, fetchFromGitLab, pkgconfig, meson, ninja, vala, glib, gsignond, json-glib, libsoup, gobjectIntrospection }:
+
+stdenv.mkDerivation rec {
+  name = "gsignond-plugin-lastfm-${version}";
+  version = "2018-05-07";
+
+  src = fetchFromGitLab {
+    owner = "accounts-sso";
+    repo = "gsignond-plugin-lastfm";
+    rev = "0a7a5f8511282e45cfe35987b81f27f158f0648c";
+    sha256 = "0ay6ir9zg9l0264x5xwd7c6j8qmwlhrifkkkjd1yrjh9sqxyfj7f";
+  };
+
+  nativeBuildInputs = [
+    gobjectIntrospection
+    meson
+    ninja
+    pkgconfig
+    vala
+  ];
+
+  buildInputs = [
+    glib
+    gsignond
+    json-glib
+    libsoup
+  ];
+
+  PKG_CONFIG_GSIGNOND_GPLUGINSDIR = "${placeholder "out"}/lib/gsignond/gplugins";
+
+  meta = with stdenv.lib; {
+    description = "Plugin for the Accounts-SSO gSignOn daemon handles the Last.FM credentials.";
+    homepage = https://gitlab.com/accounts-sso/gsignond-plugin-lastfm;
+    license = licenses.lgpl21Plus;
+    maintainers = with maintainers; [ worldofpeace ];
+    platforms = platforms.linux;
+  };
+}