tmatrix: 1.1 -> 1.3
- Use installManPage from installShellFiles
This commit is contained in:
parent
acca4bcbe5
commit
e35533bab5
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user