about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/text/markscribe/default.nix
blob: c2ee3a596e9797f5978dc4199a3d0c80fadffe31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "markscribe";
  version = "0.6.0";

  src = fetchFromGitHub {
    owner = "muesli";
    repo = "markscribe";
    rev = "v${version}";
    hash = "sha256-I8WSG9rMqgf2QADQetlYTSUIQH1Iv8cMVw/3uIwEDPc=";
  };

  vendorHash = "sha256-leeP2+W+bnYASls3k0l4jpz1rc1mAkMWUfrY2uBUUdQ=";

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "Your personal markdown scribe with template-engine and Git(Hub) & RSS powers";
    mainProgram = "markscribe";
    homepage = "https://github.com/muesli/markscribe";
    changelog = "https://github.com/muesli/markscribe/releases/tag/${src.rev}";
    license = licenses.mit;
    maintainers = with maintainers; [ figsoda ];
  };
}