2021-01-17 03:09:27 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, ronn, git, cmocka }:
|
2020-10-02 20:14:39 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "blogc";
|
|
|
|
version = "0.20.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "blogc";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0hx0gpvmv7rd910czafvmcpxabbvfmvdyxk4d1mckmblx8prb807";
|
|
|
|
};
|
|
|
|
|
2021-01-17 03:09:27 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2020-10-02 20:14:39 +02:00
|
|
|
|
|
|
|
buildInputs = [ ronn git cmocka ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-git-receiver"
|
|
|
|
"--enable-make"
|
|
|
|
"--enable-runserver"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-10-02 20:14:39 +02:00
|
|
|
description = "A blog compiler";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
homepage = "https://blogc.rgm.io";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ sikmir ];
|
|
|
|
};
|
|
|
|
}
|