Merge staging-next into master

This commit is contained in:
Frederik Rietdijk 2018-12-08 16:29:21 +01:00
commit 3e950d584c
486 changed files with 2671 additions and 2390 deletions

View File

@ -35,7 +35,7 @@ with lib;
networkmanager-vpnc = super.networkmanager-vpnc.override { withGnome = false; };
networkmanager-iodine = super.networkmanager-iodine.override { withGnome = false; };
pinentry = super.pinentry_ncurses;
gobjectIntrospection = super.gobjectIntrospection.override { x11Support = false; };
gobject-introspection = super.gobject-introspection.override { x11Support = false; };
}));
};
}

View File

@ -248,6 +248,7 @@
./services/desktops/gnome3/gnome-documents.nix
./services/desktops/gnome3/gnome-keyring.nix
./services/desktops/gnome3/gnome-online-accounts.nix
./services/desktops/gnome3/gnome-remote-desktop.nix
./services/desktops/gnome3/gnome-online-miners.nix
./services/desktops/gnome3/gnome-terminal-server.nix
./services/desktops/gnome3/gnome-user-share.nix

View File

@ -0,0 +1,18 @@
# Remote desktop daemon using Pipewire.
{ config, lib, pkgs, ... }:
with lib;
{
###### interface
options = {
services.gnome3.gnome-remote-desktop = {
enable = mkEnableOption "Remote Desktop support using Pipewire";
};
};
###### implementation
config = mkIf config.services.gnome3.gnome-remote-desktop.enable {
systemd.packages = [ pkgs.gnome3.gnome-remote-desktop ];
};
}

View File

@ -107,6 +107,7 @@ in {
services.gnome3.gnome-documents.enable = mkDefault true;
services.gnome3.gnome-keyring.enable = true;
services.gnome3.gnome-online-accounts.enable = mkDefault true;
services.gnome3.gnome-remote-desktop.enable = mkDefault true;
services.gnome3.gnome-terminal-server.enable = mkDefault true;
services.gnome3.gnome-user-share.enable = mkDefault true;
services.gnome3.gvfs.enable = true;

View File

@ -116,7 +116,7 @@ in
environment = {
GDM_X_SERVER_EXTRA_ARGS = toString
(filter (arg: arg != "-terminate") cfg.xserverArgs);
GDM_SESSIONS_DIR = "${cfg.session.desktops}/share/xsessions";
XDG_DATA_DIRS = "${cfg.session.desktops}/share/";
# Find the mouse
XCURSOR_PATH = "~/.icons:${pkgs.gnome3.adwaita-icon-theme}/share/icons";
} // optionalAttrs (xSessionWrapper != null) {

View File

@ -8,7 +8,7 @@
, desktop-file-utils
, gtk3
, gst_all_1
, gobjectIntrospection
, gobject-introspection
, python3Packages
, file
, cairo
@ -36,7 +36,7 @@ python3Packages.buildPythonApplication rec {
wrapGAppsHook
appstream-glib
desktop-file-utils
gobjectIntrospection
gobject-introspection
];
buildInputs = [
@ -66,10 +66,6 @@ python3Packages.buildPythonApplication rec {
substituteInPlace cozy/magic/magic.py --replace "ctypes.util.find_library('magic')" "'${file}/lib/libmagic${stdenv.hostPlatform.extensions.sharedLibrary}'"
'';
checkPhase = ''
ninja test
'';
postInstall = ''
ln -s $out/bin/com.github.geigi.cozy $out/bin/cozy
'';

View File

@ -0,0 +1,44 @@
{ stdenv, fetchurl, fetchFromGitLab, meson, ninja, gettext, cargo, rustc, python3, rustPlatform, pkgconfig, gnome3
, glib, libhandy, gtk3, dbus, openssl, sqlite, gst_all_1, wrapGAppsHook }:
# TODO: build from git for easier updates
# rustPlatform.buildRustPackage rec {
stdenv.mkDerivation rec {
version = "0.4.6";
name = "gnome-podcasts-${version}";
src = fetchurl {
url = https://gitlab.gnome.org/World/podcasts/uploads/e59ac5d618d7daf4c7f33ba72957c466/gnome-podcasts-0.4.6.tar.xz;
sha256 = "0g2rk3w251fp5jwbxs5ya1adv8nsgdqjy1vmfg8qqab6qyndhbrc";
};
# src = fetchFromGitLab {
# domain = "gitlab.gnome.org";
# owner = "World";
# repo = "podcasts";
# rev = version;
# sha256 = "15xj98dhxvys0cnya9488qsfsm0ys1wy69wkc39z8j6hwdm7byq2";
# };
nativeBuildInputs = [
meson ninja pkgconfig gettext cargo rustc python3 wrapGAppsHook
];
buildInputs = [
glib gtk3 libhandy dbus openssl sqlite gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-bad
];
# cargoSha256 = "0721b5f700vvvzvmdl8nfjaa6j412q1fjssgrjv8n6rmn9z13d2v";
postPatch = ''
chmod +x scripts/compile-gschema.py # patchShebangs requires executable file
patchShebangs scripts/compile-gschema.py
'';
meta = with stdenv.lib; {
description = "Listen to your favorite podcasts";
homepage = https://wiki.gnome.org/Apps/Podcasts;
license = licenses.gpl3;
maintainers = gnome3.maintainers;
platforms = platforms.unix;
};
}

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, python3, python3Packages, intltool
, glibcLocales, gnome3, gtk3, wrapGAppsHook
, ipodSupport ? false, libgpod, gobjectIntrospection
, ipodSupport ? false, libgpod, gobject-introspection
}:
python3Packages.buildPythonApplication rec {
@ -27,7 +27,7 @@ python3Packages.buildPythonApplication rec {
buildInputs = [
python3
gobjectIntrospection
gobject-introspection
gnome3.defaultIconTheme
];

View File

@ -1,7 +1,7 @@
{ stdenv, fetchgit, meson, ninja, pkgconfig
, python3, gtk3, gst_all_1, libsecret, libsoup
, appstream-glib, desktop-file-utils, gnome3
, gobjectIntrospection, wrapGAppsHook }:
, gobject-introspection, wrapGAppsHook }:
python3.pkgs.buildPythonApplication rec {
version = "0.9.611";
@ -20,7 +20,7 @@ python3.pkgs.buildPythonApplication rec {
nativeBuildInputs = with python3.pkgs; [
appstream-glib
desktop-file-utils
gobjectIntrospection
gobject-introspection
meson
ninja
pkgconfig

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, pythonPackages, wrapGAppsHook
, gst_all_1, glib-networking, gobjectIntrospection
, gst_all_1, glib-networking, gobject-introspection
}:
pythonPackages.buildPythonApplication rec {
@ -17,7 +17,7 @@ pythonPackages.buildPythonApplication rec {
buildInputs = with gst_all_1; [
gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad
glib-networking gobjectIntrospection
glib-networking gobject-introspection
];
propagatedBuildInputs = with pythonPackages; [

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pythonPackages, mopidy, gobjectIntrospection }:
{ stdenv, fetchFromGitHub, pythonPackages, mopidy, gobject-introspection }:
pythonPackages.buildPythonApplication rec {
pname = "mopidy-local-images";
@ -11,7 +11,7 @@ pythonPackages.buildPythonApplication rec {
sha256 = "0gdqxws0jish50mmi57mlqcs659wrllzv00czl18niz94vzvyc0d";
};
buildInputs = [ gobjectIntrospection ];
buildInputs = [ gobject-introspection ];
checkInputs = [
pythonPackages.mock

View File

@ -1,4 +1,4 @@
{ fetchFromGitHub, stdenv, pythonPackages, gtk3, gobjectIntrospection, libnotify
{ fetchFromGitHub, stdenv, pythonPackages, gtk3, gobject-introspection, libnotify
, gst_all_1, wrapGAppsHook }:
pythonPackages.buildPythonApplication rec {
@ -27,7 +27,7 @@ pythonPackages.buildPythonApplication rec {
buildInputs = [ wrapGAppsHook ];
propagatedBuildInputs =
[ gtk3 gobjectIntrospection libnotify ] ++
[ gtk3 gobject-introspection libnotify ] ++
(with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad ]) ++
(with pythonPackages; [ pygobject3 pylast ]);

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, python3, wrapGAppsHook, gettext, intltool, libsoup, gnome3, gtk3, gdk_pixbuf,
tag ? "", xvfb_run, dbus, glibcLocales, glib, glib-networking, gobjectIntrospection,
tag ? "", xvfb_run, dbus, glibcLocales, glib, glib-networking, gobject-introspection,
gst_all_1, withGstPlugins ? true,
xineBackend ? false, xineLib,
withDbusPython ? false, withPyInotify ? false, withMusicBrainzNgs ? false, withPahoMqtt ? false,
@ -24,7 +24,7 @@ python3.pkgs.buildPythonApplication rec {
checkInputs = with python3.pkgs; [ pytest pytest_xdist pyflakes pycodestyle polib xvfb_run dbus.daemon glibcLocales ];
buildInputs = [ gnome3.defaultIconTheme libsoup glib glib-networking gtk3 webkitgtk gdk_pixbuf keybinder3 gtksourceview libmodplug libappindicator-gtk3 kakasi gobjectIntrospection ]
buildInputs = [ gnome3.defaultIconTheme libsoup glib glib-networking gtk3 webkitgtk gdk_pixbuf keybinder3 gtksourceview libmodplug libappindicator-gtk3 kakasi gobject-introspection ]
++ (if xineBackend then [ xineLib ] else with gst_all_1;
[ gstreamer gst-plugins-base ] ++ optionals withGstPlugins [ gst-plugins-good gst-plugins-ugly gst-plugins-bad ]);

View File

@ -80,7 +80,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
checkInputs = [ gtest ];
checkPhase = "ctest";
# doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
doCheck = false; # fails to pick up supplied gtest, tries to download it instead

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, pkgconfig, intltool, wrapGAppsHook
, python3Packages, gnome3, gtk3, gobjectIntrospection}:
, python3Packages, gnome3, gtk3, gobject-introspection}:
let
inherit (python3Packages) buildPythonApplication isPy3k dbus-python pygobject3 mpd2;
@ -29,7 +29,7 @@ in buildPythonApplication rec {
'';
propagatedBuildInputs = [
gobjectIntrospection gtk3 pygobject3
gobject-introspection gtk3 pygobject3
];
# The optional tagpy dependency (for editing metadata) is not yet

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, cmake, ninja, pkgconfig, vala_0_40, gtk3, libxml2, granite, webkitgtk, clutter-gtk
, clutter-gst, libunity, libnotify, sqlite, gst_all_1, libsoup, json-glib, gnome3, gobjectIntrospection, wrapGAppsHook }:
, clutter-gst, libunity, libnotify, sqlite, gst_all_1, libsoup, json-glib, gnome3, gobject-introspection, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "vocal";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
gobjectIntrospection
gobject-introspection
libxml2
ninja
pkgconfig

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, pam, pkgconfig, autoconf, automake, libtool, libxcb
, glib, libXdmcp, itstool, intltool, libxklavier, libgcrypt, audit, busybox
, polkit, accountsservice, gtk-doc, gnome3, gobjectIntrospection, vala
, polkit, accountsservice, gtk-doc, gnome3, gobject-introspection, vala
, withQt4 ? false, qt4
, withQt5 ? false, qtbase
}:
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
automake
gnome3.yelp-tools
gnome3.yelp-xsl
gobjectIntrospection
gobject-introspection
gtk-doc
intltool
itstool

View File

@ -3,16 +3,15 @@
, desktop-file-utils
, docbook_xsl
, docbook_xml_dtd_43
, fetchpatch
, fetchurl
, flatpak
, glibcLocales
, gnome3
, gobjectIntrospection
, gobject-introspection
, gspell
, gtk-doc
, gtk3
, gtksourceview3
, gtksourceview4
, hicolor-icon-theme
, json-glib
, jsonrpc-glib
@ -31,14 +30,14 @@
, wrapGAppsHook
}:
let
version = "3.28.4";
version = "3.30.0";
pname = "gnome-builder";
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0ibb74jlyrl5f6rj1b74196zfg2qaf870lxgi76qzpkgwq0iya05";
sha256 = "1pshzpjy9rk6gijlm97s316aihykzxrmb07vilp17q5857passak";
};
nativeBuildInputs = [
@ -47,7 +46,7 @@ in stdenv.mkDerivation {
docbook_xsl
docbook_xml_dtd_43
glibcLocales # for Meson's gtkdochelper
gobjectIntrospection
gobject-introspection
gtk-doc
hicolor-icon-theme
meson
@ -67,7 +66,7 @@ in stdenv.mkDerivation {
gnome3.vte
gspell
gtk3
gtksourceview3
gtksourceview4
json-glib
jsonrpc-glib
libdazzle
@ -87,24 +86,6 @@ in stdenv.mkDerivation {
patchShebangs build-aux/meson/post_install.py
'';
patches = [
(fetchpatch {
name = "absolute-shared-library-path.patch";
url = "https://gitlab.gnome.org/GNOME/gnome-builder/commit/1011cabc519fd7322e2d695c79bfce3e18ff6200.patch";
sha256 = "1g12zziidzrphp527aa8sklfaln4qpjprkz73f0c9w5ph6k252fw";
})
(fetchpatch {
name = "python-libprefix.patch";
url = "https://gitlab.gnome.org/GNOME/gnome-builder/commit/43494ce83a347f369ed4cfb8dd71d3b93452736b.patch";
sha256 = "0kgi3n3g13n1j4xa61ln9xiahcfdc43bxi5mw4yva2d5px445msf";
})
(fetchpatch {
name = "ostree-dependency.patch";
url = "https://gitlab.gnome.org/GNOME/gnome-builder/commit/8b11773b65c95f464a0de16b91318c1ca73deeae.patch";
sha256 = "18r4hd90id0w6r0lzqpw83bcj45nm9jhr46a0ffi1mcayb18mgbk";
})
];
mesonFlags = [
"-Dpython_libprefix=${python3.libPrefix}"
"-Dwith_docs=true"

View File

@ -1,14 +1,14 @@
{ stdenv, fetchurl, wrapGAppsHook
, tepl, amtk, gnome3, glib, pkgconfig, intltool, itstool, libxml2 }:
let
version = "3.30.1";
version = "3.30.2";
pname = "gnome-latex";
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0yvkp311ikmiypzj2q6ypvyw5migxiqp8lwhyl3qq6mk6p0x66w8";
sha256 = "0fn3vy6w714wy0bz3y11zpdprpwxbv5xfiyyxjwp2nix9mbvv2sm";
};
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, fetchpatch, vala_0_40, pkgconfig, meson, ninja, python3
, granite, gtk3, desktop-file-utils, gnome3, gtksourceview, webkitgtk, gtkspell3
, discount, gobjectIntrospection, wrapGAppsHook }:
, discount, gobject-introspection, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "quilter";
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
desktop-file-utils
gobjectIntrospection
gobject-introspection
meson
ninja
pkgconfig

View File

@ -1,5 +1,5 @@
{ lib, buildPythonApplication, fetchFromGitHub
, gdk_pixbuf, glib, gobjectIntrospection, gtk3, gtksourceview, pango, webkitgtk
, gdk_pixbuf, glib, gobject-introspection, gtk3, gtksourceview, pango, webkitgtk
, pygobject3, pyyaml
}:
@ -17,7 +17,7 @@ buildPythonApplication rec {
# We have not packaged tests.
doCheck = false;
nativeBuildInputs = [ gobjectIntrospection ];
nativeBuildInputs = [ gobject-introspection ];
propagatedBuildInputs = [
gdk_pixbuf glib gtk3 gtksourceview pango webkitgtk

View File

@ -1,12 +1,12 @@
{ lib, fetchFromGitHub }:
rec {
version = "8.1.0490";
version = "8.1.0535";
src = fetchFromGitHub {
owner = "vim";
repo = "vim";
rev = "v${version}";
sha256 = "0gmlz2w066pcrn0jzpv3gk1qwx148f33gvgf5nkfy4nl1ljki81r";
sha256 = "0kgh213ca2qfrwdqfimrnhlxidjbrg26icxw00rivjiv1blii7ck";
};
enableParallelBuilding = true;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, gtk3, intltool, json_c, lcms2, libpng, librsvg, gobjectIntrospection, hicolor-icon-theme
{ stdenv, fetchFromGitHub, gtk3, intltool, json_c, lcms2, libpng, librsvg, gobject-introspection, hicolor-icon-theme
, gdk_pixbuf, pkgconfig, python2Packages, scons, swig, wrapGAppsHook }:
let
@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [
intltool pkgconfig scons swig wrapGAppsHook
gobjectIntrospection # for setup hook
gobject-introspection # for setup hook
];
buildInputs = [

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, gettext, glib, libxml2, pkgconfig, swig, automake, gobjectIntrospection, cmake, ninja, libtiff, libjpeg, fftw, exiv2, lensfun, gtkmm2, libraw, lcms2, libexif, vips, expat, pcre, pugixml }:
{ stdenv, fetchFromGitHub, gettext, glib, libxml2, pkgconfig, swig, automake, gobject-introspection, cmake, ninja, libtiff, libjpeg, fftw, exiv2, lensfun, gtkmm2, libraw, lcms2, libexif, vips, expat, pcre, pugixml }:
stdenv.mkDerivation {
name = "photoflow-unstable-2018-08-28";
@ -17,7 +17,7 @@ stdenv.mkDerivation {
pkgconfig
swig
automake
gobjectIntrospection
gobject-introspection
cmake
ninja
];

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, python3Packages
, file, intltool, gobjectIntrospection, libgudev
, file, intltool, gobject-introspection, libgudev
, udisks, glib, gnome3, gst_all_1, libnotify
, exiv2, exiftool, qt5, gdk_pixbuf
}:
@ -23,7 +23,7 @@ python3Packages.buildPythonApplication rec {
--replace "import problemnotification" "import raphodo.problemnotification"
'';
nativeBuildInputs = [ file intltool gobjectIntrospection ];
nativeBuildInputs = [ file intltool gobject-introspection ];
buildInputs = [
libgudev

View File

@ -1,23 +1,23 @@
{ fetchurl, stdenv, meson, ninja, gtk3, libexif, libgphoto2, libsoup, libxml2, vala, sqlite
, webkitgtk, pkgconfig, gnome3, gst_all_1, libgudev, libraw, glib, json-glib
, gettext, desktop-file-utils, gdk_pixbuf, librsvg, wrapGAppsHook
, gobjectIntrospection, itstool, libgdata }:
, gobject-introspection, itstool, libgdata, python3 }:
# for dependencies see https://wiki.gnome.org/Apps/Shotwell/BuildingAndInstalling
let
pname = "shotwell";
version = "0.28.2";
version = "0.30.1";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0pa7lb33i4hdnz7hr7x938d48ilrnj47jzb99la79rmm08yyin8n";
sha256 = "01hsmig06hjv34yf9y60hv2gml593xfkza4ilq4b22gr8l4v2qip";
};
nativeBuildInputs = [
meson ninja vala pkgconfig itstool gettext desktop-file-utils wrapGAppsHook gobjectIntrospection
meson ninja vala pkgconfig itstool gettext desktop-file-utils python3 wrapGAppsHook gobject-introspection
];
buildInputs = [
@ -28,8 +28,9 @@ in stdenv.mkDerivation rec {
gnome3.gcr gnome3.defaultIconTheme libgdata
];
postInstall = ''
glib-compile-schemas $out/share/glib-2.0/schemas
postPatch = ''
chmod +x build-aux/meson/postinstall.py # patchShebangs requires executable file
patchShebangs build-aux/meson/postinstall.py
'';
passthru = {

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, automake, autoconf, libtool,
pkgconfig, file, intltool, libxml2, json-glib , sqlite, itstool,
librsvg, vala, gnome3, wrapGAppsHook, gobjectIntrospection
librsvg, vala, gnome3, wrapGAppsHook, gobject-introspection
}:
stdenv.mkDerivation rec {
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
gnome3.yelp-tools
wrapGAppsHook
# For setup hook
gobjectIntrospection
gobject-introspection
];
buildInputs = [

View File

@ -6,7 +6,7 @@
# Gtk deps
# upstream gImagereader supports Qt too
, gtk3, gobjectIntrospection, wrapGAppsHook
, gtk3, gobject-introspection, wrapGAppsHook
, gnome3, gtkspell3, gtkspellmm, cairomm
}:
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
# Gtk specific
wrapGAppsHook
gobjectIntrospection
gobject-introspection
];
buildInputs = [

View File

@ -0,0 +1,79 @@
{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, gnome3
, desktop-file-utils
, gettext
, itstool
, python3
, wrapGAppsHook
, gtk3
, glib
, libsoup
, gnome-online-accounts
, rest
, json-glib
, gnome-autoar
, gspell
, libcanberra }:
let
pname = "gnome-recipes";
version = "2.0.2";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1yymii3yf823d9x28fbhqdqm1wa30s40j94x0am9fjj0nzyd5s8v";
};
nativeBuildInputs = [
meson
ninja
pkgconfig
desktop-file-utils
gettext
itstool
python3
wrapGAppsHook
];
buildInputs = [
gtk3
glib
libsoup
gnome-online-accounts
rest
json-glib
gnome-autoar
gspell
libcanberra
];
# https://github.com/NixOS/nixpkgs/issues/36468
# https://gitlab.gnome.org/GNOME/recipes/issues/76
NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";
postPatch = ''
chmod +x src/list_to_c.py
patchShebangs src/list_to_c.py
patchShebangs meson_post_install.py
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
description = "Recipe management application for GNOME";
homepage = https://wiki.gnome.org/Apps/Recipes;
maintainers = gnome3.maintainers;
license = licenses.gpl3;
platforms = platforms.unix;
};
}

View File

@ -4,13 +4,13 @@
let
pname = "gnome-usage";
version = "3.28.0";
version = "3.30.0";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0130bwinpkz307nalw6ndi5mk38k5g6jna4gbw2916d54df6a4nq";
sha256 = "0f1vccw916az8hzsqmx6f57jvl68s3sbd3qk4rpwn42ks1v7nmsh";
};
nativeBuildInputs = [ meson ninja pkgconfig vala gettext libxml2 desktop-file-utils wrapGAppsHook ];

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, gtk3, pythonPackages, intltool, gnome3,
pango, gobjectIntrospection, wrapGAppsHook,
pango, gobject-introspection, wrapGAppsHook,
# Optional packages:
enableOSM ? true, osm-gps-map,
enableGraphviz ? true, graphviz,
@ -13,7 +13,7 @@ in buildPythonApplication rec {
name = "gramps-${version}";
nativeBuildInputs = [ wrapGAppsHook ];
buildInputs = [ intltool gtk3 gobjectIntrospection pango gnome3.gexiv2 ]
buildInputs = [ intltool gtk3 gobject-introspection pango gnome3.gexiv2 ]
# Map support
++ stdenv.lib.optional enableOSM osm-gps-map
# Graphviz support

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python3, gettext, gobjectIntrospection, wrapGAppsHook, glibcLocales
{ stdenv, fetchFromGitHub, python3, gettext, gobject-introspection, wrapGAppsHook, glibcLocales
, gtk3, keybinder3, libnotify, libutempter, vte }:
let
@ -14,7 +14,7 @@ in python3.pkgs.buildPythonApplication rec {
sha256 = "1j38z968ha8ij6wrgbwvr8ad930nvhybm9g7pf4s4zv6d3vln0vm";
};
nativeBuildInputs = [ gettext gobjectIntrospection wrapGAppsHook python3.pkgs.pip glibcLocales ];
nativeBuildInputs = [ gettext gobject-introspection wrapGAppsHook python3.pkgs.pip glibcLocales ];
buildInputs = [ gtk3 keybinder3 libnotify python3 vte ];

View File

@ -8,6 +8,8 @@ stdenv.mkDerivation {
sha256 = "0avmhdcj0hpr55fc0iih8fjykmdhn34c8mwdnqvl8jh4nhxxchxr";
};
NIX_CFLAGS_COMPILE = "-Wno-deprecated-declarations";
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [
xorg.libX11 glib gtk2 xorg.libXpm xorg.libXt xorg.libXext xneur

View File

@ -2,7 +2,7 @@
, fetchurl
, intltool
, python3Packages
, gobjectIntrospection
, gobject-introspection
, gtk3
, libwnck3
, keybinder3
@ -25,7 +25,7 @@ buildPythonApplication rec {
nativeBuildInputs = [
wrapGAppsHook intltool
# For setup hook
gobjectIntrospection wafHook
gobject-introspection wafHook
];
buildInputs = [ hicolor-icon-theme docutils libwnck3 keybinder3 ];
propagatedBuildInputs = [ pygobject3 gtk3 pyxdg dbus-python pycairo ];

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, vala_0_40, pkgconfig, meson, ninja, python3, granite
, gtk3, gnome3, gtksourceview, json-glib, gobjectIntrospection, wrapGAppsHook }:
, gtk3, gnome3, gtksourceview, json-glib, gobject-introspection, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "notejot";
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
gobjectIntrospection
gobject-introspection
meson
ninja
pkgconfig

View File

@ -7,7 +7,7 @@
, glib
, glibcLocales
, gnome3
, gobjectIntrospection
, gobject-introspection
, gsettings-desktop-schemas
, gtk3
, hunspell
@ -88,7 +88,7 @@ in python3.pkgs.buildPythonApplication rec {
nativeBuildInputs = [
glibcLocales
gobjectIntrospection # populate GI_TYPELIB_PATH
gobject-introspection # populate GI_TYPELIB_PATH
intltool
pkgconfig
];

View File

@ -1,15 +1,15 @@
{ stdenv, pkgconfig, fetchurl, buildPythonApplication
, autoreconfHook, wrapGAppsHook, gobjectIntrospection
, autoreconfHook, wrapGAppsHook, gobject-introspection
, intltool, yelp-tools, itstool, libxmlxx3
, python, pygobject3, gtk3, gnome3, substituteAll
, at-spi2-atk, at-spi2-core, pyatspi, dbus, dbus-python, pyxdg
, xkbcomp, gsettings-desktop-schemas
, xkbcomp, procps, lsof, coreutils, gsettings-desktop-schemas
, speechd, brltty, setproctitle, gst_all_1, gst-python
}:
let
pname = "orca";
version = "3.28.2";
version = "3.30.1";
in buildPythonApplication rec {
name = "${pname}-${version}";
@ -17,19 +17,22 @@ in buildPythonApplication rec {
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "08rh6ji680g5nrw2n7jrxrw7nwg04sj52jxffcfasgss2f51d38q";
sha256 = "1b9s69frjmghjm1p9a4rrvknl9m0qlwr7mr4lsxkvjnblhsnw0g7";
};
patches = [
(substituteAll {
src = ./fix-paths.patch;
cat = "${coreutils}/bin/cat";
lsof = "${lsof}/bin/lsof";
pgrep = "${procps}/bin/pgrep";
xkbcomp = "${xkbcomp}/bin/xkbcomp";
})
];
nativeBuildInputs = [
autoreconfHook wrapGAppsHook pkgconfig libxmlxx3
intltool yelp-tools itstool gobjectIntrospection
intltool yelp-tools itstool gobject-introspection
];
propagatedBuildInputs = [

View File

@ -1,3 +1,32 @@
--- a/src/orca/debug.py
+++ b/src/orca/debug.py
@@ -474,7 +474,7 @@
return traceit
def getOpenFDCount(pid):
- procs = subprocess.check_output([ 'lsof', '-w', '-Ff', '-p', str(pid)])
+ procs = subprocess.check_output([ '@lsof@', '-w', '-Ff', '-p', str(pid)])
procs = procs.decode('UTF-8').split('\n')
files = list(filter(lambda s: s and s[0] == 'f' and s[1:].isdigit(), procs))
@@ -482,7 +482,7 @@
def getCmdline(pid):
try:
- openFile = os.popen('cat /proc/%s/cmdline' % pid)
+ openFile = os.popen('@cat@ /proc/%s/cmdline' % pid)
cmdline = openFile.read()
openFile.close()
except:
@@ -492,7 +492,7 @@
return cmdline
def pidOf(procName):
- openFile = subprocess.Popen('pgrep %s' % procName,
+ openFile = subprocess.Popen('@pgrep@ %s' % procName,
shell=True,
stdout=subprocess.PIPE).stdout
pids = openFile.read()
--- a/src/orca/orca.py
+++ b/src/orca/orca.py
@@ -239,7 +239,7 @@
@ -27,3 +56,23 @@
stdin=subprocess.PIPE, stdout=None, stderr=None)
p.communicate(_originalXmodmap)
--- a/src/orca/orca_bin.py.in
+++ b/src/orca/orca_bin.py.in
@@ -59,7 +59,7 @@
name = "[DEAD]"
try:
- cmdline = subprocess.getoutput('cat /proc/%s/cmdline' % pid)
+ cmdline = subprocess.getoutput('@cat@ /proc/%s/cmdline' % pid)
except:
cmdline = '(exception encountered)'
else:
@@ -192,7 +192,7 @@
def otherOrcas():
"""Returns the pid of any other instances of Orca owned by this user."""
- openFile = subprocess.Popen('pgrep -u %s orca' % os.getuid(),
+ openFile = subprocess.Popen('@pgrep@ -u %s orca' % os.getuid(),
shell=True,
stdout=subprocess.PIPE).stdout
pids = openFile.read()

View File

@ -14,7 +14,7 @@ pythonPackages.buildPythonApplication rec {
nativeBuildInputs = [ wrapGAppsHook ];
buildInputs = with pkgs; [
gtk3
gobjectIntrospection
gobject-introspection
goocanvas2
poppler_gi
];

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, cmake, makeWrapper, pkgconfig, vala, gtk3, libgee
, poppler, libpthreadstubs, gstreamer, gst-plugins-base, librsvg, pcre, gobjectIntrospection }:
, poppler, libpthreadstubs, gstreamer, gst-plugins-base, librsvg, pcre, gobject-introspection }:
stdenv.mkDerivation rec {
name = "${product}-${version}";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake pkgconfig vala
# For setup hook
gobjectIntrospection
gobject-introspection
];
buildInputs = [ gstreamer gst-plugins-base gtk3 libgee poppler
libpthreadstubs makeWrapper librsvg pcre ];

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, vala, atk, cairo, glib, gnome3, gtk3, libwnck3
, libX11, libXfixes, libXi, pango, intltool, pkgconfig, libxml2
, bamf, gdk_pixbuf, libdbusmenu-gtk3, file
, wrapGAppsHook, autoreconfHook, gobjectIntrospection }:
, wrapGAppsHook, autoreconfHook, gobject-introspection }:
stdenv.mkDerivation rec {
pname = "plank";
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
intltool
libxml2 # xmllint
wrapGAppsHook
gobjectIntrospection
gobject-introspection
autoreconfHook
];

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, autoconf, automake, gettext, intltool
, libtool, pkgconfig, wrapGAppsHook, wrapPython, gobjectIntrospection
, libtool, pkgconfig, wrapGAppsHook, wrapPython, gobject-introspection
, gtk3, python, pygobject3, hicolor-icon-theme, pyxdg
, withQuartz ? stdenv.isDarwin, ApplicationServices
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
gobjectIntrospection
gobject-introspection
gtk3
python
hicolor-icon-theme

View File

@ -9,7 +9,7 @@
, gnome3
, meson
, ninja
, gobjectIntrospection
, gobject-introspection
, gsettings-desktop-schemas
, vala_0_40
, wrapGAppsHook }:
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
meson
ninja
gettext
gobjectIntrospection
gobject-introspection
libxml2
vala_0_40 # should be `elementary.vala` when elementary attribute set is merged
wrapGAppsHook

View File

@ -1,4 +1,4 @@
{ lib, python3Packages, gobjectIntrospection, libappindicator-gtk3, libnotify, gtk3, gnome3, xprintidle-ng, wrapGAppsHook, gdk_pixbuf, shared-mime-info, librsvg
{ lib, python3Packages, gobject-introspection, libappindicator-gtk3, libnotify, gtk3, gnome3, xprintidle-ng, wrapGAppsHook, gdk_pixbuf, shared-mime-info, librsvg
}:
let inherit (python3Packages) python buildPythonApplication fetchPypi;
@ -16,7 +16,7 @@ in buildPythonApplication rec {
buildInputs = [
gtk3
gobjectIntrospection
gobject-introspection
gnome3.defaultIconTheme
gnome3.adwaita-icon-theme
];

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub
, meson, ninja, pkgconfig, vala, gobjectIntrospection, gettext, wrapGAppsHook, python3, desktop-file-utils
, meson, ninja, pkgconfig, vala, gobject-introspection, gettext, wrapGAppsHook, python3, desktop-file-utils
, gtk3, glib, granite, libgee, libgda, gtksourceview, libxml2, libsecret }:
@ -20,7 +20,7 @@ in stdenv.mkDerivation rec {
sha256 = "14a0i9y003m4pvdfp4ax7jfxvyzvyfg45zhln44rm08rfngb0f7k";
};
nativeBuildInputs = [ meson ninja pkgconfig vala gobjectIntrospection gettext wrapGAppsHook python3 desktop-file-utils ];
nativeBuildInputs = [ meson ninja pkgconfig vala gobject-introspection gettext wrapGAppsHook python3 desktop-file-utils ];
buildInputs = [ gtk3 glib granite libgee sqlGda gtksourceview libxml2 libsecret ];

View File

@ -1,4 +1,4 @@
{fetchFromGitHub, stdenv, gtk3, pythonPackages, gobjectIntrospection}:
{fetchFromGitHub, stdenv, gtk3, pythonPackages, gobject-introspection}:
pythonPackages.buildPythonApplication rec {
name = "solaar-unstable-${version}";
version = "2018-02-02";
@ -10,7 +10,7 @@ pythonPackages.buildPythonApplication rec {
sha256 = "0zy5vmjzdybnjf0mpp8rny11sc43gmm8172svsm9s51h7x0v83y3";
};
propagatedBuildInputs = [pythonPackages.pygobject3 pythonPackages.pyudev gobjectIntrospection gtk3];
propagatedBuildInputs = [pythonPackages.pygobject3 pythonPackages.pyudev gobject-introspection gtk3];
postInstall = ''
wrapProgram "$out/bin/solaar" \
--prefix PYTHONPATH : "$PYTHONPATH" \

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, gettext, pkgconfig, glib, libnotify, gtk3, libgee
, keybinder3, json-glib, zeitgeist, vala_0_38, hicolor-icon-theme, gobjectIntrospection
, keybinder3, json-glib, zeitgeist, vala_0_38, hicolor-icon-theme, gobject-introspection
}:
let
@ -15,7 +15,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [
pkgconfig gettext vala_0_38
# For setup hook
gobjectIntrospection
gobject-introspection
];
buildInputs = [
glib libnotify gtk3 libgee keybinder3 json-glib zeitgeist

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python2, keybinder3, intltool, file, gtk3, gobjectIntrospection
{ stdenv, fetchurl, python2, keybinder3, intltool, file, gtk3, gobject-introspection
, libnotify, wrapGAppsHook, gnome3
}:
@ -11,7 +11,7 @@ python2.pkgs.buildPythonApplication rec {
sha256 = "95f76e3c0253956d19ceab2f8da709a496f1b9cf9b1c5b8d3cd0b6da3cc7be69";
};
nativeBuildInputs = [ file intltool wrapGAppsHook gobjectIntrospection ];
nativeBuildInputs = [ file intltool wrapGAppsHook gobject-introspection ];
buildInputs = [ gtk3 gnome3.vte libnotify keybinder3 ];
propagatedBuildInputs = with python2.pkgs; [ pygobject3 psutil pycairo ];

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub
, meson, ninja, pkgconfig, python3
, gnome3, vala, gobjectIntrospection, wrapGAppsHook
, gnome3, vala, gobject-introspection, wrapGAppsHook
, gtk3, granite
, json-glib, glib, glib-networking
}:
@ -18,7 +18,7 @@ in stdenv.mkDerivation rec {
sha256 = "1z3wyx316nns6gi7vlvcfmalhvxncmvcmmlgclbv6b6hwl5x2ysi";
};
nativeBuildInputs = [ meson ninja pkgconfig python3 vala gobjectIntrospection wrapGAppsHook ];
nativeBuildInputs = [ meson ninja pkgconfig python3 vala gobject-introspection wrapGAppsHook ];
buildInputs = [
gtk3 granite json-glib glib glib-networking
gnome3.libgee gnome3.libsoup gnome3.gsettings-desktop-schemas

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, asciidoc-full, gettext
, gobjectIntrospection, gtk3, hicolor-icon-theme, libappindicator-gtk3, libnotify, librsvg
, gobject-introspection, gtk3, hicolor-icon-theme, libappindicator-gtk3, libnotify, librsvg
, udisks2, wrapGAppsHook
, buildPythonApplication
, docopt
@ -26,7 +26,7 @@ buildPythonApplication rec {
];
propagatedBuildInputs = [
gettext gobjectIntrospection gtk3 libnotify docopt
gettext gobject-introspection gtk3 libnotify docopt
pygobject3 pyyaml udisks2 libappindicator-gtk3
];

View File

@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, wrapGAppsHook
, autoconf, autoconf-archive, automake, gettext, intltool, libtool, pkgconfig
, libICE, libSM, libXScrnSaver, libXtst, cheetah
, gobjectIntrospection, glib, glibmm, gtkmm3, atk, pango, pangomm, cairo
, gobject-introspection, glib, glibmm, gtkmm3, atk, pango, pangomm, cairo
, cairomm , dbus, dbus-glib, gdome2, gstreamer, gst-plugins-base
, gst-plugins-good, libsigcxx }:
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
libICE libSM libXScrnSaver libXtst cheetah
gobjectIntrospection glib glibmm gtkmm3 atk pango pangomm cairo cairomm
gobject-introspection glib glibmm gtkmm3 atk pango pangomm cairo cairomm
dbus dbus-glib gdome2 gstreamer gst-plugins-base gst-plugins-good libsigcxx
];

View File

@ -1,7 +1,7 @@
{ stdenv, fetchgit, meson, ninja, pkgconfig
, python3, gtk3, libsecret, gst_all_1, webkitgtk
, glib-networking, gtkspell3, hunspell, desktop-file-utils
, gobjectIntrospection, wrapGAppsHook }:
, gobject-introspection, wrapGAppsHook }:
python3.pkgs.buildPythonApplication rec {
name = "eolie-${version}";
@ -19,7 +19,7 @@ python3.pkgs.buildPythonApplication rec {
nativeBuildInputs = [
desktop-file-utils
gobjectIntrospection
gobject-introspection
meson
ninja
pkgconfig

View File

@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
buildInputs = [
gtk3 webkitgtk librsvg libnotify sqlite gsettings-desktop-schemas pcre gnome3.gcr
libxcb libpthreadstubs libXdmcp libxkbcommon epoxy at-spi2-core
(libsoup.override {gnomeSupport = true; valaSupport = true;})
(libsoup.override {gnomeSupport = true;})
] ++ stdenv.lib.optionals zeitgeistSupport [
zeitgeist
];

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, glib, gtk3, json-glib, sqlite, libsoup, gettext, vala_0_40
, meson, ninja, pkgconfig, gnome3, gst_all_1, wrapGAppsHook, gobjectIntrospection
, meson, ninja, pkgconfig, gnome3, gst_all_1, wrapGAppsHook, gobject-introspection
, glib-networking, python3 }:
stdenv.mkDerivation rec {
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
meson ninja vala_0_40 pkgconfig wrapGAppsHook python3
gobjectIntrospection # for setup hook
gobject-introspection # for setup hook
];
buildInputs = [

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, vala, pkgconfig, meson, ninja, python3, granite
, gtk3, gnome3, libsoup, libsecret, gobjectIntrospection, wrapGAppsHook }:
, gtk3, gnome3, libsoup, libsecret, gobject-introspection, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "taxi";
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
gobjectIntrospection
gobject-introspection
meson
ninja
pkgconfig

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub
, vala, cmake, ninja, wrapGAppsHook, pkgconfig, gettext
, gobjectIntrospection, gnome3, glib, gdk_pixbuf, gtk3, glib-networking
, gobject-introspection, gnome3, glib, gdk_pixbuf, gtk3, glib-networking
, xorg, libXdmcp, libxkbcommon
, libnotify, libsoup
, libgcrypt
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
buildInputs = [
qrencode
gobjectIntrospection
gobject-introspection
glib-networking
glib
gnome3.libgee

View File

@ -1,5 +1,5 @@
{ buildPythonApplication, lib, fetchurl, gettext, wrapGAppsHook
, python, gtk3, gobjectIntrospection
, python, gtk3, gobject-introspection
, nbxmpp, pyasn1, pygobject3, gnome3, dbus-python, pillow
, xvfb_run, dbus
, enableJingle ? true, farstream, gstreamer, gst-plugins-base, gst-libav, gst-plugins-ugly
@ -30,7 +30,7 @@ buildPythonApplication rec {
'';
buildInputs = [
gobjectIntrospection gtk3 gnome3.defaultIconTheme
gobject-introspection gtk3 gnome3.defaultIconTheme
] ++ optionals enableJingle [ farstream gstreamer gst-plugins-base gst-libav gst-plugins-ugly ]
++ optional enableSecrets libsecret
++ optional enableSpelling gspell

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchhg, pidgin, glib, json-glib, mercurial, autoreconfHook } :
{ stdenv, fetchFromGitHub, fetchhg, pidgin, glib, json-glib, autoreconfHook }:
let
@ -53,7 +53,7 @@ in stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [pidgin glib json-glib mercurial];
buildInputs = [ pidgin glib json-glib ];
meta = with stdenv.lib; {
inherit (src.meta) homepage;

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, dbus-glib, libxml2, sqlite, telepathy-glib, pkgconfig
, gnome3, makeWrapper, intltool, libxslt, gobjectIntrospection, dbus }:
, gnome3, makeWrapper, intltool, libxslt, gobject-introspection, dbus }:
stdenv.mkDerivation rec {
project = "telepathy-logger";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
makeWrapper pkgconfig intltool libxslt gobjectIntrospection
makeWrapper pkgconfig intltool libxslt gobject-introspection
];
buildInputs = [
dbus-glib libxml2 sqlite telepathy-glib

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, libxslt, glib, libxml2, telepathy-glib, avahi, libsoup
, libuuid, openssl, pcre, sqlite, pkgconfigUpstream }:
, libuuid, openssl, pcre, sqlite, pkgconfig }:
stdenv.mkDerivation rec {
pname = "telepathy-salut";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = [ glib libxml2 telepathy-glib avahi libsoup libuuid openssl
sqlite pcre telepathy-glib.python ];
nativeBuildInputs = [ libxslt pkgconfigUpstream ];
nativeBuildInputs = [ libxslt pkgconfig ];
configureFlags = [ "--disable-avahi-tests" ];

View File

@ -32,11 +32,6 @@ stdenv.mkDerivation rec {
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
checkInputs = [ check ];
checkPhase = ''
runHook preCheck
ctest -VV
runHook postCheck
'';
meta = with stdenv.lib; {
description = "Lightweight Tox client";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gnome3, gmime3, webkitgtk222x
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gnome3, gmime3, webkitgtk
, libsass, notmuch, boost, wrapGAppsHook, glib-networking, protobuf, vim_configurable
, makeWrapper, python3, python3Packages
, vim ? vim_configurable.override {
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ronn pkgconfig wrapGAppsHook ];
buildInputs = [ gnome3.gtkmm gmime3 webkitgtk222x libsass gnome3.libpeas
buildInputs = [ gnome3.gtkmm gmime3 webkitgtk libsass gnome3.libpeas
python3 python3Packages.pygobject3
notmuch boost gnome3.gsettings-desktop-schemas gnome3.defaultIconTheme
glib-networking protobuf ] ++ (if vim == null then [] else [ vim ]);

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, gtk3, gmime, gnutls,
webkitgtk, libesmtp, openssl, libnotify, gtkspell3, gpgme,
libcanberra-gtk3, libsecret, gtksourceview, gobjectIntrospection,
libcanberra-gtk3, libsecret, gtksourceview, gobject-introspection,
hicolor-icon-theme, wrapGAppsHook
}:
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
pkgconfig
intltool
gobjectIntrospection
gobject-introspection
hicolor-icon-theme
wrapGAppsHook
];

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, intltool, python3Packages, wrapGAppsHook
, glib, libxml2, libxslt, sqlite, libsoup , webkitgtk, json-glib, gst_all_1
, libnotify, gtk3, gsettings-desktop-schemas, libpeas, dconf, librsvg
, gobjectIntrospection, glib-networking, hicolor-icon-theme
, gobject-introspection, glib-networking, hicolor-icon-theme
}:
let
@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
glib gtk3 webkitgtk libxml2 libxslt sqlite libsoup gsettings-desktop-schemas
libpeas gsettings-desktop-schemas json-glib dconf gobjectIntrospection
libpeas gsettings-desktop-schemas json-glib dconf gobject-introspection
librsvg glib-networking libnotify hicolor-icon-theme
] ++ (with gst_all_1; [
gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad

View File

@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, fetchpatch, libnotify, librsvg, killall
, gtk3, libappindicator-gtk3, substituteAll, syncthing, wrapGAppsHook
, gnome3, buildPythonApplication, dateutil, pyinotify, pygobject3
, bcrypt, gobjectIntrospection }:
, bcrypt, gobject-introspection }:
buildPythonApplication rec {
version = "0.9.4";
@ -17,7 +17,7 @@ buildPythonApplication rec {
nativeBuildInputs = [
wrapGAppsHook
# For setup hook populating GI_TYPELIB_PATH
gobjectIntrospection
gobject-introspection
];
buildInputs = [

View File

@ -9,7 +9,7 @@
, gnome3
, libxml2
, gettext
, gobjectIntrospection
, gobject-introspection
, appstream-glib
, desktop-file-utils
, magic-wormhole
@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
appstream-glib
desktop-file-utils
gettext
gobjectIntrospection # For setup hook
gobject-introspection # For setup hook
libxml2
meson
ninja

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitLab, vala, python3, pkgconfig, meson, ninja, granite, gtk3
, gnome3, json-glib, libsoup, clutter, clutter-gtk, libchamplain, webkitgtk
, libappindicator, desktop-file-utils, appstream, gobjectIntrospection, wrapGAppsHook }:
, libappindicator, desktop-file-utils, appstream, gobject-introspection, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "meteo";
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
appstream
desktop-file-utils
gobjectIntrospection
gobject-introspection
meson
ninja
pkgconfig

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, fetchpatch, vala_0_40, pkgconfig, meson, ninja, python3, granite, gtk3
, gnome3, desktop-file-utils, json-glib, libsoup, poppler, gobjectIntrospection, wrapGAppsHook }:
, gnome3, desktop-file-utils, json-glib, libsoup, poppler, gobject-introspection, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "aesop";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
desktop-file-utils
gobjectIntrospection
gobject-introspection
meson
ninja
pkgconfig

View File

@ -1,4 +1,4 @@
{ lib, python3Packages, fetchFromGitHub, wrapGAppsHook, gobjectIntrospection
{ lib, python3Packages, fetchFromGitHub, wrapGAppsHook, gobject-introspection
, gnome3, libappindicator-gtk3, libnotify }:
python3Packages.buildPythonApplication rec {
@ -22,7 +22,7 @@ python3Packages.buildPythonApplication rec {
# Note: no dependencies included for Qt GUI because Qt ui is poorly
# maintained—see https://github.com/autokey/autokey/issues/51
buildInputs = [ wrapGAppsHook gobjectIntrospection gnome3.gtksourceview
buildInputs = [ wrapGAppsHook gobject-introspection gnome3.gtksourceview
libappindicator-gtk3 libnotify ];
propagatedBuildInputs = with python3Packages; [

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, fetchpatch, vala_0_40, python3, python2, pkgconfig, libxml2, meson, ninja, gtk3, granite, gnome3
, gobjectIntrospection, sqlite, poppler, poppler_utils, html2text, curl, gnugrep, coreutils, bash, unzip, unar, wrapGAppsHook }:
, gobject-introspection, sqlite, poppler, poppler_utils, html2text, curl, gnugrep, coreutils, bash, unzip, unar, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "bookworm";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
bash
gobjectIntrospection
gobject-introspection
libxml2
meson
ninja

View File

@ -2,6 +2,7 @@
, libgtkhtml, gtkhtml, libgnomeprint, goffice, enchant, gettext, libbonoboui
, intltool, perl, guile, slibGuile, swig, isocodes, bzip2, makeWrapper, libglade
, libgsf, libart_lgpl, perlPackages, aqbanking, gwenhywfar, hicolor-icon-theme
, pcre
}:
/* If you experience GConf errors when running GnuCash on NixOS, see
@ -23,7 +24,7 @@ stdenv.mkDerivation rec {
libgnomeprint goffice enchant gettext intltool perl guile slibGuile
swig isocodes bzip2 makeWrapper libofx libglade libgsf libart_lgpl
perlPackages.DateManip perlPackages.FinanceQuote aqbanking gwenhywfar
hicolor-icon-theme
hicolor-icon-theme pcre
];
propagatedUserEnvPkgs = [ gconf ];

View File

@ -43,6 +43,10 @@ stdenv.mkDerivation rec {
propagatedUserEnvPkgs = [ dconf ];
# glib-2.58 deprecrated g_type_class_add_private
# Should probably be removed next version bump
CXXFLAGS = [ "-Wno-deprecated-declarations" ];
postPatch = ''
patchShebangs .
'';

View File

@ -60,10 +60,12 @@ stdenv.mkDerivation rec {
"$out/share/kmymoney/weboob/kmymoneyweboob.py"
'';
doInstallCheck = true;
doInstallCheck = stdenv.hostPlatform == stdenv.buildPlatform;
installCheckInputs = [ xvfb_run ];
installCheckPhase = ''
QT_PLUGIN_PATH=${lib.escapeShellArg "${qtbase.bin}/${qtbase.qtPluginPrefix}"} \
installCheckPhase = let
pluginPath = "${qtbase.bin}/${qtbase.qtPluginPrefix}";
in lib.optionalString doInstallCheck ''
QT_PLUGIN_PATH=${lib.escapeShellArg pluginPath} \
xvfb-run -s '-screen 0 1024x768x24' make test \
ARGS="-E '(reports-chart-test)'" # Test fails, so exclude it for now.
'';

View File

@ -23,6 +23,9 @@ in stdenv.mkDerivation {
sha256 = "1bhh05kkbnhibldc1fc7kv7bwf8aa1vh4q379syqd3jbas8y521g";
};
# planner-popup-button.c:81:2: error: 'g_type_class_add_private' is deprecated [-Werror=deprecated-declarations]
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
nativeBuildInputs = with gnome2; [
pkgconfig
intltool

View File

@ -6,7 +6,7 @@
, gtk3
, granite
, gnome3
, gobjectIntrospection
, gobject-introspection
, json-glib
, cmake
, ninja
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
ninja
gettext
libxml2
gobjectIntrospection # For setup hook
gobject-introspection # For setup hook
];
buildInputs = [
gnome3.defaultIconTheme # should be `elementary.defaultIconTheme`when elementary attribute set is merged

View File

@ -2,7 +2,7 @@
, python2Packages
, pkgconfig
, librsvg
, gobjectIntrospection
, gobject-introspection
, atk
, gtk3
, gtkspell3
@ -19,7 +19,7 @@ python2Packages.buildPythonApplication rec {
inherit pname version;
sha256 = "43759d22b061a7a392a534d19a045fafd442ce98a0e390ee830127367dcaf4b4";
};
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
nativeBuildInputs = [ pkgconfig gobject-introspection ];
propagatedBuildInputs = with python2Packages; [
chardet
dateutil

View File

@ -18,8 +18,6 @@ stdenv.mkDerivation rec { pname = "EZminc";
"-DEZMINC_BUILD_MRFSEG=TRUE"
"-DEZMINC_BUILD_DD=TRUE" ];
checkPhase = "ctest --output-on-failure ../tests/"; # but ctest doesn't find the tests ...
enableParallelBuilding = true;
meta = with stdenv.lib; {

View File

@ -19,9 +19,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DEBTKS_DIR=${EBTKS}/lib/" ];
checkPhase = "ctest --output-on-failure";
# don't run the tests as they fail at least due to missing program wrappers in this phase ...
postFixup = ''
for p in $out/bin/*; do
wrapProgram $p --prefix PERL5LIB : $PERL5LIB

View File

@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
checkPhase = "ctest";
postInstall = ''
for file in $out/bin/*; do
wrapProgram $file --set ANTSPATH "$out/bin"

View File

@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" "-DEBTKS_DIR=${EBTKS}/lib/" ];
checkPhase = "ctest --output-on-failure"; # but no tests
postFixup = ''
for p in $out/bin/*; do
wrapProgram $p --prefix PERL5LIB : $PERL5LIB

View File

@ -17,8 +17,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/" ];
checkPhase = "ctest --output-on-failure"; # still some weird test failures though
postFixup = ''
for prog in minccomplete minchistory mincpik; do
wrapProgram $out/bin/$prog --prefix PERL5LIB : $PERL5LIB

View File

@ -8,7 +8,7 @@
, cmake
, vala_0_40
, libqalculate
, gobjectIntrospection
, gobject-introspection
, wrapGAppsHook }:
stdenv.mkDerivation rec {
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
wrapGAppsHook
vala_0_40 # should be `elementary.vala` when elementary attribute set is merged
cmake
gobjectIntrospection # for setup-hook
gobject-introspection # for setup-hook
];
buildInputs = [

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, file, which, intltool, gobjectIntrospection,
{ stdenv, fetchurl, file, which, intltool, gobject-introspection,
findutils, xdg_utils, gnome3, pythonPackages, hicolor-icon-theme,
wrapGAppsHook
}:
@ -19,7 +19,7 @@ pythonPackages.buildPythonApplication rec {
file
which
intltool
gobjectIntrospection
gobject-introspection
wrapGAppsHook
];

View File

@ -20,7 +20,7 @@ assert sendEmailSupport -> perlSupport;
assert svnSupport -> perlSupport;
let
version = "2.19.1";
version = "2.19.2";
svn = subversionClient.override { perlBindings = perlSupport; };
in
@ -29,7 +29,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
sha256 = "1dfv43lmdnxz42504jc89sihbv1d4d6kgqcz3c5ji140kfm5cl1l";
sha256 = "1scbggzghkzzfqg4ky3qh7h9w87c3zya4ls5disz7dbx56is7sgw";
};
outputs = [ "out" ] ++ stdenv.lib.optional perlSupport "gitweb";

View File

@ -1,18 +1,18 @@
{ stdenv, fetchurl, itstool, python3Packages, intltool, wrapGAppsHook
, libxml2, gobjectIntrospection, gtk3, gnome3, cairo, file
, libxml2, gobject-introspection, gtk3, gnome3, cairo, file
}:
let
pname = "meld";
version = "3.18.2";
version = "3.18.3";
inherit (python3Packages) python buildPythonApplication pycairo pygobject3;
in buildPythonApplication rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "109px6phfizi2jqrc7d7k7j6nvmanbfp5lykqfrk2sky77sand0r";
sha256 = "0vn1qx60f8113x8wh7f4bflhzir1vx7p0wdfi7nbip6fh8gaf3ln";
};
buildInputs = [
@ -20,7 +20,7 @@ in buildPythonApplication rec {
gnome3.gtksourceview gnome3.gsettings-desktop-schemas pycairo cairo
gnome3.defaultIconTheme gnome3.dconf file
];
propagatedBuildInputs = [ gobjectIntrospection pygobject3 gtk3 ];
propagatedBuildInputs = [ gobject-introspection pygobject3 gtk3 ];
installPhase = ''
mkdir -p "$out/lib/${python.libPrefix}/site-packages"

View File

@ -1,4 +1,4 @@
{ lib, python3Packages, gtk3, gobjectIntrospection, ffmpeg, wrapGAppsHook }:
{ lib, python3Packages, gtk3, gobject-introspection, ffmpeg, wrapGAppsHook }:
with python3Packages;
buildPythonApplication rec {
@ -13,7 +13,7 @@ buildPythonApplication rec {
nativeBuildInputs = [ wrapGAppsHook ];
propagatedBuildInputs = [
PyChromecast bottle pycaption paste html5lib pygobject3 dbus-python
gtk3 gobjectIntrospection
gtk3 gobject-introspection
];
preFixup = ''

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, substituteAll, python3, gst_all_1, wrapGAppsHook, gobjectIntrospection
{ stdenv, fetchurl, substituteAll, python3, gst_all_1, wrapGAppsHook, gobject-introspection
, gtk3, libwnck3, keybinder3, intltool, libcanberra-gtk3, libappindicator-gtk3, libpulseaudio }:
python3.pkgs.buildPythonApplication rec {
@ -11,7 +11,7 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "1qygnrvm6aqixbyivhssp70hs0llxwk7lh3j7idxa2jbkk06hj4f";
};
nativeBuildInputs = [ gobjectIntrospection python3.pkgs.distutils_extra intltool wrapGAppsHook ];
nativeBuildInputs = [ gobject-introspection python3.pkgs.distutils_extra intltool wrapGAppsHook ];
buildInputs = [
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gtk3 libwnck3
keybinder3 libappindicator-gtk3

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, gobjectIntrospection, mpv }:
{ stdenv, fetchFromGitHub, pkgconfig, gobject-introspection, mpv }:
stdenv.mkDerivation rec {
name = "mpv-mpris-${version}.so";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gobjectIntrospection mpv ];
buildInputs = [ gobject-introspection mpv ];
installPhase = ''
cp mpris.so $out

View File

@ -1,25 +1,26 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, python3, wrapGAppsHook
, python3Packages, gst, gtk3
, gobjectIntrospection, librsvg, gnome3, libnotify
{ stdenv, fetchFromGitHub, fetchurl, pkgconfig, intltool, itstool, python3, wrapGAppsHook
, python3Packages, gst_all_1, gtk3
, gobject-introspection, librsvg, gnome3, libnotify
, meson, ninja
}:
let
version = "0.99";
version = "0.999";
# gst-transcoder will eventually be merged with gstreamer (according to
# gst-transcoder 1.8.0 release notes). For now the only user is pitivi so we
# don't bother exposing the package to all of nixpkgs.
gst-transcoder = stdenv.mkDerivation rec {
version = "1.12.2";
version = "1.14.1";
name = "gst-transcoder-${version}";
src = fetchurl {
name = "${name}.tar.gz";
url = "https://github.com/pitivi/gst-transcoder/archive/${version}.tar.gz";
sha256 = "0cnwmrsd321s02ff91m3j27ydj7f8wks0jvmp5admlhka6z7zxm9";
src = fetchFromGitHub {
owner = "pitivi";
repo = "gst-transcoder";
rev = version;
sha256 = "16skiz9akavssii529v9nr8zd54w43livc14khdyzv164djg9q8f";
};
nativeBuildInputs = [ pkgconfig meson ninja gobjectIntrospection python3 ];
buildInputs = with gst; [ gstreamer gst-plugins-base ];
nativeBuildInputs = [ pkgconfig meson ninja gobject-introspection python3 ];
buildInputs = with gst_all_1; [ gstreamer gst-plugins-base ];
};
in python3Packages.buildPythonApplication rec {
@ -27,7 +28,7 @@ in python3Packages.buildPythonApplication rec {
src = fetchurl {
url = "mirror://gnome/sources/pitivi/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0z4gvcr0cvyz2by47f36nqf7x2kfv9wn382w9glhs7l0d7b2zl69";
sha256 = "0mxp2p4gg976fp1vj3rb5rmpl5mqfzncm9vw2719irl32f1qlvyb";
};
format = "other";
@ -46,11 +47,11 @@ in python3Packages.buildPythonApplication rec {
nativeBuildInputs = [ meson ninja pkgconfig intltool itstool python3 wrapGAppsHook ];
buildInputs = [
gobjectIntrospection gtk3 librsvg gnome3.gnome-desktop gnome3.gsound
gobject-introspection gtk3 librsvg gnome3.gnome-desktop gnome3.gsound
gnome3.defaultIconTheme
gnome3.gsettings-desktop-schemas libnotify
gst-transcoder
] ++ (with gst; [
] ++ (with gst_all_1; [
gstreamer gst-editing-services
gst-plugins-base (gst-plugins-good.override { gtkSupport = true; })
gst-plugins-bad gst-plugins-ugly gst-libav gst-validate

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, python3Packages, intltool, file
, wrapGAppsHook, gtk-vnc, vte, avahi, dconf
, gobjectIntrospection, libvirt-glib, system-libvirt
, gobject-introspection, libvirt-glib, system-libvirt
, gsettings-desktop-schemas, glib, libosinfo, gnome3, gtk3
, spiceSupport ? true, spice-gtk ? null
, cpio, e2fsprogs, findutils, gzip
@ -20,7 +20,7 @@ python3Packages.buildPythonApplication rec {
nativeBuildInputs = [
wrapGAppsHook intltool file
gobjectIntrospection # for setup hook populating GI_TYPELIB_PATH
gobject-introspection # for setup hook populating GI_TYPELIB_PATH
];
buildInputs =

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, luaPackages, cairo, librsvg, cmake, imagemagick, pkgconfig, gdk_pixbuf
, xorg, libstartup_notification, libxdg_basedir, libpthreadstubs
, xcb-util-cursor, makeWrapper, pango, gobjectIntrospection, unclutter
, xcb-util-cursor, makeWrapper, pango, gobject-introspection, unclutter
, compton, procps, iproute, coreutils, curl, alsaUtils, findutils, xterm
, which, dbus, nettools, git, asciidoc, doxygen
, xmlto, docbook_xml_dtd_45, docbook_xsl, findXMLCatalogs
@ -30,7 +30,7 @@ with luaPackages; stdenv.mkDerivation rec {
];
propagatedUserEnvPkgs = [ hicolor-icon-theme ];
buildInputs = [ cairo librsvg dbus gdk_pixbuf gobjectIntrospection
buildInputs = [ cairo librsvg dbus gdk_pixbuf gobject-introspection
git lgi libpthreadstubs libstartup_notification
libxdg_basedir lua nettools pango xcb-util-cursor
xorg.libXau xorg.libXdmcp xorg.libxcb xorg.libxshmfence

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, pkgconfig, xproto, libxcb
, autoreconfHook, json-glib, gtk-doc, which
, gobjectIntrospection
, gobject-introspection
}:
stdenv.mkDerivation rec {
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook which pkgconfig ];
buildInputs = [ libxcb json-glib gtk-doc xproto gobjectIntrospection ];
buildInputs = [ libxcb json-glib gtk-doc xproto gobject-introspection ];
preAutoreconf = ''

View File

@ -269,9 +269,8 @@ stdenv.mkDerivation {
## Man page and info support
##
mkdir -p $man/nix-support $info/nix-support
echo ${bintools.man or ""} >> $man/nix-support/propagated-user-env-packages
echo ${bintools.info or ""} >> $info/nix-support/propagated-user-env-packages
ln -s ${bintools.man} $man
ln -s ${bintools.info} $info
''
+ ''

View File

@ -263,9 +263,8 @@ stdenv.mkDerivation {
## Man page and info support
##
mkdir -p $man/nix-support $info/nix-support
printWords ${cc.man or ""} > $man/nix-support/propagated-user-env-packages
printWords ${cc.info or ""} > $info/nix-support/propagated-user-env-packages
ln -s ${cc.man} $man
ln -s ${cc.info} $info
''
+ ''

View File

@ -38,18 +38,19 @@ stdenv.mkDerivation {
fi
export CARGO_HOME=$(mktemp -d cargo-home.XXX)
CARGO_CONFIG=$(mktemp cargo-config.XXXX)
${cargoUpdateHook}
mkdir -p $out
cargo vendor $out | cargo-vendor-normalise > config
cargo vendor $out | cargo-vendor-normalise > $CARGO_CONFIG
# fetchcargo used to never keep the config output by cargo vendor
# and instead hardcode the config in ./fetchcargo-default-config.toml.
# This broke on packages needing git dependencies, so now we keep the config.
# But not to break old cargoSha256, if the previous behavior was enough,
# we don't store the config.
if ! cmp config ${./fetchcargo-default-config.toml} > /dev/null; then
install -Dt $out/.cargo config;
if ! cmp $CARGO_CONFIG ${./fetchcargo-default-config.toml} > /dev/null; then
install -Dt $out/.cargo $CARGO_CONFIG;
fi;
'';

View File

@ -10,7 +10,7 @@ updateSourceDateEpoch() {
local newestFile="${res[1]}"
# Update $SOURCE_DATE_EPOCH if the most recent file we found is newer.
if [ "$time" -gt "$SOURCE_DATE_EPOCH" ]; then
if [ "${time:-0}" -gt "$SOURCE_DATE_EPOCH" ]; then
echo "setting SOURCE_DATE_EPOCH to timestamp $time of file $newestFile"
export SOURCE_DATE_EPOCH="$time"

View File

@ -2,20 +2,26 @@
let
pname = "cantarell-fonts";
version = "0.100";
version = "0.110";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1286rx1z7mrmi6snx957fprpcmd5p00l6drdfpbgf6mqapl6kb81";
sha256 = "19rll0h4xjn83lqm0zc4088y0vkrx1wxg8jz9imvgd8snmfxfm54";
};
nativeBuildInputs = [ meson ninja gettext appstream-glib ];
# ad-hoc fix for https://github.com/NixOS/nixpkgs/issues/50855
# until we fix gettext's envHook
preBuild = ''
export GETTEXTDATADIRS="$GETTEXTDATADIRS_FOR_BUILD"
'';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "12ia41pr0rzjfay6y84asw3nxhyp1scq9zl0w4f6wkqj7vf1qfn1";
outputHash = "052nxmhw2j8yvcj90r8xhjf0mzim8h6syip7winxb28vavj6jnba";
passthru = {
updateScript = gnome3.updateScript {

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, cmake, ninja, vala,
gettext, gobjectIntrospection, at-spi2-core, dbus, epoxy, expect,
gettext, gobject-introspection, at-spi2-core, dbus, epoxy, expect,
gtk3, json-glib, libXdmcp, libgee, libpthreadstubs, librsvg,
libsecret, libtasn1, libxcb, libxkbcommon, p11-kit, pcre, vte, wnck,
deepin-menu, deepin-shortcut-viewer, deepin }:
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
ninja
vala
gettext
gobjectIntrospection # For setup hook
gobject-introspection # For setup hook
];
buildInputs = [

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, pkgconfig, go, gobjectIntrospection,
libgudev, deepin }:
{ stdenv, fetchFromGitHub, pkgconfig, go, gobject-introspection,
libgudev, deepin, fetchurl }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
@ -13,13 +13,21 @@ stdenv.mkDerivation rec {
sha256 = "0grp4ffy3vmlknzmymnxq1spwshff2ylqsw82pj4y2v2fcvnqfvb";
};
patches = [
# fix: dde-api build error with gobject-introspection 1.58+
(fetchurl {
url = https://github.com/linuxdeepin/go-gir-generator/commit/a7ab229201e28d1be727f5021b3588fa4a1acf5f.patch;
sha256 = "13ywalwkjg8wwvd0pvmc2rv1h38airyvimdn9jfb5wis9xm48401";
})
];
nativeBuildInputs = [
pkgconfig
go
];
buildInputs = [
gobjectIntrospection
gobject-introspection
libgudev
];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook, gobjectIntrospection
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook, gobject-introspection
, itstool, libxml2, python3Packages, at-spi2-core
, dbus, intltool, libwnck3 }:
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
pkgconfig wrapGAppsHook itstool intltool
gobjectIntrospection # For setup hook
gobject-introspection # For setup hook
];
buildInputs = [
gtk3 libxml2 python3Packages.python python3Packages.pyatspi

Some files were not shown because too many files have changed in this diff Show More