Merge pull request #96285 from AndersonTorres/upload-viw

viw: init at 20171029
This commit is contained in:
Daniël de Kok 2020-08-26 08:23:36 +02:00 committed by GitHub
commit 8a54067152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation rec {
pname = "viw";
version = "unstable-20171029";
src = fetchFromGitHub {
owner = "lpan";
repo = pname;
rev = "2cf317f6d82a6fa58f284074400297b6dc0f44c2";
sha256 = "0bnkh57v01zay6ggk0rbddaf75i48h8z06xsv33wfbjldclaljp1";
};
buildInputs = [ ncurses ];
makeFlags = [ "CC=cc" ];
checkFlags = [ "test-command" "test-buffer" "test-state" ];
installPhase = ''
install -Dm 755 -t $out/bin viw
install -Dm 644 -t $out/share/doc/${pname} README.md
'';
meta = with stdenv.lib; {
description = "VI Worsened, a fun and light clone of VI";
homepage = "https://github.com/lpan/viw";
license = licenses.gpl3Only;
maintainers = with maintainers; [ AndersonTorres ];
};
}

View File

@ -23428,6 +23428,8 @@ in
inherit (lua52Packages) lpeg;
};
viw = callPackage ../applications/editors/viw { };
virt-viewer = callPackage ../applications/virtualization/virt-viewer { };
virt-top = callPackage ../applications/virtualization/virt-top { };