Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dfeet: 0.3.14 -> 0.3.15 #67410

Merged
merged 1 commit into from
Aug 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 ];
};
}