From 0741650f125d2877d0ab0d9da15d6d3d229f837d Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Wed, 25 Oct 2023 01:57:50 +0300 Subject: 2023-10-25 --- packages/hiccup.nix | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 packages/hiccup.nix (limited to 'packages') diff --git a/packages/hiccup.nix b/packages/hiccup.nix new file mode 100644 index 0000000..152a5e9 --- /dev/null +++ b/packages/hiccup.nix @@ -0,0 +1,35 @@ +{ + buildNpmPackage, + fetchFromGitHub, + lib, +}: +buildNpmPackage rec { + pname = "hiccup"; + version = "0.4.3"; + + src = fetchFromGitHub { + owner = "ashwin-pc"; + repo = pname; + rev = "v${version}"; + hash = "sha256-JLuXQ4jZHI9wF1fgnnBPH/TaTHJL/zGCSuKc9hy4e28="; + }; + + npmDepsHash = "sha256-YPj7tzMUh56rJfxOVhye4cK6VS0azA/LiE9DMweGLuw="; + + installPhase = '' + runHook preInstall + + mv build $out + + runHook postInstall + ''; + + CYPRESS_INSTALL_BINARY = "0"; + + meta = with lib; { + description = "A static start page to get to your most important links"; + inherit (finalAttrs.src.meta) homepage; + license = licenses.mit; + maintainers = with maintainers; [azahi]; + }; +} -- cgit 1.4.1