nixpkgs/pkgs/desktops/gnome-3/devtools/gnome-devel-docs/default.nix
Jan Tojnar 5cc18c4781
gnome3: remove versionBranch attribute
Standard library now contains stdenv.lib.versions.majorMinor,
which does the same.
2018-10-05 02:17:19 +02:00

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;
};
}