mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
34 lines
739 B
Nix
34 lines
739 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, 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 pkg-config ];
|
|
|
|
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 ];
|
|
};
|
|
}
|