diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/gsignond/plugins/lastfm.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/gsignond/plugins/lastfm.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/gsignond/plugins/lastfm.nix b/nixpkgs/pkgs/development/libraries/gsignond/plugins/lastfm.nix new file mode 100644 index 000000000000..a05069f205fe --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/gsignond/plugins/lastfm.nix @@ -0,0 +1,38 @@ +{ lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja, vala, glib, gsignond, json-glib, libsoup, gobject-introspection }: + +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 + pkg-config + vala + ]; + + buildInputs = [ + glib + gsignond + json-glib + libsoup + ]; + + PKG_CONFIG_GSIGNOND_GPLUGINSDIR = "${placeholder "out"}/lib/gsignond/gplugins"; + + meta = with lib; { + 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; + maintainers = with maintainers; [ worldofpeace ]; + platforms = platforms.linux; + }; +} |