summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/firefoxPlugins/vimperator.nix
blob: dabef3d20b763161ffd6fb1f8e357f9bbacead0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ fetchgit, stdenv, zip }:

stdenv.mkDerivation rec {
  name = "vimperator";
  id = "vimperator@mozdev.org";

  src = fetchgit {
    url = "https://github.com/vimperator/vimperator-labs.git";
    rev = "ba7d8e72516fdc22246748c8183d7bc90f6fb073";
    sha256 = "0drz67qm5hxxzw699rswlpjkg4p2lfipx119pk1nyixrqblcsvq2";
  };

  buildInputs = [ zip ];

  installPhase = ''
    mkdir -p $out/
    cp downloads/vimperator*.xpi $out/${id}.xpi
  '';
}