1 { lib, stdenv, fetchFromGitHub, ncurses }:
3 stdenv.mkDerivation rec {
5 version = "unstable-20171029";
7 src = fetchFromGitHub {
10 rev = "2cf317f6d82a6fa58f284074400297b6dc0f44c2";
11 sha256 = "0bnkh57v01zay6ggk0rbddaf75i48h8z06xsv33wfbjldclaljp1";
14 buildInputs = [ ncurses ];
16 makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
17 checkFlags = [ "test-command" "test-buffer" "test-state" ];
20 install -Dm 755 -t $out/bin viw
21 install -Dm 644 -t $out/share/doc/${pname} README.md
25 description = "VI Worsened, a fun and light clone of VI";
26 homepage = "https://github.com/lpan/viw";
27 license = licenses.gpl3Only;
28 maintainers = with maintainers; [ AndersonTorres ];