3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/smartmontools/default.nix

25 lines
714 B
Nix
Raw Normal View History

{ stdenv, fetchurl,
IOKit ? null , ApplicationServices ? null }:
2012-07-02 09:42:42 +01:00
stdenv.mkDerivation rec {
version = "6.5";
name = "smartmontools-${version}";
src = fetchurl {
url = "mirror://sourceforge/smartmontools/${name}.tar.gz";
sha256 = "1g25r6sx85b5lay5n6sbnqv05qxzj6xsafsp93hnrg1h044bps49";
};
buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [IOKit ApplicationServices];
patches = [ ./smartmontools.patch ];
meta = with stdenv.lib; {
description = "Tools for monitoring the health of hard drives";
homepage = http://smartmontools.sourceforge.net/;
license = licenses.gpl2Plus;
platforms = with platforms; linux ++ darwin;
maintainers = [ maintainers.peti ];
};
}