depot/third_party/nixpkgs/pkgs/os-specific/linux/hdapsd/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

22 lines
620 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.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.ehmry ];
};
}