From 5672a51a805c4e602c14c29bdb931a9a7ce55be3 Mon Sep 17 00:00:00 2001 From: Roman Kuznetsov Date: Sat, 15 Jun 2019 17:17:50 +0200 Subject: [PATCH] grsync: init at 1.2.6 Use mirror url Co-Authored-By: Mario Rodas --- pkgs/applications/misc/grsync/default.nix | 32 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/applications/misc/grsync/default.nix diff --git a/pkgs/applications/misc/grsync/default.nix b/pkgs/applications/misc/grsync/default.nix new file mode 100644 index 000000000000..3e1bb31091f8 --- /dev/null +++ b/pkgs/applications/misc/grsync/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchurl, dee, gtk2, intltool, libdbusmenu-gtk2, libunity, pkg-config, rsync }: + +stdenv.mkDerivation rec { + version = "1.2.6"; + pname = "grsync"; + + src = fetchurl { + url = "mirror://sourceforge/grsync/grsync-${version}.tar.gz"; + sha256 = "06ani65d58p8r3jvxjwpwyqrr07ya3icdqc243nxcrv7bvmarmb6"; + }; + + nativeBuildInputs = [ + intltool + pkg-config + ]; + + buildInputs = [ + dee + gtk2 + libdbusmenu-gtk2 + libunity + rsync + ]; + + meta = with stdenv.lib; { + description = "Grsync is used to synchronize folders, files and make backups"; + homepage = "http://www.opbyte.it/grsync/"; + license = licenses.gpl1; + platforms = platforms.linux; + maintainers = [ maintainers.kuznero ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2bcac8daf9be..88b6c5be40d7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -171,6 +171,8 @@ in digitalbitbox = libsForQt5.callPackage ../applications/misc/digitalbitbox { }; + grsync = callPackage ../applications/misc/grsync { }; + dockerTools = callPackage ../build-support/docker { }; nix-prefetch-docker = callPackage ../build-support/docker/nix-prefetch-docker.nix { };