nixpkgs/pkgs/desktops/gnome-3/misc/gtkhtml/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

28 lines
811 B
Nix

{ stdenv, fetchurl, pkgconfig, gtk3, intltool
, gnome3, enchant, isocodes, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
pname = "gtkhtml";
version = "4.10.0";
src = fetchurl {
url = "mirror://gnome/sources/gtkhtml/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "ca3b6424fb2c7ac5d9cb8fdafb69318fa2e825c9cf6ed17d1e38d9b29e5606c3";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "gtkhtml"; attrPath = "gnome3.gtkhtml"; };
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk3 intltool gnome3.adwaita-icon-theme
gsettings-desktop-schemas ];
propagatedBuildInputs = [ enchant isocodes ];
meta = with stdenv.lib; {
platforms = platforms.linux;
maintainers = gnome3.maintainers;
};
}