at 23.11-beta 21 lines 590 B view raw
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "hdapsd"; 5 version = "20141203"; 6 7 src = fetchurl { 8 url = "https://github.com/evgeni/hdapsd/releases/download/${version}/hdapsd-${version}.tar.gz"; 9 sha256 = "0ppgrfabd0ivx9hyny3c3rv4rphjyxcdsd5svx5pgfai49mxnl36"; 10 }; 11 12 postInstall = builtins.readFile ./postInstall.sh; 13 14 meta = with lib; 15 { description = "Hard Drive Active Protection System Daemon"; 16 homepage = "http://hdaps.sf.net/"; 17 license = licenses.gpl2; 18 platforms = platforms.linux; 19 maintainers = [ maintainers.ehmry ]; 20 }; 21}