mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
Merge pull request #67410 from worldofpeace/dfeet-update
dfeet: 0.3.14 -> 0.3.15
This commit is contained in:
commit
107ca87fb4
@ -1,22 +1,64 @@
|
|||||||
{ stdenv, pkgconfig, fetchurl, itstool, intltool, libxml2, glib, gtk3
|
{ stdenv
|
||||||
, python3Packages, wrapGAppsHook, gnome3, libwnck3, gobject-introspection }:
|
, pkgconfig
|
||||||
|
, fetchurl
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, glib
|
||||||
|
, gtk3
|
||||||
|
, python3
|
||||||
|
, wrapGAppsHook
|
||||||
|
, gnome3
|
||||||
|
, libwnck3
|
||||||
|
, gobject-introspection
|
||||||
|
, gettext
|
||||||
|
, itstool
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "d-feet";
|
pname = "d-feet";
|
||||||
version = "0.3.14";
|
version = "0.3.15";
|
||||||
in python3Packages.buildPythonApplication rec {
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/d-feet/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/d-feet/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1m8lwiwl5jhi0x7y6x5zmd3hjplgvdjrb8a8jg74rvkygslj1p7f";
|
sha256 = "1cgxgpj546jgpyns6z9nkm5k48lid8s36mvzj8ydkjqws2d19zqz";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig itstool intltool wrapGAppsHook libxml2 ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ glib gtk3 gnome3.adwaita-icon-theme libwnck3 gobject-introspection ];
|
gettext
|
||||||
|
gobject-introspection
|
||||||
|
itstool
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkgconfig
|
||||||
|
python3
|
||||||
|
wrapGAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [ pygobject3 pep8 ];
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
gnome3.adwaita-icon-theme
|
||||||
|
gtk3
|
||||||
|
libwnck3
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
pygobject3
|
||||||
|
];
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
"-Dtests=false" # needs dbus
|
||||||
|
];
|
||||||
|
|
||||||
|
# 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 = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
@ -26,17 +68,15 @@ in python3Packages.buildPythonApplication rec {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "D-Feet is an easy to use D-Bus debugger";
|
description = "D-Feet is an easy to use D-Bus debugger";
|
||||||
|
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
D-Feet can be used to inspect D-Bus interfaces of running programs
|
D-Feet can be used to inspect D-Bus interfaces of running programs
|
||||||
and invoke methods on those interfaces.
|
and invoke methods on those interfaces.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
homepage = https://wiki.gnome.org/Apps/DFeet;
|
homepage = https://wiki.gnome.org/Apps/DFeet;
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = platforms.linux;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with stdenv.lib.maintainers; [ ktosiek ];
|
maintainers = with maintainers; [ ktosiek ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user