diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-10-25 01:57:50 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-10-25 01:57:50 +0300 |
commit | 0741650f125d2877d0ab0d9da15d6d3d229f837d (patch) | |
tree | 499f32a421e5d5d035fd22908ec2b73fe62f8e71 /packages | |
parent | 2023-10-21 (diff) |
2023-10-25
Diffstat (limited to 'packages')
-rw-r--r-- | packages/hiccup.nix | 35 |
1 files changed, 35 insertions, 0 deletions
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]; + }; +} |