python310Packages.onlykey-solo-python: fix compatibility with fido2 1.1.3 (#354382)
[NixPkgs.git] / pkgs / desktops / pantheon / services / pantheon-agent-geoclue2 / default.nix
blob20c28133d234b3ef32c6f01563b251ef8f791ebd
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , nix-update-script
5 , pkg-config
6 , meson
7 , ninja
8 , vala
9 , glib
10 , gtk3
11 , libgee
12 , desktop-file-utils
13 , geoclue2
14 , granite
15 , wrapGAppsHook3
18 stdenv.mkDerivation rec {
19   pname = "pantheon-agent-geoclue2";
20   version = "1.0.6";
22   src = fetchFromGitHub {
23     owner = "elementary";
24     repo = pname;
25     rev = version;
26     sha256 = "sha256-DvE0/bR4mVfqCw/c/1h75M8DfCiNPZ2h6Jl6ySk1qxs=";
27   };
29   nativeBuildInputs = [
30     desktop-file-utils
31     meson
32     ninja
33     pkg-config
34     vala
35     wrapGAppsHook3
36   ];
38   buildInputs = [
39     geoclue2
40     granite
41     gtk3
42     libgee
43   ];
45   # This should be provided by a post_install.py script - See -> https://github.com/elementary/pantheon-agent-geoclue2/pull/21
46   postInstall = ''
47     ${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas
48   '';
50   passthru = {
51     updateScript = nix-update-script { };
52   };
54   meta = with lib; {
55     description = "Pantheon Geoclue2 Agent";
56     homepage = "https://github.com/elementary/pantheon-agent-geoclue2";
57     license = licenses.gpl3Plus;
58     platforms = platforms.linux;
59     maintainers = teams.pantheon.members;
60   };