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