2016-02-24 19:24:01 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
let version = "20141203"; in
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2016-02-24 20:43:38 +00:00
|
|
|
name = "hdapsd-"+version;
|
2016-02-24 19:24:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/evgeni/hdapsd/releases/download/${version}/hdapsd-${version}.tar.gz";
|
|
|
|
sha256 = "0ppgrfabd0ivx9hyny3c3rv4rphjyxcdsd5svx5pgfai49mxnl36";
|
|
|
|
};
|
|
|
|
|
2016-02-24 20:43:38 +00:00
|
|
|
postInstall = builtins.readFile ./postInstall.sh;
|
|
|
|
|
2016-02-24 19:24:01 +00:00
|
|
|
meta = with stdenv.lib;
|
|
|
|
{ description = "Hard Drive Active Protection System Daemon";
|
2017-12-05 22:20:11 +00:00
|
|
|
homepage = "http://hdaps.sf.net/";
|
2016-02-24 19:24:01 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
};
|
2016-02-24 20:43:38 +00:00
|
|
|
}
|