Skip to content

Commit

Permalink
Merge pull request NixOS#6780 from DamienCassou/syncthing-gtk
Browse files Browse the repository at this point in the history
Add syncthing-gtk
  • Loading branch information
DamienCassou committed Mar 13, 2015
2 parents 06ee4c6 + db42c89 commit 459e942
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10894,6 +10894,35 @@ let
};
};

syncthing-gtk = buildPythonPackage rec {
version = "0.6.2";
name = "syncthing-gtk-${version}";
src = pkgs.fetchFromGitHub {
owner = "syncthing";
repo = "syncthing-gtk";
rev = "v${version}";
sha256 = "0dfs5kzdj9ld20i23w6ldj7z761rwnnbqkr0l12wkgcxi58jcqds";
};

disabled = isPy3k;

propagatedBuildInputs = with self; [ pkgs.syncthing pygobject3 dateutil pkgs.gtk3 pyinotify pkgs.libnotify pkgs.psmisc ];

patchPhase = ''
substituteInPlace "scripts/syncthing-gtk" \
--replace "/usr/share" "$out/share" \
'';


meta = with stdenv.lib; {
description = " GTK3 & python based GUI for Syncthing ";
maintainers = [ maintainers.DamienCassou ];
platforms = pkgs.syncthing.meta.platforms;
homepage = "https://github.com/syncthing/syncthing-gtk";
license = stdenv.lib.licenses.gpl2;
};
};

tarsnapper = buildPythonPackage rec {
name = "tarsnapper-0.2.1";
disabled = isPy3k;
Expand Down

0 comments on commit 459e942

Please sign in to comment.