mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
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.
32 lines
1.0 KiB
Nix
32 lines
1.0 KiB
Nix
{ avahiSupport ? false # build support for Avahi in libinfinity
|
|
, lib, stdenv, fetchFromGitHub, autoconf, automake, pkg-config, wrapGAppsHook3, yelp-tools
|
|
, gtkmm3, gsasl, gtksourceview3, libxmlxx, libinfinity, intltool, itstool }:
|
|
|
|
let
|
|
libinf = libinfinity.override { gtkWidgets = true; inherit avahiSupport; };
|
|
in stdenv.mkDerivation rec {
|
|
pname = "gobby";
|
|
version = "0.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gobby";
|
|
repo = "gobby";
|
|
rev = "v${version}";
|
|
sha256 = "06cbc2y4xkw89jaa0ayhgh7fxr5p2nv3jjs8h2xcbbbgwaw08lk0";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoconf automake pkg-config intltool itstool yelp-tools wrapGAppsHook3 ];
|
|
buildInputs = [ gtkmm3 gsasl gtksourceview3 libxmlxx libinf ];
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
meta = with lib; {
|
|
homepage = "http://gobby.0x539.de/";
|
|
description = "GTK-based collaborative editor supporting multiple documents in one session and a multi-user chat";
|
|
mainProgram = "gobby-0.5";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = [ ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|