forked from mirrors/nixpkgs
gnome3.eog: format
* format with nixpkgs-fmt * replace name with pname & version * use pkg-config instead of pkgconfig alias
This commit is contained in:
parent
c69187375f
commit
786d9316ad
|
@ -1,23 +1,65 @@
|
|||
{ fetchurl, stdenv, meson, ninja, gettext, itstool, pkgconfig, libxml2, libjpeg, libpeas, gnome3
|
||||
, gtk3, glib, gsettings-desktop-schemas, adwaita-icon-theme, gnome-desktop, lcms2, gdk-pixbuf, exempi
|
||||
, shared-mime-info, wrapGAppsHook, librsvg, libexif, gobject-introspection, python3 }:
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, meson
|
||||
, ninja
|
||||
, gettext
|
||||
, itstool
|
||||
, pkg-config
|
||||
, libxml2
|
||||
, libjpeg
|
||||
, libpeas
|
||||
, gnome3
|
||||
, gtk3
|
||||
, glib
|
||||
, gsettings-desktop-schemas
|
||||
, adwaita-icon-theme
|
||||
, gnome-desktop
|
||||
, lcms2
|
||||
, gdk-pixbuf
|
||||
, exempi
|
||||
, shared-mime-info
|
||||
, wrapGAppsHook
|
||||
, librsvg
|
||||
, libexif
|
||||
, gobject-introspection
|
||||
, python3
|
||||
}:
|
||||
|
||||
let
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "eog";
|
||||
version = "3.36.3";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1p1lrnsgk5iyw7h02qzax4s74dqqsh5lk85b0qsj7hwx91qm61xp";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gettext itstool wrapGAppsHook libxml2 gobject-introspection python3 ];
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
gettext
|
||||
itstool
|
||||
wrapGAppsHook
|
||||
libxml2
|
||||
gobject-introspection
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libjpeg gtk3 gdk-pixbuf glib libpeas librsvg lcms2 gnome-desktop libexif exempi
|
||||
gsettings-desktop-schemas shared-mime-info adwaita-icon-theme
|
||||
libjpeg
|
||||
gtk3
|
||||
gdk-pixbuf
|
||||
glib
|
||||
libpeas
|
||||
librsvg
|
||||
lcms2
|
||||
gnome-desktop
|
||||
libexif
|
||||
exempi
|
||||
gsettings-desktop-schemas
|
||||
shared-mime-info
|
||||
adwaita-icon-theme
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
|
Loading…
Reference in a new issue