yelp-tools: clean up
- Correct license - Update platforms - Format and reorder expression
This commit is contained in:
parent
6f1546e33c
commit
64ea2687a8
|
@ -1,4 +1,12 @@
|
||||||
{ lib, stdenv, fetchurl, libxml2, libxslt, itstool, gnome3, pkg-config }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, libxml2
|
||||||
|
, libxslt
|
||||||
|
, itstool
|
||||||
|
, gnome3
|
||||||
|
, pkg-config
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "yelp-tools";
|
pname = "yelp-tools";
|
||||||
|
@ -9,22 +17,30 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1c045c794sm83rrjan67jmsk20qacrw1m814p4nw85w5xsry8z30";
|
sha256 = "1c045c794sm83rrjan67jmsk20qacrw1m814p4nw85w5xsry8z30";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libxml2
|
||||||
|
libxslt
|
||||||
|
itstool
|
||||||
|
gnome3.yelp-xsl
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
|
||||||
buildInputs = [ libxml2 libxslt itstool gnome3.yelp-xsl ];
|
|
||||||
|
|
||||||
doCheck = true;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://wiki.gnome.org/Apps/Yelp/Tools";
|
homepage = "https://wiki.gnome.org/Apps/Yelp/Tools";
|
||||||
description = "Small programs that help you create, edit, manage, and publish your Mallard or DocBook documentation";
|
description = "Small programs that help you create, edit, manage, and publish your Mallard or DocBook documentation";
|
||||||
maintainers = with maintainers; [ domenkozar ];
|
maintainers = teams.gnome.members ++ (with maintainers; [ domenkozar ]);
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue