forked from mirrors/nixpkgs
47e8c75a0c
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/di/versions. These checks were done: - built on NixOS - ran ‘/nix/store/8vbvsrd7iwc19w4p86ydkmr9bxb2nnpj-di-4.46/bin/mi -h’ got 0 exit code - ran ‘/nix/store/8vbvsrd7iwc19w4p86ydkmr9bxb2nnpj-di-4.46/bin/mi --help’ got 0 exit code - ran ‘/nix/store/8vbvsrd7iwc19w4p86ydkmr9bxb2nnpj-di-4.46/bin/di -h’ got 0 exit code - ran ‘/nix/store/8vbvsrd7iwc19w4p86ydkmr9bxb2nnpj-di-4.46/bin/di --help’ got 0 exit code - found 4.46 with grep in /nix/store/8vbvsrd7iwc19w4p86ydkmr9bxb2nnpj-di-4.46 - directory tree listing: https://gist.github.com/d35cd075cfb508460c77f21a1cae002e
22 lines
560 B
Nix
22 lines
560 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "di-${version}";
|
|
version = "4.46";
|
|
|
|
src = fetchurl {
|
|
url = "http://gentoo.com/di/${name}.tar.gz";
|
|
sha256 = "0cskiqywiqkw44zdg4q78bjns6jjp1dz5lzdxrhpnpldc6075irw";
|
|
};
|
|
|
|
makeFlags = [ "INSTALL_DIR=$(out)" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Disk information utility; displays everything 'df' does and more";
|
|
homepage = http://www.gentoo.com/di/;
|
|
license = licenses.zlib;
|
|
maintainers = with maintainers; [ manveru ndowens ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|