nixpkgs/pkgs/by-name/ye/yelp-xsl/package.nix
nicoo 2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00

52 lines
1.0 KiB
Nix

{ lib, stdenv
, gettext
, fetchurl
, pkg-config
, itstool
, libxml2
, libxslt
, gnome
}:
stdenv.mkDerivation rec {
pname = "yelp-xsl";
version = "42.1";
src = fetchurl {
url = "mirror://gnome/sources/yelp-xsl/${lib.versions.major version}/yelp-xsl-${version}.tar.xz";
hash = "sha256-I4vhULFlMIDOE5lxMw/TbTomWV4NagQKLAML89IAW80=";
};
nativeBuildInputs = [
pkg-config
gettext
itstool
libxml2
libxslt
];
doCheck = true;
passthru = {
updateScript = gnome.updateScript {
packageName = "yelp-xsl";
};
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/yelp-xsl";
description = "Yelp's universal stylesheets for Mallard and DocBook";
maintainers = teams.gnome.members;
license = with licenses; [
# See https://gitlab.gnome.org/GNOME/yelp-xsl/blob/master/COPYING
# Stylesheets
lgpl2Plus
# Icons, unclear: https://gitlab.gnome.org/GNOME/yelp-xsl/issues/25
gpl2
# highlight.js
bsd3
];
platforms = platforms.unix;
};
}