83627f9931
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
22 lines
624 B
Nix
22 lines
624 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hdapsd";
|
|
version = "20141203";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/evgeni/hdapsd/releases/download/${version}/hdapsd-${version}.tar.gz";
|
|
sha256 = "0ppgrfabd0ivx9hyny3c3rv4rphjyxcdsd5svx5pgfai49mxnl36";
|
|
};
|
|
|
|
postInstall = builtins.readFile ./postInstall.sh;
|
|
|
|
meta = with lib;
|
|
{ description = "Hard Drive Active Protection System Daemon";
|
|
mainProgram = "hdapsd";
|
|
homepage = "http://hdaps.sf.net/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.ehmry ];
|
|
};
|
|
}
|