depot/third_party/nixpkgs/pkgs/applications/misc/blogc/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

33 lines
737 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, ronn, git, cmocka }:
stdenv.mkDerivation rec {
pname = "blogc";
version = "0.20.0";
src = fetchFromGitHub {
owner = "blogc";
repo = pname;
rev = "v${version}";
sha256 = "0hx0gpvmv7rd910czafvmcpxabbvfmvdyxk4d1mckmblx8prb807";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ ronn git cmocka ];
configureFlags = [
"--enable-git-receiver"
"--enable-make"
"--enable-runserver"
];
doCheck = true;
meta = with lib; {
description = "A blog compiler";
license = licenses.bsd3;
homepage = "https://blogc.rgm.io";
platforms = platforms.unix;
maintainers = with maintainers; [ sikmir ];
};
}