10 , gobject-introspection
16 buildPythonPackage rec {
22 src = fetchFromGitHub {
25 rev = "refs/tags/master.mint${version}";
26 hash = "sha256-2Gx85y0ARu6EfDYAT9ZL154RH0R1HY78tm3rceODnZU=";
34 propagatedBuildInputs = [
44 substituteInPlace "xapp/os.py" --replace "/usr/bin/pkexec" "${polkit}/bin/pkexec"
48 # This is typically set by pipInstallHook/eggInstallHook,
49 # so we have to do so manually when using meson.
50 # https://github.com/NixOS/nixpkgs/issues/175227
51 export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
55 pythonImportsCheck = [ "xapp" ];
57 passthru.updateScript = gitUpdater {
58 ignoredVersions = "^master.*";
62 homepage = "https://github.com/linuxmint/python-xapp";
63 description = "Cross-desktop libraries and common resources for python";
64 license = licenses.lgpl2;
65 platforms = platforms.linux;
66 maintainers = teams.cinnamon.members;