2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-01-25 03:21:06 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "hdapsd";
|
|
|
|
version = "20141203";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/evgeni/hdapsd/releases/download/${version}/hdapsd-${version}.tar.gz";
|
|
|
|
sha256 = "0ppgrfabd0ivx9hyny3c3rv4rphjyxcdsd5svx5pgfai49mxnl36";
|
|
|
|
};
|
|
|
|
|
|
|
|
postInstall = builtins.readFile ./postInstall.sh;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib;
|
2020-04-24 23:36:52 +00:00
|
|
|
{ description = "Hard Drive Active Protection System Daemon";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "hdapsd";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://hdaps.sf.net/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
};
|
|
|
|
}
|