nixpkgs/pkgs/desktops/gnome-3/devtools/gnome-devel-docs/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

25 lines
787 B
Nix

{ stdenv, fetchurl, gnome3, intltool, itstool, libxml2 }:
stdenv.mkDerivation rec {
pname = "gnome-devel-docs";
version = "3.32.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-devel-docs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0xqpgf975rws60qxilq635pblbpgwspyykgzxnb4awd9zrs5lbx0";
};
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;
};
}