From 147a639fbddf7783d694888dcdaa6938d27a4e22 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Mon, 30 Nov 2020 14:06:02 +0100 Subject: Add vim-zettel --- pkgs/vim-plugins/vim-zettel.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pkgs/vim-plugins/vim-zettel.nix (limited to 'pkgs/vim-plugins/vim-zettel.nix') diff --git a/pkgs/vim-plugins/vim-zettel.nix b/pkgs/vim-plugins/vim-zettel.nix new file mode 100644 index 0000000..2130d18 --- /dev/null +++ b/pkgs/vim-plugins/vim-zettel.nix @@ -0,0 +1,20 @@ +{ stdenv, bash, fetchgit }: + +stdenv.mkDerivation { + name = "vim-zettel"; + + src = fetchgit { + url = "https://github.com/michal-h21/vim-zettel"; + rev = "929d90eec62e6f693c2702d2b6f76a93f2f1689d"; + sha256 = "07ma6ylvvyncr24pinvlybygddjdi2r835x7q8c52mnz96dcmz6m"; + }; + + buildPhase = '' + ''; + + installPhase = '' + DEST=$out/share/vim-plugins/vim-zettel + mkdir -p $DEST + cp -r * $DEST + ''; +} -- cgit 1.4.1