nixpkgs/pkgs/os-specific/linux/hdapsd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
590 B
Nix
Raw Normal View History

2021-01-15 14:45:37 +00:00
{ lib, stdenv, fetchurl }:
2022-01-22 17:13:29 +00:00
stdenv.mkDerivation rec {
pname = "hdapsd";
version = "20141203";
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;
2021-01-15 14:45:37 +00:00
meta = with lib;
{ description = "Hard Drive Active Protection System Daemon";
homepage = "http://hdaps.sf.net/";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.ehmry ];
};
2016-02-24 20:43:38 +00:00
}