summary refs log blame commit diff
path: root/pkgs/development/tools/stagit/default.nix
blob: cfbca20256884b1f9dbdcc708407497966a7094f (plain) (tree)
1
2
3
4
5
6
7
8
9
                                   

                         
                   
                    

                  
                                             
                  
                                                                   

    
                                  


                            
                    
                                              
                                                                     

                              
                                                    

    
{ lib, stdenv, libgit2, fetchgit }:

stdenv.mkDerivation rec {
  pname = "stagit";
  version = "0.9.6";

  src = fetchgit {
    url = "git://git.codemadness.org/stagit";
    rev = version;
    sha256 = "sha256-0vkdxtKZv7LyEHKGPrB4uOI2lD74+haelEanq2sOjkE=";
  };

  makeFlags = [ "PREFIX=$(out)" ];

  buildInputs = [ libgit2 ];

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