1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/appstream-glib/default.nix

31 lines
1.1 KiB
Nix
Raw Normal View History

2017-10-12 22:37:56 +01:00
{ stdenv, fetchFromGitHub, pkgconfig, gettext, gtk3, glib
, gtk_doc, libarchive, gobjectIntrospection
, sqlite, libsoup, gcab, attr, acl, docbook_xsl
, libuuid, json_glib, meson, gperf, ninja
2015-04-10 16:02:57 +01:00
}:
2017-10-12 22:37:56 +01:00
stdenv.mkDerivation rec {
2017-09-03 01:00:20 +01:00
name = "appstream-glib-0.7.2";
2015-04-10 16:02:57 +01:00
src = fetchFromGitHub {
owner = "hughsie";
repo = "appstream-glib";
rev = stdenv.lib.replaceStrings ["." "-"] ["_" "_"] name;
2017-09-03 01:00:20 +01:00
sha256 = "1jvwfida12d2snc8p9lpbpqzrixw2naaiwfmsrldwkrxsj3i19pl";
2015-04-10 16:02:57 +01:00
};
2017-09-03 01:00:20 +01:00
nativeBuildInputs = [ meson pkgconfig ninja ];
buildInputs = [ glib gtk_doc gettext sqlite libsoup
gcab attr acl docbook_xsl libuuid json_glib
2017-09-03 01:00:20 +01:00
libarchive gobjectIntrospection gperf ];
2017-02-27 13:29:58 +00:00
propagatedBuildInputs = [ gtk3 ];
2017-09-03 01:00:20 +01:00
mesonFlags = [ "-Denable-rpm=false" "-Denable-stemmer=false" "-Denable-dep11=false" ];
2015-04-10 16:02:57 +01: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 16:02:57 +01:00
};
}