zenity: clean up
* format with nixpkgs-fmt * drop unneeded dependencies * gnome-doc-utils → yelp-tools since 3.6.0 * intltool → gettext since 3.16.2 * move build-time deps to nativeBuildInputs * add metadata
This commit is contained in:
parent
03423daf02
commit
54a75e9109
@ -1,5 +1,15 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libxml2, libxslt, gnome3, gtk3
|
{ stdenv
|
||||||
, gnome-doc-utils, intltool, libX11, which, itstool, wrapGAppsHook }:
|
, fetchurl
|
||||||
|
, pkgconfig
|
||||||
|
, libxml2
|
||||||
|
, gnome3
|
||||||
|
, gtk3
|
||||||
|
, yelp-tools
|
||||||
|
, gettext
|
||||||
|
, libX11
|
||||||
|
, itstool
|
||||||
|
, wrapGAppsHook
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "zenity";
|
pname = "zenity";
|
||||||
@ -10,13 +20,19 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7";
|
sha256 = "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7";
|
||||||
};
|
};
|
||||||
|
|
||||||
preBuild = ''
|
nativeBuildInputs = [
|
||||||
mkdir -p $out/include
|
pkgconfig
|
||||||
'';
|
gettext
|
||||||
|
yelp-tools
|
||||||
|
itstool
|
||||||
|
libxml2
|
||||||
|
wrapGAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ gtk3 libxml2 libxslt libX11 itstool ];
|
buildInputs = [
|
||||||
|
gtk3
|
||||||
nativeBuildInputs = [ pkgconfig intltool gnome-doc-utils which wrapGAppsHook ];
|
libX11
|
||||||
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
@ -26,6 +42,8 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
description = "Tool to display dialogs from the commandline and shell scripts";
|
||||||
|
homepage = "https://wiki.gnome.org/Projects/Zenity";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = gnome3.maintainers;
|
maintainers = gnome3.maintainers;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user