about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/ghosttohugo/default.nix
blob: 5ec5cc6870cae6987fb7c07d6c3971213932b4a2 (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
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "ghosttohugo";
  version = "0.5.3";

  src = fetchFromGitHub {
    owner = "jbarone";
    repo = "ghostToHugo";
    rev = "v${version}";
    hash = "sha256-lYqjwLPvSX9/HaFvSwtkvxbCToTwfDPeVivNfazZwQA=";
  };

  vendorHash = "sha256-/7MsVLVek2nQwf8rVJQywBKiIOCGe72L45CkAElXrMo=";

  meta = with lib; {
    description = "Convert Ghost export to Hugo posts";
    homepage = "https://github.com/jbarone/ghostToHugo";
    license = licenses.mit;
    maintainers = with maintainers; [ clerie ];
    mainProgram = "ghostToHugo";
  };
}