2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, udev, buildPackages }:
|
2011-07-23 02:29:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-11-28 08:31:40 +00:00
|
|
|
name = "libatasmart-0.19";
|
2011-07-23 02:29:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-11-28 08:31:40 +00:00
|
|
|
url = "http://0pointer.de/public/${name}.tar.xz";
|
|
|
|
sha256 = "138gvgdwk6h4ljrjsr09pxk1nrki4b155hqdzyr8mlk3bwsfmw31";
|
2011-07-23 02:29:51 +01:00
|
|
|
};
|
|
|
|
|
2019-03-20 20:38:09 +00:00
|
|
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ udev ];
|
2011-07-23 02:29:51 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://0pointer.de/blog/projects/being-smart.html";
|
2011-07-23 02:29:51 +01:00
|
|
|
description = "Library for querying ATA SMART status";
|
2018-08-30 20:30:20 +01:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
2011-07-23 02:29:51 +01:00
|
|
|
};
|
|
|
|
}
|