mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
dd9fa84766
The website listed on github.com currently returns a 401, so probably best to just use the repo as the landing page.
28 lines
687 B
Nix
28 lines
687 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://github.com/andreaskoch/allmark";
|
|
changelog = "https://github.com/andreaskoch/allmark/-/releases/v${version}";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ urandom ];
|
|
};
|
|
}
|