mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
dfeet: add updateScript
This commit is contained in:
parent
c7a51a7499
commit
1a4f962c0d
@ -2,14 +2,14 @@
|
|||||||
, python3Packages, wrapGAppsHook, gnome3, libwnck3, gobjectIntrospection }:
|
, python3Packages, wrapGAppsHook, gnome3, libwnck3, gobjectIntrospection }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "${major}.13";
|
pname = "d-feet";
|
||||||
major = "0.3";
|
version = "0.3.13";
|
||||||
in python3Packages.buildPythonApplication rec {
|
in python3Packages.buildPythonApplication rec {
|
||||||
name = "d-feet-${version}";
|
name = "${pname}-${version}";
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/d-feet/${major}/d-feet-${version}.tar.xz";
|
url = "mirror://gnome/sources/d-feet/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||||
sha256 = "1md3lzs55sg04ds69dbginpxqvgg3qnf1lfx3vmsxph6bbd2y6ll";
|
sha256 = "1md3lzs55sg04ds69dbginpxqvgg3qnf1lfx3vmsxph6bbd2y6ll";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -18,6 +18,14 @@ in python3Packages.buildPythonApplication rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [ pygobject3 pep8 ];
|
propagatedBuildInputs = with python3Packages; [ pygobject3 pep8 ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
attrPath = "dfeet";
|
||||||
|
versionPolicy = "none";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "D-Feet is an easy to use D-Bus debugger";
|
description = "D-Feet is an easy to use D-Bus debugger";
|
||||||
|
|
||||||
@ -26,7 +34,7 @@ in python3Packages.buildPythonApplication rec {
|
|||||||
and invoke methods on those interfaces.
|
and invoke methods on those interfaces.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
homepage = https://wiki.gnome.org/action/show/Apps/DFeet;
|
homepage = https://wiki.gnome.org/Apps/DFeet;
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
maintainers = with stdenv.lib.maintainers; [ ktosiek ];
|
maintainers = with stdenv.lib.maintainers; [ ktosiek ];
|
||||||
|
Loading…
Reference in New Issue
Block a user