nixpkgs/pkgs/development/libraries/appstream-glib/default.nix

32 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgconfig, gettext, gtk3, intltool, glib
2017-09-03 02:00:20 +02:00
, gtk_doc, autoconf, automake, libtool, libarchive
2015-04-10 17:02:57 +02:00
, gobjectIntrospection, sqlite, libsoup, gcab, attr, acl, docbook_xsl
2017-09-03 02:00:20 +02:00
, libuuid, json_glib, autoconf-archive, meson, gperf, ninja
2015-04-10 17:02:57 +02:00
}:
stdenv.mkDerivation rec {
2017-09-03 02:00:20 +02:00
name = "appstream-glib-0.7.2";
2015-04-10 17:02:57 +02:00
src = fetchFromGitHub {
owner = "hughsie";
repo = "appstream-glib";
rev = stdenv.lib.replaceStrings ["." "-"] ["_" "_"] name;
2017-09-03 02:00:20 +02:00
sha256 = "1jvwfida12d2snc8p9lpbpqzrixw2naaiwfmsrldwkrxsj3i19pl";
2015-04-10 17:02:57 +02:00
};
2017-09-03 02:00:20 +02:00
nativeBuildInputs = [ meson pkgconfig ninja ];
buildInputs = [ glib gtk_doc gettext sqlite libsoup
gcab attr acl docbook_xsl libuuid json_glib
2017-09-03 02:00:20 +02:00
libarchive gobjectIntrospection gperf ];
2017-02-27 14:29:58 +01:00
propagatedBuildInputs = [ gtk3 ];
2017-09-03 02:00:20 +02:00
mesonFlags = [ "-Denable-rpm=false" "-Denable-stemmer=false" "-Denable-dep11=false" ];
2015-04-10 17:02:57 +02:00
meta = with stdenv.lib; {
description = "Objects and helper methods to read and write AppStream metadata";
homepage = https://github.com/hughsie/appstream-glib;
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ lethalman matthewbauer ];
2015-04-10 17:02:57 +02:00
};
}