Skip to content

Commit

Permalink
syncthing-gtk: 0.6.3 -> 0.9.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jokogr committed Dec 31, 2016
1 parent 7692364 commit dc70cd1
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -25056,19 +25056,28 @@ in {
};

syncthing-gtk = buildPythonPackage rec {
version = "0.6.3";
version = "0.9.2.3";
name = "syncthing-gtk-${version}";
src = pkgs.fetchFromGitHub {
owner = "syncthing";
repo = "syncthing-gtk";
rev = "v${version}";
sha256 = "1qa5bw2qizjiqvkms8i31wsjf8cw9p0ciamxgfgq6n37wcalv6ms";
sha256 = "0chl0f0kp6z0z00d1f3xjlicjfr9rzabw39wmjr66fwb5w5hcc42";
};

disabled = isPy3k;

propagatedBuildInputs = with self; [ pkgs.syncthing dateutil pyinotify pkgs.libnotify pkgs.psmisc
pygobject3 pkgs.gtk3 ];
propagatedBuildInputs = with self; [ pkgs.syncthing dateutil pyinotify
pkgs.libnotify
(pkgs.librsvg.override { withGTK = true; })
pkgs.psmisc pygobject3 pkgs.gtk3
];

preFixup = ''
wrapProgram $out/bin/syncthing-gtk \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH"
'';

patchPhase = ''
substituteInPlace "scripts/syncthing-gtk" \
Expand Down

0 comments on commit dc70cd1

Please sign in to comment.