ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
25 lines
687 B
Nix
25 lines
687 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "mark";
|
|
version = "9.1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kovetskiy";
|
|
repo = "mark";
|
|
rev = version;
|
|
sha256 = "sha256-nAgEegtRT4c2wJzVOY41JgM/JVW5xQjRnhXUzjwqxLY=";
|
|
};
|
|
|
|
vendorHash = "sha256-2rEwZffM+RK0baz8m+fXN2NGYskv4zO67cWC4rx+hfI=";
|
|
|
|
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
|
|
|
meta = with lib; {
|
|
description = "A tool for syncing your markdown documentation with Atlassian Confluence pages";
|
|
mainProgram = "mark";
|
|
homepage = "https://github.com/kovetskiy/mark";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ rguevara84 ];
|
|
};
|
|
}
|