2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja, vala, glib, gsignond, json-glib, libsoup, gobject-introspection }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "gsignond-plugin-lastfm";
|
|
|
|
version = "2018-05-07";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "accounts-sso";
|
|
|
|
repo = "gsignond-plugin-lastfm";
|
|
|
|
rev = "0a7a5f8511282e45cfe35987b81f27f158f0648c";
|
|
|
|
sha256 = "0ay6ir9zg9l0264x5xwd7c6j8qmwlhrifkkkjd1yrjh9sqxyfj7f";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gobject-introspection
|
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
vala
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gsignond
|
|
|
|
json-glib
|
|
|
|
libsoup
|
|
|
|
];
|
|
|
|
|
|
|
|
PKG_CONFIG_GSIGNOND_GPLUGINSDIR = "${placeholder "out"}/lib/gsignond/gplugins";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Plugin for the Accounts-SSO gSignOn daemon that handles Last.FM credentials";
|
|
|
|
homepage = "https://gitlab.com/accounts-sso/gsignond-plugin-lastfm";
|
|
|
|
license = licenses.lgpl21Plus;
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|