diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-11-30 14:06:02 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-11-30 14:06:02 +0100 |
commit | 147a639fbddf7783d694888dcdaa6938d27a4e22 (patch) | |
tree | 7c18f2446e0c79a27cddcbb880dc3988043e359c /pkgs/vim-plugins/vim-zettel.nix | |
parent | dd27f60b8fc645b2fa773515c9c22be2bd0d1aa3 (diff) | |
download | pnpkgs-147a639fbddf7783d694888dcdaa6938d27a4e22.tar.gz pnpkgs-147a639fbddf7783d694888dcdaa6938d27a4e22.zip |
Add vim-zettel
Diffstat (limited to 'pkgs/vim-plugins/vim-zettel.nix')
-rw-r--r-- | pkgs/vim-plugins/vim-zettel.nix | 20 |
1 files changed, 20 insertions, 0 deletions
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 + ''; +} |