5cc18c4781
Standard library now contains stdenv.lib.versions.majorMinor, which does the same.
26 lines
785 B
Nix
26 lines
785 B
Nix
{ stdenv, fetchurl, gnome3, intltool, itstool, libxml2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gnome-devel-docs-${version}";
|
|
version = "3.28.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gnome-devel-docs/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "1py0zyfzpaws41p9iw4645ykfnmm408axfghsmq6gnwgp66vl074";
|
|
};
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript { packageName = "gnome-devel-docs"; attrPath = "gnome3.gnome-devel-docs"; };
|
|
};
|
|
|
|
buildInputs = [ intltool itstool libxml2 ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/GNOME/gnome-devel-docs;
|
|
description = "Developer documentation for GNOME";
|
|
maintainers = gnome3.maintainers;
|
|
license = licenses.fdl12;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|