summary refs log tree commit diff
path: root/pkgs/development/tools/stagit/default.nix
blob: 8f4ee7ce6e53ccee64b4b68b7323770a1e9ebf24 (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 {
  pname = "stagit";
  version = "0.9.1";

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

  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 ];
  };
}