depot/third_party/nixpkgs/pkgs/applications/misc/ghosttohugo/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

25 lines
571 B
Nix

{ 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 ];
};
}