4 , gobject-introspection
20 pythonEnv = python3.withPackages (pp: with pp; [
37 stdenv.mkDerivation rec {
41 src = fetchFromGitHub {
45 hash = "sha256-GJp2iRB3F42pSfYd2FLpmDTZ1zqt8thdRPAHu9/ns5E=";
54 polkit # for its gettext
67 "-Dbundle-zeroconf=false"
71 chmod +x install-scripts/*
74 find . -type f -exec sed -i \
75 -e s,/usr/libexec/warpinator,$out/libexec/warpinator,g \
78 # We make bubblewrap mode always available since
79 # landlock mode is not supported in old kernels.
80 substituteInPlace src/warpinator-launch.py \
81 --replace-fail '"/usr/bin/python3"' '"${pythonEnv.interpreter}"' \
82 --replace-fail "/usr/bin/bwrap" "${bubblewrap}/bin/bwrap" \
83 --replace-fail 'GLib.find_program_in_path("bwrap")' "True"
86 passthru.updateScript = gitUpdater {
87 ignoredVersions = "^master.*";
91 homepage = "https://github.com/linuxmint/warpinator";
92 description = "Share files across the LAN";
93 license = licenses.gpl3Plus;
94 platforms = platforms.linux;
95 maintainers = teams.cinnamon.members;