6 pname ? "indi-with-drivers",
7 version ? indilib.version,
12 name = "${pname}-${version}";
14 paths = [ indilib ] ++ extraDrivers;
16 nativeBuildInputs = [ makeBinaryWrapper ];
18 postBuild = lib.optionalString (extraDrivers != [ ]) ''
19 rm $out/bin/indiserver
20 makeBinaryWrapper ${indilib}/bin/indiserver $out/bin/indiserver --set-default INDIPREFIX $out
23 inherit (indilib) meta;