about summary refs log tree commit diff
path: root/pkgs/applications/misc/ghosttohugo/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/ghosttohugo/default.nix')
-rw-r--r--pkgs/applications/misc/ghosttohugo/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/misc/ghosttohugo/default.nix b/pkgs/applications/misc/ghosttohugo/default.nix
new file mode 100644
index 0000000000000..29091a8447c23
--- /dev/null
+++ b/pkgs/applications/misc/ghosttohugo/default.nix
@@ -0,0 +1,25 @@
+{ 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 ];
+  };
+}