8 boost' = boost.override {
12 stdenv.mkDerivation (finalAttrs: {
13 pname = "autodock-vina";
16 src = fetchFromGitHub {
17 owner = "ccsb-scripps";
18 repo = "autodock-vina";
19 rev = "refs/tags/v${finalAttrs.version}";
20 hash = "sha256-yguUMEX0tn75wKrPKyqlCYbBFaEwC5b1s3k9xept1Fw=";
23 sourceRoot = "${finalAttrs.src.name}/build/${
24 if stdenv.hostPlatform.isDarwin then "mac"
30 ] ++ lib.optionals stdenv.hostPlatform.isLinux [
35 "GPP=${stdenv.cc.targetPrefix}c++"
37 "BOOST_INCLUDE=${lib.getDev boost'}/include"
43 install -Dm755 vina vina_split -t $out/bin/
49 description = "One of the fastest and most widely used open-source docking engines";
50 homepage = "https://vina.scripps.edu/";
51 changelog = "https://github.com/ccsb-scripps/AutoDock-Vina/releases/tag/v${finalAttrs.version}";
52 license = licenses.asl20;
53 maintainers = with maintainers; [ natsukium ];
54 platforms = platforms.unix;