3
0
Fork 0
forked from mirrors/nixpkgs

ioztat: 1.1.0 -> 2.0.1

* ioztat: 1.1.0 -> 2.0.1 (#162735)

* ioztat: install bin as executable

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
R. RyanTM 2022-03-06 10:36:54 -08:00 committed by GitHub
parent 2eaf09cf6b
commit ccc067fd9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "ioztat";
version = "1.1.0";
version = "2.0.1";
src = fetchFromGitHub {
owner = "jimsalterjrs";
repo = "ioztat";
rev = "v${version}";
sha256 = "wDRcFlXmXTc1J9MQZqILfPp5jUhX6wW4nOnqspIWVjQ=";
sha256 = "sha256-8svMijgVxSuquPFO2Q2HeqGLdMkwhiujS1DSxC/LRRk=";
};
nativeBuildInputs = [ installShellFiles ];
@ -24,12 +24,15 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
mkdir -p $out/bin
cp ioztat $out/bin
runHook preInstall
install -vDt $out/bin -m 0555 ioztat
if [ -f ioztat.8 ]; then
installManPage ioztat.8
fi
runHook postInstall
'';
meta = with lib; {