nixpkgs/pkgs/by-name/bl/blogc/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
777 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
ronn,
git,
cmocka,
}:
2020-10-02 18:14:39 +00:00
stdenv.mkDerivation rec {
pname = "blogc";
2021-01-18 11:27:23 +00:00
version = "0.20.1";
2020-10-02 18:14:39 +00:00
src = fetchFromGitHub {
owner = "blogc";
repo = pname;
rev = "v${version}";
2021-01-18 11:27:23 +00:00
sha256 = "sha256-YAwGgV5Vllz8JlIASbGIkdRzpciQbgPiXl5DjiSEJyE=";
2020-10-02 18:14:39 +00:00
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
2020-10-02 18:14:39 +00:00
buildInputs = [
ronn
git
cmocka
];
configureFlags = [
"--enable-git-receiver"
"--enable-make"
"--enable-runserver"
];
doCheck = true;
meta = with lib; {
2020-10-02 18:14:39 +00:00
description = "Blog compiler";
license = licenses.bsd3;
homepage = "https://blogc.rgm.io";
platforms = platforms.unix;
maintainers = with maintainers; [ sikmir ];
};
}