summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/hiccup.nix35
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];
+ };
+}