a3d4720129
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
27 lines
667 B
Nix
27 lines
667 B
Nix
{ buildGoPackage, fetchFromGitHub, lib }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "allmark";
|
|
version = "0.10.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "andreaskoch";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-JfNn/e+cSq1pkeXs7A2dMsyhwOnh7x2bwm6dv6NOjLU=";
|
|
};
|
|
|
|
goPackagePath = "github.com/andreaskoch/allmark";
|
|
|
|
postInstall = ''
|
|
mv $out/bin/{cli,allmark}
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A cross-platform markdown web server";
|
|
homepage = "https://allmark.io";
|
|
changelog = "https://github.com/andreaskoch/allmark/-/releases/v${version}";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ urandom ];
|
|
};
|
|
}
|