From 2d173a930edb97e5e4e47fc9211298db4673338a Mon Sep 17 00:00:00 2001 From: Olivia Crain Date: Tue, 6 Feb 2024 14:43:12 -0600 Subject: [PATCH] pkgs: add witchhazel-helix --- pkgs/default.nix | 2 ++ pkgs/witchhazel-helix.nix | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/witchhazel-helix.nix diff --git a/pkgs/default.nix b/pkgs/default.nix index a0e7d62..6127c7a 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -7,4 +7,6 @@ { name = "porkbun"; repo = "github.com/caddy-dns/porkbun"; version = "v0.1.4"; } ]; }; + + witchhazel-helix = pkgs.callPackage ./witchhazel-helix.nix {}; } diff --git a/pkgs/witchhazel-helix.nix b/pkgs/witchhazel-helix.nix new file mode 100644 index 0000000..8fc42a9 --- /dev/null +++ b/pkgs/witchhazel-helix.nix @@ -0,0 +1,27 @@ +{ lib +, fetchFromGitHub +, stdenvNoCC +}: +stdenvNoCC.mkDerivation rec { + pname = "witchhazel-helix"; + version = "0-unstable-2024-01-26"; + + src = fetchFromGitHub { + owner = "theacodes"; + repo = "witchhazel"; + rev = "5f4d7d76f0ece83ca1cb8791a852a3e8dc32f728"; + hash = "sha256-k95ZA/6mCqXmEmYfqHg1HRXxCrHo/eO68PBurEq11RA="; + }; + + installPhase = '' + runHook preInstall + mkdir $out + install -Dm644 helix/*.toml $out/ + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://witchhazel.thea.codes/"; + license = licenses.asl20; + }; +} \ No newline at end of file -- knotmirror 0.0.1