summary refs log tree commit diff
path: root/pkgs/tools/misc/ostree/default.nix
blob: f7d8d1d4e69a4f6e524a5ba20d03b6ab27a47e7b (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
27
28
29
30
31
32
33
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk_doc, gobjectIntrospection
, libgsystem, xz, e2fsprogs, libsoup, gpgme
}:

stdenv.mkDerivation {
  name = "ostree-2015.3";

  meta = with stdenv.lib; {
    description = "Git for operating system binaries";
    homepage    = "http://live.gnome.org/OSTree/";
    license     = licenses.lgpl2Plus;
    platforms   = platforms.linux;
    maintainers = with maintainers; [ iyzsong ];
  };

  src = fetchFromGitHub {
    owner = "GNOME";
    repo = "ostree";
    rev = "v2015.3";
    sha256 = "1n5q0yxwqx4pqiww3yjmqxl5835kknpw1bnwzbpanmyndnnl88dd";
  };

  nativeBuildInputs = [
    autoreconfHook pkgconfig gtk_doc gobjectIntrospection
  ];

  buildInputs = [ libgsystem xz e2fsprogs libsoup gpgme ];

  preAutoreconf = ''
    mkdir m4
    gtkdocize
  '';
}