Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 22 lines 624 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 mainProgram = "hdapsd"; 17 homepage = "http://hdaps.sf.net/"; 18 license = licenses.gpl2Plus; 19 platforms = platforms.linux; 20 maintainers = [ maintainers.ehmry ]; 21 }; 22}