mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
syncthing-gtk: 0.6.3 -> 0.9.2.3
This commit is contained in:
parent
76923648af
commit
dc70cd1026
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user