571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
35 lines
778 B
Nix
35 lines
778 B
Nix
{ lib, stdenv, fetchurl, dee, gtk3, intltool, libdbusmenu-gtk3, libunity, pkg-config, rsync, wrapGAppsHook3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.3.1";
|
|
pname = "grsync";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/grsync/grsync-${version}.tar.gz";
|
|
sha256 = "sha256-M8wOJdqmLlunCRyuo8g6jcdNxddyHEUB00nyEMSzxtM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
intltool
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
dee
|
|
gtk3
|
|
libdbusmenu-gtk3
|
|
libunity
|
|
rsync
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Synchronize folders, files and make backups";
|
|
homepage = "http://www.opbyte.it/grsync/";
|
|
license = licenses.gpl2Only;
|
|
platforms = platforms.linux;
|
|
mainProgram = "grsync";
|
|
maintainers = [ maintainers.kuznero ];
|
|
};
|
|
}
|