Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e5c8362c06a4
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 80c908394092
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Mar 25, 2021

  1. Copy the full SHA
    411ee3e View commit details
  2. Copy the full SHA
    80c9083 View commit details
Showing with 49 additions and 11 deletions.
  1. +12 −2 pkgs/development/libraries/libgudev/default.nix
  2. +37 −9 pkgs/development/python-modules/pygobject/3.nix
14 changes: 12 additions & 2 deletions pkgs/development/libraries/libgudev/default.nix
Original file line number Diff line number Diff line change
@@ -21,8 +21,18 @@ stdenv.mkDerivation rec {
sha256 = "094mgjmwgsgqrr1i0vd20ynvlkihvs3vgbmpbrhswjsrdp86j0z5";
};

nativeBuildInputs = [ pkg-config gobject-introspection meson ninja vala ];
buildInputs = [ udev glib ];
nativeBuildInputs = [
pkg-config
gobject-introspection
meson
ninja
vala
];

buildInputs = [
udev
glib
];

mesonFlags = [
# There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway
46 changes: 37 additions & 9 deletions pkgs/development/python-modules/pygobject/3.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
{ lib, stdenv, fetchurl, buildPythonPackage, pkg-config, glib, gobject-introspection,
pycairo, cairo, which, ncurses, meson, ninja, isPy3k, gnome3 }:
{ lib
, stdenv
, fetchurl
, buildPythonPackage
, pkg-config
, glib
, gobject-introspection
, pycairo
, cairo
, which
, ncurses
, meson
, ninja
, isPy3k
, gnome3
}:

buildPythonPackage rec {
pname = "pygobject";
version = "3.40.0";

disabled = ! isPy3k;
outputs = [ "out" "dev" ];

disabled = !isPy3k;

format = "other";

@@ -14,12 +30,24 @@ buildPythonPackage rec {
sha256 = "0pwhxnk92nvnghxi10wgvqyiq3yf09l2ig6cxpr3pa2skyn1zmk7";
};

outputs = [ "out" "dev" ];
nativeBuildInputs = [
pkg-config
meson
ninja
gobject-introspection
];

buildInputs = [
glib
gobject-introspection
] ++ lib.optionals stdenv.isDarwin [
ncurses
];

nativeBuildInputs = [ pkg-config meson ninja gobject-introspection ];
buildInputs = [ glib gobject-introspection ]
++ lib.optionals stdenv.isDarwin [ which ncurses ];
propagatedBuildInputs = [ pycairo cairo ];
propagatedBuildInputs = [
pycairo
cairo
];

passthru = {
updateScript = gnome3.updateScript {
@@ -32,7 +60,7 @@ buildPythonPackage rec {
meta = with lib; {
homepage = "https://pygobject.readthedocs.io/";
description = "Python bindings for Glib";
license = licenses.gpl2;
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.unix;
};