mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 21:14:52 +00:00

nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
26 lines
685 B
Nix
26 lines
685 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 = "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 ];
|
|
};
|
|
}
|