diff options
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r-- | pkgs/tools/filesystems/glusterfs/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/filesystems/ioztat/default.nix | 55 | ||||
-rw-r--r-- | pkgs/tools/filesystems/lfs/default.nix | 6 | ||||
-rw-r--r-- | pkgs/tools/filesystems/mtdutils/default.nix | 4 |
4 files changed, 62 insertions, 7 deletions
diff --git a/pkgs/tools/filesystems/glusterfs/default.nix b/pkgs/tools/filesystems/glusterfs/default.nix index dab69649fdc..3c1e0c50d61 100644 --- a/pkgs/tools/filesystems/glusterfs/default.nix +++ b/pkgs/tools/filesystems/glusterfs/default.nix @@ -55,13 +55,13 @@ let ]; in stdenv.mkDerivation rec { pname = "glusterfs"; - version = "10.0"; + version = "10.1"; src = fetchFromGitHub { owner = "gluster"; repo = pname; rev = "v${version}"; - sha256 = "sha256-n6HdXs5kLbEI8Gaw2KBtO3i8hhadb+MsshUve/DOYg0="; + sha256 = "sha256-vVFC2kQNneaOwrezPehOX32dpJb88ZhGHBApEXc9MOg="; }; inherit buildInputs propagatedBuildInputs; diff --git a/pkgs/tools/filesystems/ioztat/default.nix b/pkgs/tools/filesystems/ioztat/default.nix new file mode 100644 index 00000000000..e87b96482c6 --- /dev/null +++ b/pkgs/tools/filesystems/ioztat/default.nix @@ -0,0 +1,55 @@ +{ lib +, stdenv +, fetchFromGitHub +, installShellFiles +, python3 +}: + +stdenv.mkDerivation rec { + pname = "ioztat"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "jimsalterjrs"; + repo = "ioztat"; + rev = "v${version}"; + sha256 = "wDRcFlXmXTc1J9MQZqILfPp5jUhX6wW4nOnqspIWVjQ="; + }; + + nativeBuildInputs = [ installShellFiles ]; + buildInputs = [ python3 ]; + + prePatch = '' + patchShebangs . + ''; + + installPhase = '' + mkdir -p $out/bin + cp ioztat $out/bin + + if [ -f ioztat.8 ]; then + installManPage ioztat.8 + fi + ''; + + meta = with lib; { + inherit version; + inherit (src.meta) homepage; + description = "A storage load analysis tool for OpenZFS"; + longDescription = '' + ioztat is a storage load analysis tool for OpenZFS. It provides + iostat-like statistics at an individual dataset/zvol level. + + The statistics offered are read and write operations per second, read and + write throughput per second, and the average size of read and write + operations issued in the current reporting interval. Viewing these + statistics at the individual dataset level allows system administrators + to identify storage "hot spots" in larger multi-tenant + systems -- particularly those with many VMs or containers operating + essentially independent workloads. + ''; + license = licenses.bsd2; + platforms = with platforms; linux ++ freebsd; + maintainers = with maintainers; [ numinit ]; + }; +} diff --git a/pkgs/tools/filesystems/lfs/default.nix b/pkgs/tools/filesystems/lfs/default.nix index 4cfd728b969..d7cac06b5bd 100644 --- a/pkgs/tools/filesystems/lfs/default.nix +++ b/pkgs/tools/filesystems/lfs/default.nix @@ -5,16 +5,16 @@ rustPlatform.buildRustPackage rec { pname = "lfs"; - version = "1.4.0"; + version = "2.0.1"; src = fetchFromGitHub { owner = "Canop"; repo = pname; rev = "v${version}"; - sha256 = "sha256-mTgJ2DbSQprKKy7wTMXwmUAvHS9tacs9Nk1cmEJW9Sg="; + sha256 = "sha256-UGeIY/wms4QxIzt+ctclUStuNNV6Hm3A4Wu+LfaKgbw="; }; - cargoSha256 = "sha256-Oiiz7I2eCtNMauvr0K2NtB49NJ/6XWVsJ0mMyEgFb7U="; + cargoSha256 = "sha256-c4rT6Y7XsmNrCtASkt6KWGTwGXwTM2berfdmSC61Z7s="; meta = with lib; { description = "Get information on your mounted disks"; diff --git a/pkgs/tools/filesystems/mtdutils/default.nix b/pkgs/tools/filesystems/mtdutils/default.nix index 2e58018bf18..1a6ca5f8700 100644 --- a/pkgs/tools/filesystems/mtdutils/default.nix +++ b/pkgs/tools/filesystems/mtdutils/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { pname = "mtd-utils"; - version = "2.1.3"; + version = "2.1.4"; src = fetchgit { url = "git://git.infradead.org/mtd-utils.git"; rev = "v${version}"; - sha256 = "sha256-w20Zp1G0WbNvEJwqpLw2f8VvmW8ZBEL0GSHze8qpPWg"; + sha256 = "sha256-lnvG2aJiihOyScmWZu0i8OYowmIMRBkgC3j67sdLkT4="; }; nativeBuildInputs = [ autoreconfHook pkg-config ] ++ lib.optional doCheck cmocka; |