nixpkgs/pkgs/tools/system/ioping/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
555 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "ioping";
version = "1.1";
src = fetchFromGitHub {
owner = "koct9i";
repo = "ioping";
rev = "v${version}";
sha256 = "0cv2496jplka55yqdcf3ln78r8yggy4lgmgf06l6fbljjrdx7pgq";
};
makeFlags = "PREFIX=$(out)";
meta = with stdenv.lib; {
description = "Disk I/O latency measuring tool";
maintainers = with maintainers; [ raskin ndowens ];
platforms = platforms.unix;
license = licenses.gpl3Plus;
homepage = https://github.com/koct9i/ioping;
};
}