summary refs log tree commit diff
path: root/pkgs/development/tools/stagit/default.nix
blob: ad23ed7e9dc43475e073ccd4377ef8bd769b9603 (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
{ stdenv, libgit2, fetchgit }:

stdenv.mkDerivation rec {
  name = "stagit-${version}";
  version = "0.6";

  src = fetchgit {
    url = git://git.codemadness.org/stagit;
    rev = version;
    sha256 = "1xwjdqkf5akxa66ak7chd9gna89kgbdzjrpx4ch7f770ycp2s5sr";
  };

  makeFlags = "PREFIX=$(out)";

  buildInputs = [ libgit2 ];

  meta = with stdenv.lib; {
    description = "git static site generator";
    homepage = https://git.codemadness.org/stagit/;
    license = licenses.mit;
    platforms = platforms.all;
    maintainers = with maintainers; [ jb55 ];
  };
}