mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:48:10 +00:00
b5bfd8a173
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. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 0.7.8 with grep in /nix/store/52vkj80m85n3jhzbqhw5abxdrqqac2yk-appstream-glib-0.7.8 - directory tree listing: https://gist.github.com/c3d5906e2b4ff1a38510f114a6c58819
54 lines
1.4 KiB
Nix
54 lines
1.4 KiB
Nix
{ stdenv, fetchFromGitHub, substituteAll, pkgconfig, gettext, gtk3, glib
|
|
, gtk-doc, libarchive, gobjectIntrospection, libxslt, pngquant
|
|
, sqlite, libsoup, gcab, attr, acl, docbook_xsl, docbook_xml_dtd_42
|
|
, libuuid, json-glib, meson, gperf, ninja
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
name = "appstream-glib-0.7.8";
|
|
|
|
outputs = [ "out" "dev" "man" "installedTests" ];
|
|
outputBin = "dev";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hughsie";
|
|
repo = "appstream-glib";
|
|
rev = stdenv.lib.replaceStrings ["." "-"] ["_" "_"] name;
|
|
sha256 = "10hcl3sl3g8ajg9mssq3g4dbzz0d4b2ybimrcq71cpycqrqhilhx";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson pkgconfig ninja gtk-doc libxslt docbook_xsl docbook_xml_dtd_42
|
|
];
|
|
buildInputs = [
|
|
glib gettext sqlite libsoup
|
|
gcab attr acl libuuid json-glib
|
|
libarchive gobjectIntrospection gperf
|
|
];
|
|
propagatedBuildInputs = [ gtk3 ];
|
|
|
|
patches = [
|
|
(substituteAll {
|
|
src = ./paths.patch;
|
|
pngquant= "${pngquant}/bin/pngquant";
|
|
})
|
|
];
|
|
|
|
mesonFlags = [
|
|
"-Drpm=false"
|
|
"-Dstemmer=false"
|
|
"-Ddep11=false"
|
|
];
|
|
|
|
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.linux;
|
|
maintainers = with maintainers; [ lethalman matthewbauer ];
|
|
};
|
|
}
|