Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { stdenv, fetchFromGitHub, unzip, nodejs}:
- {
- vim = stdenv.mkDerivation rec {
- pname = "vim";
- version = "1.12.0-patched";
- src = fetchFromGitHub {
- repo = "Vim";
- owner = "stammon";
- rev = "c770bfa261a11744b496e110c0e3a3c5a25240fe";
- sha256 = "0382ds856zsp001sj76g3m01w7mgj5ik7bjc6azm4vlc379nlbc2";
- };
- # sourceRoot = name;
- nativeBuildInputs = [ unzip nodejs];
- buildCommand = ''
- cd $src
- npm ci
- npm run build-package
- pwd
- ls
- unzip -d "$out" $src
- '';
- meta = with stdenv.lib; {
- license = licenses.mit;
- maintainers = [ maintainers.stammon ];
- # platforms = [ "x86_64-linux" ];
- };
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement