From 4a448e76e6a2a06157ec7e63a82f114f2c7cac92 Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 21 Jul 2023 10:39:08 -0400 Subject: [PATCH] markscribe: init at 0.6.0 https://github.com/muesli/markscribe --- pkgs/tools/text/markscribe/default.nix | 28 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/tools/text/markscribe/default.nix diff --git a/pkgs/tools/text/markscribe/default.nix b/pkgs/tools/text/markscribe/default.nix new file mode 100644 index 000000000000..d542fe281107 --- /dev/null +++ b/pkgs/tools/text/markscribe/default.nix @@ -0,0 +1,28 @@ +{ 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"; + homepage = "https://github.com/muesli/markscribe"; + changelog = "https://github.com/muesli/markscribe/releases/tag/${src.rev}"; + license = licenses.mit; + maintainers = with maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c25fca3e3053..e7dbc963d811 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33090,6 +33090,8 @@ with pkgs; electron = electron_9; }; + markscribe = callPackage ../tools/text/markscribe { }; + magnetico = callPackage ../applications/networking/p2p/magnetico { }; mastodon-bot = nodePackages.mastodon-bot;