2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, libgit2, fetchgit }:
|
2017-08-29 08:00:16 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "stagit";
|
2021-01-25 12:04:26 +00:00
|
|
|
version = "0.9.4";
|
2017-08-29 08:00:16 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "git://git.codemadness.org/stagit";
|
2017-08-29 08:00:16 +00:00
|
|
|
rev = version;
|
2021-01-25 12:04:26 +00:00
|
|
|
sha256 = "1n0f2pf4gmqnkx4kfn2c79zx2vk4xkg03h7wvdigijkkbhs7a3pm";
|
2017-08-29 08:00:16 +00:00
|
|
|
};
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2017-08-29 08:00:16 +00:00
|
|
|
|
|
|
|
buildInputs = [ libgit2 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-08-29 08:00:16 +00:00
|
|
|
description = "git static site generator";
|
2021-01-25 12:04:26 +00:00
|
|
|
homepage = "https://git.codemadness.org/stagit/file/README.html";
|
2017-08-29 08:00:16 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ jb55 ];
|
|
|
|
};
|
|
|
|
}
|