summary refs log tree commit diff
path: root/pkgs/tools/misc/appdata-tools/default.nix
blob: 7ceafe127932bd4c0a531b85c5658369febb202d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchurl, pkgconfig, autoconf, automake, m4
, intltool, glib, libsoup, gdk_pixbuf }:

stdenv.mkDerivation rec {
  version = "0_1_7";
  name = "appdata_tools-${version}";

  src = fetchurl {
    url = "https://github.com/hughsie/appdata-tools/archive/appdata_tools_${version}.tar.gz";
    sha256 = "1bzqg4gy8gqhbk2qjizsm0b78li9mv84fb3d8qwfpxh7c7p360x8";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ autoconf automake m4 intltool glib
                  libsoup gdk_pixbuf ];

  configureScript = "./autogen.sh";

  meta = with stdenv.lib; {
    homepage = https://people.freedesktop.org/~hughsient/appdata;
    description = "CLI designed to validate AppData descriptions for standards compliance and to the style guide";
    platforms = platforms.linux;
    license = licenses.gpl2;
    maintainers = with maintainers; [ lethalman ];
  };
}