9 , gobject-introspection
13 python3.pkgs.buildPythonApplication rec {
18 src = fetchFromGitHub {
22 hash = "sha256-Am62Azm27irIUQEpZVY8ZP2pslH1eaiyRBdq4eSakQA=";
26 sed -i -e "s|/usr/share|$out/share|" usr/lib/sticky/*.py
40 propagatedBuildInputs = with python3.pkgs; [
46 glib-compile-schemas usr/share/glib-2.0/schemas
49 # hook for gobject-introspection doesn't like strictDeps
50 # https://github.com/NixOS/nixpkgs/issues/56943
64 patchShebangs $out/lib/sticky
65 mv $out/lib/sticky/sticky.py $out/bin/sticky
66 sed -i -e "1aimport sys;sys.path.append('$out/lib/sticky')" $out/bin/sticky
71 # Arguments to be passed to `makeWrapper`, only used by buildPython*
73 makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
77 updateScript = gitUpdater {
78 ignoredVersions = ''master.*'';
83 description = "A sticky notes app for the linux desktop";
84 homepage = "https://github.com/linuxmint/sticky";
85 license = licenses.gpl2Only;
86 platforms = platforms.linux;
87 maintainers = with maintainers; [ linsui bobby285271 ];