nixpkgs/pkgs/desktops/gnome-3/core/yelp-xsl/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
866 B
Nix

{ stdenv, intltool, fetchurl, pkgconfig
, itstool, libxml2, libxslt, gnome3 }:
stdenv.mkDerivation rec {
pname = "yelp-xsl";
version = "3.32.1";
src = fetchurl {
url = "mirror://gnome/sources/yelp-xsl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "yelp-xsl"; attrPath = "gnome3.yelp-xsl"; };
};
doCheck = true;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool itstool libxml2 libxslt ];
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Yelp;
description = "Yelp's universal stylesheets for Mallard and DocBook";
maintainers = gnome3.maintainers;
license = [licenses.gpl2 licenses.lgpl2];
platforms = platforms.linux;
};
}