aboutsummaryrefslogtreecommitdiff
path: root/.vim/snippets/package.nix
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2024-01-13 08:02:52 -0500
committertdro <tdro@users.noreply.github.com>2024-01-13 08:02:52 -0500
commit76e5fdb122fd82276f06552df5c12e6af65a8506 (patch)
tree0a5ed0cf1a11520b2e794eef75764928ff46fe03 /.vim/snippets/package.nix
parenta54d720d0e2c81ae2375553418968f70a44be680 (diff)
downloaddotfiles-76e5fdb122fd82276f06552df5c12e6af65a8506.tar.gz
dotfiles-76e5fdb122fd82276f06552df5c12e6af65a8506.tar.bz2
dotfiles-76e5fdb122fd82276f06552df5c12e6af65a8506.zip
.vim/vimrc: Update snippets
Diffstat (limited to '.vim/snippets/package.nix')
-rw-r--r--.vim/snippets/package.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/.vim/snippets/package.nix b/.vim/snippets/package.nix
new file mode 100644
index 0000000..31cb944
--- /dev/null
+++ b/.vim/snippets/package.nix
@@ -0,0 +1,27 @@
+{ lib, stdenv, fetchgit }:
+
+stdenv.mkDerivation rec {
+ pname = "";
+ version = "";
+
+ src = fetchgit {
+ rev = version;
+ url = "";
+ sha256 = "";
+ };
+
+ dontBuild = true;
+
+ installPhase = ''
+ runHook preInstall
+ mkdir "$out"
+ runHook postInstall
+ '';
+
+ meta = {
+ homepage = "";
+ description = "";
+ license = lib.licenses.mit;
+ platforms = lib.platforms.linux;
+ };
+}