about summary refs log tree commit diff
path: root/snippets/nix-mode/fetchFromGitHub
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/nix-mode/fetchFromGitHub')
-rw-r--r--snippets/nix-mode/fetchFromGitHub12
1 files changed, 12 insertions, 0 deletions
diff --git a/snippets/nix-mode/fetchFromGitHub b/snippets/nix-mode/fetchFromGitHub
new file mode 100644
index 000000000000..9b9373573048
--- /dev/null
+++ b/snippets/nix-mode/fetchFromGitHub
@@ -0,0 +1,12 @@
+# -*- mode: snippet -*-
+# name: fetchFromGitHub
+# uuid:
+# key: fetchFromGitHub
+# condition: t
+# --
+fetchFromGitHub {
+                owner = "$1";
+                repo = "$2";
+                rev = "$3";
+                sha256 = "0000000000000000000000000000000000000000000000000000";
+}
\ No newline at end of file