Commit Graph

16 Commits

Author SHA1 Message Date
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Jan Tojnar
5df7471c14
chrome-gnome-shell: Fix missing introspection data
It was crashing with:

    TypeError: gobject `__main__+ChromeGNOMEShell' doesn't support property `application_id'

– that is the constructor of parent class Gio.Application does not recognize the kwarg.

This is typically caused by missing pygobject overrides but I think ones for Gio are built-in into pygobject.

Even weirder, adding just `${gobject-introspection}/lib/girepository-1.0` seems to fix the issue so it might be missing the whole typelib.
But then why does not it fail when importing it?

	from gi.repository import GLib, Gio

For now, I am adding the Gio typelib which should been done from the start but more debugging should be done since weirdness like this can bring more bugs.

Fixes: https://github.com/NixOS/nixpkgs/issues/87740
2020-05-13 17:02:53 +02:00
Jan Tojnar
c8683da483
chrome-gnome-shell: clean up
* format with nixpkgs-fmt
* reorder attributes
* inline version
2020-05-13 16:45:55 +02:00
Jan Tojnar
a04625379a
Merge branch 'master' into staging-next 2020-04-13 18:50:35 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jan Tojnar
15002f1cfd
tree-wide: Switch from gnome3.maintainers to lib.teams.gnome 2020-04-01 14:41:43 +02:00
worldofpeace
b92fc09d46 chrome-gnome-shell: remove firefox note 2019-09-05 23:20:30 -04:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Tor Hedin Brønner
67b97b615c
chrome-gnome-shell: 10 -> 10.1 2019-04-05 12:13:32 +02:00
Jan Tojnar
0f2dc6c209
chrome-gnome-shell: 9 → 10 2018-03-05 04:50:48 +01:00
Jan Tojnar
a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
Rostislav Beneš
062cafab8c
firefox: add option for chrome-gnome-shell native messaging host 2018-01-13 15:22:52 +01:00
Jan Tojnar
38b6d7b60e
nixos/chrome-gnome-shell: init 2018-01-13 15:19:19 +01:00
Jan Tojnar
665a0d2836
chrome-gnome-shell: 7d99523 → 9 2018-01-13 15:17:52 +01:00
Linus Heckemann
b73e3b6095 GNOME: 3.22 -> 3.24
This is a squash commit of the joint work from:

* Jan Tojnar (@jtojnar)
* Linus Heckemann (@lheckemann)
* Ryan Mulligan (@ryantm)
* romildo (@romildo)
* Tom Hunger (@teh)
2017-08-28 15:32:49 +01:00
dyrnade
f1ec6b99c9 native host connector for gnome extensions 2017-03-30 22:49:09 +03:00