3
0
Fork 0
forked from mirrors/nixpkgs

allmark: init at 0.10.0

We are using buildGoPackage, because upstream is not a module: see
andreaskoch/allmark#36.

Fixes #206256
This commit is contained in:
Colin Arnott 2022-12-26 01:40:17 +00:00
parent 2901df4b75
commit 28354ec5d1
No known key found for this signature in database
GPG key ID: 0447A663F7F3E236
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ 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 ];
};
}

View file

@ -23679,6 +23679,8 @@ with pkgs;
alerta-server = callPackage ../servers/monitoring/alerta { };
allmark = callPackage ../servers/allmark {};
alps = callPackage ../servers/alps { };
apache-directory-server = callPackage ../servers/ldap/apache-directory-server {};