depot/third_party/nixpkgs/pkgs/applications/misc/ghosttohugo/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

26 lines
604 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 ];
mainProgram = "ghostToHugo";
};
}