summary refs log tree commit diff
path: root/pkgs/os-specific/linux/hdapsd/default.nix
blob: 9f39cb56bf520b2dc0c5f4f2ab5c30c9e40df084 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, fetchurl }:

let version = "20141203"; in
stdenv.mkDerivation rec {
  name = "ldapsd-"+version;

  src = fetchurl {
    url = "https://github.com/evgeni/hdapsd/releases/download/${version}/hdapsd-${version}.tar.gz";
    sha256 = "0ppgrfabd0ivx9hyny3c3rv4rphjyxcdsd5svx5pgfai49mxnl36";
  };

  meta = with stdenv.lib;
    { description = "Hard Drive Active Protection System Daemon";
      hompage = "http://hdaps.sf.net/";
      license = licenses.gpl2;
      platforms = platforms.linux;
      maintainers = [ maintainers.ehmry ];
    };
}