Skip to content

Commit

Permalink
Merge pull request #67410 from worldofpeace/dfeet-update
Browse files Browse the repository at this point in the history
dfeet: 0.3.14 -> 0.3.15
  • Loading branch information
jtojnar authored Aug 24, 2019
2 parents f179aa1 + 0e1992e commit 107ca87
Showing 1 changed file with 57 additions and 17 deletions.
74 changes: 57 additions & 17 deletions pkgs/development/tools/misc/d-feet/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,64 @@
{ stdenv, pkgconfig, fetchurl, itstool, intltool, libxml2, glib, gtk3
, python3Packages, wrapGAppsHook, gnome3, libwnck3, gobject-introspection }:
{ stdenv
, pkgconfig
, fetchurl
, meson
, ninja
, glib
, gtk3
, python3
, wrapGAppsHook
, gnome3
, libwnck3
, gobject-introspection
, gettext
, itstool
}:

let
python3.pkgs.buildPythonApplication rec {
pname = "d-feet";
version = "0.3.14";
in python3Packages.buildPythonApplication rec {
name = "${pname}-${version}";
version = "0.3.15";

format = "other";

src = fetchurl {
url = "mirror://gnome/sources/d-feet/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f";
url = "mirror://gnome/sources/d-feet/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1cgxgpj546jgpyns6z9nkm5k48lid8s36mvzj8ydkjqws2d19zqz";
};

nativeBuildInputs = [ pkgconfig itstool intltool wrapGAppsHook libxml2 ];
buildInputs = [ glib gtk3 gnome3.adwaita-icon-theme libwnck3 gobject-introspection ];
nativeBuildInputs = [
gettext
gobject-introspection
itstool
meson
ninja
pkgconfig
python3
wrapGAppsHook
];

buildInputs = [
glib
gnome3.adwaita-icon-theme
gtk3
libwnck3
];

propagatedBuildInputs = with python3.pkgs; [
pygobject3
];

mesonFlags = [
"-Dtests=false" # needs dbus
];

propagatedBuildInputs = with python3Packages; [ pygobject3 pep8 ];
# Temporary fix
# See https://github.com/NixOS/nixpkgs/issues/56943
strictDeps = false;

postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
'';

passthru = {
updateScript = gnome3.updateScript {
Expand All @@ -26,17 +68,15 @@ in python3Packages.buildPythonApplication rec {
};
};

meta = {
meta = with stdenv.lib; {
description = "D-Feet is an easy to use D-Bus debugger";

longDescription = ''
D-Feet can be used to inspect D-Bus interfaces of running programs
and invoke methods on those interfaces.
'';

homepage = https://wiki.gnome.org/Apps/DFeet;
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ ktosiek ];
platforms = platforms.linux;
license = licenses.gpl2;
maintainers = with maintainers; [ ktosiek ];
};
}

0 comments on commit 107ca87

Please sign in to comment.