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>
main
R. RyanTM 2 years ago committed by GitHub
parent 2eaf09cf6b
commit ccc067fd9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      pkgs/tools/filesystems/ioztat/default.nix

@ -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; {

Loading…
Cancel
Save