1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 04:48:10 +00:00
nixpkgs/pkgs/development/libraries/appstream-glib/default.nix
R. RyanTM 59b948e672 appstream-glib: 0.7.15 -> 0.7.16
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/appstream-glib/versions
2019-10-06 17:09:02 -07:00

95 lines
1.6 KiB
Nix

{ stdenv
, fetchFromGitHub
, substituteAll
, docbook_xml_dtd_42
, docbook_xsl
, fontconfig
, freetype
, gdk-pixbuf
, gettext
, glib
, gobject-introspection
, gperf
, gtk-doc
, gtk3
, json-glib
, libarchive
, libsoup
, libuuid
, libxslt
, meson
, ninja
, pkgconfig
, pngquant
}:
stdenv.mkDerivation rec {
name = "appstream-glib-0.7.16";
outputs = [ "out" "dev" "man" "installedTests" ];
outputBin = "dev";
src = fetchFromGitHub {
owner = "hughsie";
repo = "appstream-glib";
rev = stdenv.lib.replaceStrings [ "." "-" ] [ "_" "_" ] name;
sha256 = "05x2pmsq18fcpgfvx0y54qdlryy5c9k3sxk6kgank8frkzhgnm9r";
};
nativeBuildInputs = [
docbook_xml_dtd_42
docbook_xsl
gettext
gobject-introspection
gperf
gtk-doc
libxslt
meson
ninja
pkgconfig
];
buildInputs = [
fontconfig
freetype
gdk-pixbuf
glib
gtk3
json-glib
libarchive
libsoup
libuuid
];
propagatedBuildInputs = [
glib
gdk-pixbuf
];
patches = [
(substituteAll {
src = ./paths.patch;
pngquant = "${pngquant}/bin/pngquant";
})
];
mesonFlags = [
"-Drpm=false"
"-Dstemmer=false"
"-Ddep11=false"
];
doCheck = false; # fails at least 1 test
postInstall = ''
moveToOutput "share/installed-tests" "$installedTests"
'';
meta = with stdenv.lib; {
description = "Objects and helper methods to read and write AppStream metadata";
homepage = https://people.freedesktop.org/~hughsient/appstream-glib/;
license = licenses.lgpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ lethalman matthewbauer ];
};
}