Merge pull request #77825 from filalex77/tmatrix-1.3

tmatrix: 1.1 -> 1.3
This commit is contained in:
Matthieu Coudron 2020-01-16 16:07:50 +01:00 committed by GitHub
commit 3804ef880c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,27 @@
{ stdenv, lib, fetchFromGitHub, cmake, ncurses }:
{ stdenv
, lib
, fetchFromGitHub
, cmake
, installShellFiles
, ncurses
}:
stdenv.mkDerivation rec {
pname = "tmatrix";
version = "1.1";
version = "1.3";
src = fetchFromGitHub {
owner = "M4444";
repo = "TMatrix";
rev = "v${version}";
sha256 = "1x9drk3wdsd6vzcypk3x068sqcbgis488s9fhcpsv8xgb496rd6y";
sha256 = "1cvgxmdpdzpl8w4z3sh4g5pbd15rd8s1kcspi9v95yf9rydyy69s";
};
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ cmake installShellFiles ];
buildInputs = [ ncurses ];
postInstall = ''
mkdir -p $out/share/man/man6
install -m 0644 ../tmatrix.6 $out/share/man/man6
installManPage ../tmatrix.6
'';
meta = with lib; {
@ -30,6 +35,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/M4444/TMatrix";
license = licenses.gpl2;
platforms = platforms.all;
maintainers = with maintainers; [ infinisil ];
maintainers = with maintainers; [ infinisil filalex77 ];
};
}