mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
allmark: migrate to buildGoModule
This commit is contained in:
parent
589c316627
commit
f27bd6fd0a
@ -1,6 +1,10 @@
|
||||
{ buildGoPackage, fetchFromGitHub, lib }:
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "allmark";
|
||||
version = "0.10.0";
|
||||
|
||||
@ -11,18 +15,25 @@ buildGoPackage rec {
|
||||
hash = "sha256-JfNn/e+cSq1pkeXs7A2dMsyhwOnh7x2bwm6dv6NOjLU=";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/andreaskoch/allmark";
|
||||
postPatch = ''
|
||||
go mod init github.com/andreaskoch/allmark
|
||||
'';
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/{cli,allmark}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Cross-platform markdown web server";
|
||||
homepage = "https://github.com/andreaskoch/allmark";
|
||||
changelog = "https://github.com/andreaskoch/allmark/-/releases/v${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ urandom ];
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [
|
||||
luftmensch-luftmensch
|
||||
urandom
|
||||
];
|
||||
mainProgram = "allmark";
|
||||
};
|
||||
}
|
@ -25374,8 +25374,6 @@ with pkgs;
|
||||
|
||||
alerta-server = callPackage ../servers/monitoring/alerta { };
|
||||
|
||||
allmark = callPackage ../servers/allmark { };
|
||||
|
||||
alps = callPackage ../servers/alps { };
|
||||
|
||||
anuko-time-tracker = callPackage ../servers/web-apps/anuko-time-tracker { };
|
||||
|
Loading…
Reference in New Issue
Block a user